diff -r 28433f06d5ee -r afd57ce39ec9 src/server/Makefile --- a/src/server/Makefile Mon Jul 01 18:05:13 2013 +0200 +++ b/src/server/Makefile Mon Jul 08 11:10:54 2013 +0200 @@ -35,7 +35,7 @@ MAIN_TARGET = $(BUILD_ROOT)/work/bin/webservd -all: preparation $(MAIN_TARGET) +all: preparation $(MAIN_TARGET) $(PLUGINS) include ucx/objs.mk include util/objs.mk @@ -55,7 +55,7 @@ MAINOBJS = $(UCXOBJS) $(UTILOBJS) $(SAFOBJS) $(DAVOBJS) $(DAEMONOBJS) $(CONFOBJS) $(ADMINOBJS) -OBJ_DIRS = daemon safs ucx util webdav config admin +OBJ_DIRS = daemon safs ucx util webdav config admin plugins MK_OBJ_DIRS = $(OBJ_DIRS:%=$(OBJ_DIR)server/%) MK_OBJ_DIRS += $(BUILD_ROOT)/work/bin @@ -74,6 +74,8 @@ $(CC) -o $@ -c $(CFLAGS) $< +$(PLUGINS): $(MAIN_TARGET) + cd plugins/$@/; $(MAKE) all