]> git.stg.codes - stg.git/blobdiff - projects/sgconf/Makefile
Added handling of "AuthBy" info.
[stg.git] / projects / sgconf / Makefile
index 096991221d761977ddd36c10897a4ff922d8ac55..8117bea60fe7fd2ae3f4e0ae3fbb125ad822ea72 100644 (file)
@@ -7,11 +7,15 @@ include ../../Makefile.conf
 PROG = sgconf
 
 SRCS = ./main.cpp \
 PROG = sgconf
 
 SRCS = ./main.cpp \
-       ./common_sg.cpp
-
-STGLIBS = conffiles \
-          srvconf \
-         crypto \
+       ./options.cpp \
+       ./actions.cpp \
+       ./admins.cpp \
+       ./tariffs.cpp \
+       ./users.cpp \
+       ./xml.cpp
+
+STGLIBS = srvconf \
+          crypto \
           common
 
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
           common
 
 STGLIBS_INCS = $(addprefix -I ../../stglibs/,$(addsuffix .lib/include,$(STGLIBS)))
@@ -22,7 +26,7 @@ LIBS += $(addprefix -lstg,$(STGLIBS)) -lexpat $(LIB_THREAD)
 ifeq ($(OS),linux)
 else
 LIBS += -lc \
 ifeq ($(OS),linux)
 else
 LIBS += -lc \
-       -liconv
+        -liconv
 endif
 
 SEARCH_DIRS = -I ../../include
 endif
 
 SEARCH_DIRS = -I ../../include
@@ -91,7 +95,7 @@ endif
 endif
 endif
 
 endif
 endif
 
-deps:  $(SRCS) ../../Makefile.conf
+deps: $(SRCS) ../../Makefile.conf
        $(MAKE) -C $(DIR_LIBSRC)
        @>deps ;\
        for file in $(SRCS); do\
        $(MAKE) -C $(DIR_LIBSRC)
        @>deps ;\
        for file in $(SRCS); do\