X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..16d1f76d5dc58c9b0000f86464c3d49a48e2aff4:/projects/sgconf/Makefile diff --git a/projects/sgconf/Makefile b/projects/sgconf/Makefile index f9f0042b..99135556 100644 --- a/projects/sgconf/Makefile +++ b/projects/sgconf/Makefile @@ -9,10 +9,10 @@ PROG = sgconf SRCS = ./main.cpp \ ./common_sg.cpp -STGLIBS = -lconffiles \ - -lstg_common \ - -lstg_crypto \ - -lsrvconf +STGLIBS = -lstgconffiles \ + -lstgcommon \ + -lstgcrypto \ + -lstgsrvconf LIBS += -lexpat \ $(LIB_THREAD) @@ -63,22 +63,17 @@ clean: distclean: clean rm -f ../../Makefile.conf -install: install-bin install-data +install: install-bin install-bin: - mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/sbin install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG) $(MAKE) -C $(DIR_LIBSRC) install -install-data: - -uninstall: uninstall-bin uninstall-data +uninstall: uninstall-bin uninstall-bin: rm -f $(PREFIX)/usr/sbin/$(PROG) -uninstall-data: - ifneq ($(MAKECMDGOALS),distclean) ifneq ($(MAKECMDGOALS),clean)