src/server/Makefile

changeset 385
a1f4cb076d2f
parent 287
a171da778817
child 415
d938228c382e
--- a/src/server/Makefile	Tue Aug 13 22:14:32 2019 +0200
+++ b/src/server/Makefile	Sat Sep 24 16:26:10 2022 +0200
@@ -62,7 +62,7 @@
 OBJ_DIRS = daemon safs ucx util webdav config admin plugins test
 MK_OBJ_DIRS = $(OBJ_DIRS:%=$(OBJ_DIR)server/%)
 
-CFLAGS += -I../
+CFLAGS += -I../ucx/
 LDFLAGS += -lucx
 
 preparation: $(MK_OBJ_DIRS)
@@ -76,8 +76,8 @@
 $(LIB_WSCFG): $(CONFOBJS)
 	$(CC) $(SHLIB_LDFLAGS) -o $@ $(CONFOBJS)
 
-$(TEST_TARGET): $(TESTOBJS)
-	$(CXX) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS)
+$(TEST_TARGET): $(TESTOBJS) $(PLUGINS)
+	$(CXX) -o $(TEST_TARGET) $(TESTOBJS) -L$(BUILD_ROOT)/build/lib $(LDFLAGS) $(TEST_PLUGIN_LDFLAGS)
 
 
 $(PLUGINS): $(MAIN_TARGET) FORCE

mercurial