diff options
author | Jan Hutter <jhutter@hsr.ch> | 2005-11-23 12:52:43 +0000 |
---|---|---|
committer | Jan Hutter <jhutter@hsr.ch> | 2005-11-23 12:52:43 +0000 |
commit | 543c1db0eae1df7fbe554f7798b545aa771b1545 (patch) | |
tree | 24488ea32d463798604019d0270292bf0a472a0a /Source/charon/Makefile | |
parent | 2ac9fd69fbc8387ed9193f8c92cc0389d0ba4dce (diff) | |
download | strongswan-543c1db0eae1df7fbe554f7798b545aa771b1545.tar.bz2 strongswan-543c1db0eae1df7fbe554f7798b545aa771b1545.tar.xz |
- created new makefiles
Diffstat (limited to 'Source/charon/Makefile')
-rw-r--r-- | Source/charon/Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/Source/charon/Makefile b/Source/charon/Makefile index 8832935d8..0c2240bfe 100644 --- a/Source/charon/Makefile +++ b/Source/charon/Makefile @@ -23,15 +23,21 @@ CFLAGS+= -DLEAK_DETECTIVE -I. # objects is extended by each included Makefile OBJS= -daemon : $(BUILD_DIR)charon +daemon : build_dir $(BUILD_DIR)charon -all : $(BUILD_DIR)charon $(BUILD_DIR)run_tests +all : build_dir $(BUILD_DIR)charon $(BUILD_DIR)run_tests doxygen : - doxygen doxyconfig.DoxyFile + doxygen doxyconfig.DoxyFile -include network/Makefile.network +include $(MAIN_DIR)network/Makefile.network +include $(MAIN_DIR)config/Makefile.config +include $(MAIN_DIR)encoding/Makefile.encoding +include $(MAIN_DIR)queues/Makefile.queues +include $(MAIN_DIR)sa/Makefile.sa +build_dir: + mkdir $(BUILD_DIR) $(BUILD_DIR)daemon.o : daemon.c daemon.h $(CC) $(CFLAGS) -c -o $@ $< @@ -50,11 +56,12 @@ $(BUILD_DIR)charon : $(OBJS) $(BUILD_DIR)daemon.o $(CC) $(CFLAGS) $(OBJS) $(BUILD_DIR)daemon.o -o $@ -include testcases/Makefile.testcases +#include testcases/Makefile.testcases -$(BUILD_DIR)run_tests : $(OBJS) +#$(BUILD_DIR)run_tests : $(OBJS) $(CC) $(CFLAGS) $(OBJS) -o $@ clean : - rm $(OBJS) $(BUILD_DIR)charon
\ No newline at end of file + rm $(OBJS) $(BUILD_DIR)charon $(BUILD_DIR)daemon.o; \ + rmdir $(BUILD_DIR)
\ No newline at end of file |