From: Dirk Vogt Date: Mon, 7 Mar 2011 13:54:17 +0000 (+0000) Subject: Cleaning up Makefiles (thx antoine) X-Git-Tag: v3.2.0~617 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.html?a=commitdiff_plain;h=97980446a4332f12aa5ce96d34fc3fbcd2daa99a;p=minix.git Cleaning up Makefiles (thx antoine) --- diff --git a/lib/libddekit/build/ddekit/Makefile b/lib/libddekit/build/ddekit/Makefile index 38e8c9a5d..fcf3aae8c 100644 --- a/lib/libddekit/build/ddekit/Makefile +++ b/lib/libddekit/build/ddekit/Makefile @@ -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 diff --git a/lib/libddekit/build/ddekit_usb_client/Makefile b/lib/libddekit/build/ddekit_usb_client/Makefile index b5f94bf75..816983ba4 100644 --- a/lib/libddekit/build/ddekit_usb_client/Makefile +++ b/lib/libddekit/build/ddekit_usb_client/Makefile @@ -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 diff --git a/lib/libddekit/build/ddekit_usb_server/Makefile b/lib/libddekit/build/ddekit_usb_server/Makefile index aaf1d384e..bc41af2a0 100644 --- a/lib/libddekit/build/ddekit_usb_server/Makefile +++ b/lib/libddekit/build/ddekit_usb_server/Makefile @@ -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