]> git.stg.codes - stg.git/blobdiff - projects/rlm_stg/Makefile
Add new unit test - checking fee charging rules
[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
 
 SRCS = ./rlm_stg.cpp \
        ./stg_client.cpp
 
-STGLIBS = -lstg_common \
-          -lstg_crypto
+STGLIBS = -lstgcommon \
+          -lstgcrypto
 
 LIBS += $(LIB_THREAD)
 
 
 LIBS += $(LIB_THREAD)
 
@@ -53,14 +53,13 @@ distclean: clean
 install: install-bin
 
 install-bin:
 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:
        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)
 
 ifneq ($(MAKECMDGOALS),distclean)
 ifneq ($(MAKECMDGOALS),clean)