]> Zhao Yanbai Git Server - minix.git/commitdiff
Cleaning up Makefiles (thx antoine)
authorDirk Vogt <dirk@minix3.org>
Mon, 7 Mar 2011 13:54:17 +0000 (13:54 +0000)
committerDirk Vogt <dirk@minix3.org>
Mon, 7 Mar 2011 13:54:17 +0000 (13:54 +0000)
lib/libddekit/build/ddekit/Makefile
lib/libddekit/build/ddekit_usb_client/Makefile
lib/libddekit/build/ddekit_usb_server/Makefile

index 38e8c9a5d42f6867fb79a62e36128e5ae9dba370..fcf3aae8ca457dde04f5bc8c4ef2fb9460410a03 100644 (file)
@@ -1,11 +1,15 @@
 .if ${COMPILER_TYPE} == "gnu"
+
 LIB=           ddekit
-SRC_DIR = /usr/src/lib/libddekit/src 
+
+SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src 
+
 VPATH = $(SRC_DIR) 
 
 SRCS = pci.c printf.c mem.c pgtab.c dde.c initcall.c thread.c condvar.c lock.c semaphore.c timer.c panic.c irq.c resource.c msg_queue.c
 
-CFLAGS += -Wall 
+CFLAGS +=  -Wall 
+
 .endif
 .include <bsd.lib.mk>
 
index b5f94bf758b6cddb607849d8441ca43c92337917..816983ba4f340f4ee2e0351f0eec516b4335ceb6 100644 (file)
@@ -1,9 +1,14 @@
 .if ${COMPILER_TYPE} == "gnu"
 LIB=           ddekit_usb_client
-SRC_DIR = /usr/src/lib/libddekit/src 
+
+SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src 
+
 VPATH = $(SRC_DIR) 
+
 SRCS = usb_client.c
-CFLAGS += -DDDEBUG=1 -Wall -I../../include
+
+CFLAGS += -Wall 
+
 .endif
 .include <bsd.lib.mk>
 
index aaf1d384e17273f4bf42c363cca06486ea685eac..bc41af2a0b617a65e85118e71036ef9ade0bc27c 100644 (file)
@@ -1,9 +1,9 @@
 .if ${COMPILER_TYPE} == "gnu"
 LIB=           ddekit_usb_server
-SRC_DIR = /usr/src/lib/libddekit/src 
+SRC_DIR = ${MINIXSRCDIR}/lib/libddekit/src 
 VPATH = $(SRC_DIR) 
 SRCS = usb_server.c
-CFLAGS += -DDDEBUG=1 -I../../include -Wall
+CFLAGS += -Wall
 .endif
 .include <bsd.lib.mk>