69 |
69 |
70 $(MK_OBJ_DIRS): |
70 $(MK_OBJ_DIRS): |
71 mkdir -p $@ |
71 mkdir -p $@ |
72 |
72 |
73 $(MAIN_TARGET): preparation $(MAINOBJS) $(DAEMON_STARTOBJ) |
73 $(MAIN_TARGET): preparation $(MAINOBJS) $(DAEMON_STARTOBJ) |
74 $(CXX) -o $(MAIN_TARGET) $(MAINOBJS) $(DAEMON_STARTOBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) |
74 $(CC) -o $(MAIN_TARGET) $(MAINOBJS) $(DAEMON_STARTOBJ) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) |
75 |
75 |
76 $(LIB_WSCFG): $(CONFOBJS) |
76 $(LIB_WSCFG): $(CONFOBJS) |
77 $(CC) $(SHLIB_LDFLAGS) -o $@ $(CONFOBJS) |
77 $(CC) $(SHLIB_LDFLAGS) -o $@ $(CONFOBJS) |
78 |
78 |
79 $(TEST_TARGET): $(TESTOBJS) $(PLUGINS) |
79 $(TEST_TARGET): $(TESTOBJS) $(PLUGINS) |
80 $(CXX) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(TEST_PLUGIN_LDFLAGS) |
80 $(CC) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(TEST_PLUGIN_LDFLAGS) |
81 |
81 |
82 |
82 |
83 $(PLUGINS): $(MAIN_TARGET) FORCE |
83 $(PLUGINS): $(MAIN_TARGET) FORCE |
84 cd plugins/$@/; $(MAKE) all |
84 cd plugins/$@/; $(MAKE) all |
85 |
85 |