]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/Makefile
Remove 'stg' prefixes from headers and add it to libraries
[stg.git] / projects / rlm_stg / Makefile
index deaf437e0e85b128ccb2005ec170a4c4a8da882b..da1a57681cd6de3c768ac26f068eaaf231695d87 100644 (file)
@@ -11,8 +11,8 @@ PROG = $(LIB_NAME).so
 SRCS = ./rlm_stg.cpp \
        ./stg_client.cpp
 
-STGLIBS = -lstg_common \
-          -lstg_crypto
+STGLIBS = -lstgcommon \
+          -lstgcrypto
 
 LIBS += $(LIB_THREAD)
 
@@ -53,14 +53,13 @@ distclean: clean
 install: install-bin
 
 install-bin:
-       mkdir -m $(BIN_MODE) -p $(PREFIX)/usr/lib
        install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/lib/$(PROG)
        $(MAKE) -C $(DIR_LIBSRC) install
 
 uninstall: uninstall-bin
 
 uninstall-bin:
-       rm -f $(PREFIX)/usr/sbin/$(PROG)
+       rm -f $(PREFIX)/usr/lib/$(PROG)
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)