]> git.stg.codes - stg.git/blobdiff - projects/sgconf_xml/Makefile
Remove 'stg' prefixes from headers and add it to libraries
[stg.git] / projects / sgconf_xml / Makefile
index 60288877bd731f729920e83d9707ccfd106c54ff..752f05a5f6c4a43a419c499c76f3675481e29bd5 100644 (file)
@@ -9,10 +9,10 @@ PROG = sgconf_xml
 SRCS = ./main.cpp \
        ./parser.cpp
 
-LIBS =  -lconffiles \
-        -lstg_crypto \
-        -lstg_common \
-        -lsrvconf
+LIBS =  -lstgconffiles \
+        -lstgcrypto \
+        -lstgcommon \
+        -lstgsrvconf
 
 LIBS += -lexpat \
        $(LIB_THREAD)
@@ -69,19 +69,11 @@ install-bin:
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
 
-install-data:
-       # Install etc
-       install -m $(DATA_MODE) -o $(OWNER) -D $(ETC_DIR)/sgconf.conf $(PREFIX)/etc/stargazer/sgconf.conf
-
 uninstall: uninstall-bin uninstall-data
 
 uninstall-bin:
        rm -f $(PREFIX)/usr/sbin/$(PROG)
 
-uninstall-data:
-       # Uninstall etc
-       rm -f $(PREFIX)/etc/stargazer/sgconf.conf
-
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)