src/server/Makefile

changeset 92
382bff43c6eb
parent 91
fac51f87def0
child 168
5c752979bfd6
child 175
9823770ba4ee
equal deleted inserted replaced
91:fac51f87def0 92:382bff43c6eb
27 # 27 #
28 28
29 BUILD_ROOT = ../.. 29 BUILD_ROOT = ../..
30 include $(BUILD_ROOT)/config.mk 30 include $(BUILD_ROOT)/config.mk
31 31
32 # LDFLAGS += -lpthread -ldl -lnsl -lm -lxerces-c -lldap
33
34 OBJ_DIR = $(BUILD_ROOT)/build/ 32 OBJ_DIR = $(BUILD_ROOT)/build/
35 33
36 MAIN_TARGET = $(BUILD_ROOT)/build/bin/webservd 34 MAIN_TARGET = $(BUILD_ROOT)/build/bin/webservd
37 35
38 all: preparation $(MAIN_TARGET) $(PLUGINS) 36 all: preparation $(MAIN_TARGET) $(PLUGINS)
39 37
40 #include ucx/objs.mk
41 include util/objs.mk 38 include util/objs.mk
42 include safs/objs.mk 39 include safs/objs.mk
43 include webdav/objs.mk 40 include webdav/objs.mk
44 include daemon/objs.mk 41 include daemon/objs.mk
45 include config/objs.mk 42 include config/objs.mk
55 MAINOBJS = $(UCXOBJS) $(UTILOBJS) $(SAFOBJS) $(DAVOBJS) $(DAEMONOBJS) $(CONFOBJS) $(ADMINOBJS) 52 MAINOBJS = $(UCXOBJS) $(UTILOBJS) $(SAFOBJS) $(DAVOBJS) $(DAEMONOBJS) $(CONFOBJS) $(ADMINOBJS)
56 53
57 OBJ_DIRS = daemon safs ucx util webdav config admin plugins 54 OBJ_DIRS = daemon safs ucx util webdav config admin plugins
58 MK_OBJ_DIRS = $(OBJ_DIRS:%=$(OBJ_DIR)server/%) 55 MK_OBJ_DIRS = $(OBJ_DIRS:%=$(OBJ_DIR)server/%)
59 56
57 CFLAGS += -I../
60 LDFLAGS += -lucx 58 LDFLAGS += -lucx
61 59
62 preparation: $(MK_OBJ_DIRS) 60 preparation: $(MK_OBJ_DIRS)
63 61
64 $(MK_OBJ_DIRS): 62 $(MK_OBJ_DIRS):

mercurial