summaryrefslogtreecommitdiff
path: root/dde_pcnet32/Makefile
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-06-15 17:50:34 +0200
committerZheng Da <zhengda1936@gmail.com>2010-06-15 17:50:34 +0200
commite0c7d9e618426c0cf8764a6ff126af6ea638e0b1 (patch)
treeffebe0df8a6d6f534078bb49675d619ede4a1428 /dde_pcnet32/Makefile
parent9cd3c840876b1f3ea79ab810a5b00d9931749631 (diff)
handle the case hurd is built in a separate dir.
if hurd is built in its source tree, nothing needs to be changed. but if hurd is built in a separate directory, BUILDDIR has to specify the path where hurd is built.
Diffstat (limited to 'dde_pcnet32/Makefile')
-rw-r--r--dde_pcnet32/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/dde_pcnet32/Makefile b/dde_pcnet32/Makefile
index ebbb271e..9543477a 100644
--- a/dde_pcnet32/Makefile
+++ b/dde_pcnet32/Makefile
@@ -1,16 +1,14 @@
PKGDIR ?= ../libdde_linux26
L4DIR ?= $(PKGDIR)
-SYSTEMS = x86-l4v2
-
include Makeconf.local
TARGET = dde_pcnet32
SRC_C = main.c pcnet32.c
-LIBS += ../libmachdev/libmachdev.a -ldde_linux26.o -ldde_linux26_net ../libddekit/libddekit.a -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports -lhurd-slab
-CFLAGS += -g -I/include
+LIBS += $(libmachdev_path) -ldde_linux26.o -ldde_linux26_net $(libddekit_path) -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports $(libslab_path)
+CFLAGS += -g -I$(PKGDIR)/include -I../libmachdev
# DDE configuration
include $(L4DIR)/Makeconf