summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Da <zhengda1936@gmail.com>2010-06-14 22:54:27 +0200
committerZheng Da <zhengda1936@gmail.com>2010-06-14 22:54:27 +0200
commit63dfd78334843070ddd110fc24e30f65c9b4ac6a (patch)
treeef8980b07d8ae571ca69e008121dd3872188b6ea
parent9eeb27d9caa13c2f11a0646d23ad4d6aea1a56e1 (diff)
fix compiling problems in libddekit and libmachdev.
-rw-r--r--libddekit/Makefile12
-rw-r--r--libmachdev/Makefile4
2 files changed, 4 insertions, 12 deletions
diff --git a/libddekit/Makefile b/libddekit/Makefile
index ea64a6f5..a163a0c0 100644
--- a/libddekit/Makefile
+++ b/libddekit/Makefile
@@ -32,15 +32,7 @@ LCLHDRS = include/ddekit/condvar.h include/ddekit/lock.h \
include/ddekit/memory.h include/ddekit/timer.h \
include/dde.h \
config.h list.h util.h
-installhdrs = include/ddekit/condvar.h include/ddekit/lock.h \
- include/ddekit/semaphore.h include/ddekit/debug.h \
- include/ddekit/inline.h include/ddekit/panic.h \
- include/ddekit/thread.h include/ddekit/types.h \
- include/ddekit/pgtab.h include/ddekit/printf.h \
- include/ddekit/pci.h include/ddekit/assert.h \
- include/ddekit/interrupt.h include/ddekit/resources.h \
- include/ddekit/memory.h include/ddekit/timer.h \
- include/dde.h
+installhdrs =
MIGSTUBS = deviceUser.o machUser.o
OBJS = $(sort $(SRCS:.c=.o) $(MIGSTUBS))
@@ -52,4 +44,4 @@ MIGCOMSFLAGS = -prefix dde_
include ../Makeconf
LDFLAGS += -lpciaccess
-CFLAGS += -Iinclude
+CFLAGS += -I$(srcdir)/include
diff --git a/libmachdev/Makefile b/libmachdev/Makefile
index 7475d041..e65a453a 100644
--- a/libmachdev/Makefile
+++ b/libmachdev/Makefile
@@ -24,10 +24,10 @@ SRCS = deviceUser.c machUser.c net.c ds_routines.c queue.c trivfs_server.c \
LCLHDRS = dev_hdr.h device_emul.h ds_routines.h vm_param.h \
util.h queue.h io_req.h if_ether.h machdev.h linux-errno.h \
errno-base.h
-installhdrs = machdev.h device_emul.h
+installhdrs =
HURDLIBS = ports threads trivfs
OBJS = $(SRCS:.c=.o) $(MIGSTUBS)
include ../Makeconf
-CFLAGS += -I../libddekit/include
+CFLAGS += -I$(top_srcdir)/libddekit/include