diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-01-14 08:57:12 +0100 |
---|---|---|
committer | Zheng Da <zhengda1936@gmail.com> | 2010-01-14 08:57:12 +0100 |
commit | 2333859cb340a77199096aabc452e5645dab1166 (patch) | |
tree | d95a0ce18ad7e347e969a69ee5e50c281a761687 | |
parent | 693bd3602dd8f2f6e540558d9bf6f509008dc0bc (diff) |
Adapt Makefile.
-rw-r--r-- | dde26_test/Makeconf.local | 10 | ||||
-rw-r--r-- | dde26_test/Makefile | 13 |
2 files changed, 16 insertions, 7 deletions
diff --git a/dde26_test/Makeconf.local b/dde26_test/Makeconf.local new file mode 100644 index 00000000..d6594dc7 --- /dev/null +++ b/dde26_test/Makeconf.local @@ -0,0 +1,10 @@ +SYSTEMS = x86-l4v2 +ARCH = x86 +SYSTEM = x86-l4v2 + +DDEKITLIBDIR = /root/hurd/libddekit/ +DDEKITINCDIR = /root/hurd/libddekit/include +DDE26LIBDIR = /root/hurd/libdde_linux26/lib/src +OBJ_BASE = /root/hurd/libdde_linux26/build + +L4LIBDIR = . diff --git a/dde26_test/Makefile b/dde26_test/Makefile index 444a1f2d..a407f741 100644 --- a/dde26_test/Makefile +++ b/dde26_test/Makefile @@ -1,21 +1,20 @@ -PKGDIR ?= ../../.. -L4DIR ?= $(PKGDIR)/../.. +PKGDIR ?= ../libdde_linux26 +L4DIR ?= $(PKGDIR) SYSTEMS = x86-l4v2 DEFAULT_RELOC = 0x00a00000 --include $(PKGDIR_OBJ)/Makeconf +include Makeconf.local -ifeq ($(CONFIG_DDE26_COMMON),y) TARGET = dde26_test -endif SRC_C = main.c -LIBS += -ldde_linux26.o -lddekit -lio -llist_alloc -lparsecmdline +LIBS += -ldde_linux26.o -ldde_linux26_block -ldde_linux26_char -ldde_linux26_net -lddekit +CFLAGS += -g # DDE configuration -include $(PKGDIR)/linux26/Makeconf +include $(L4DIR)/Makeconf include $(L4DIR)/mk/prog.mk |