.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>
.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>
.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>