X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8b48c5d2e27b7f3d6993ce085f571485c9c612dd..83c4a22d73f9801ced3c29e664e2c000535a0965:/projects/sgauth/Makefile?ds=sidebyside diff --git a/projects/sgauth/Makefile b/projects/sgauth/Makefile index ef649119..c6c733f0 100644 --- a/projects/sgauth/Makefile +++ b/projects/sgauth/Makefile @@ -20,10 +20,11 @@ STGLIBS_LIBS = $(addprefix -L ../../stglibs/,$(addsuffix .lib,$(STGLIBS))) LIBS += $(addprefix -lstg,$(STGLIBS)) $(LIB_THREAD) -ifneq ($(OS),linux) +ifeq ($(OS),linux) +else LIBS += -lintl \ -lc \ - -liconv + -liconv endif SEARCH_DIRS = -I ../../include @@ -59,9 +60,11 @@ install: install-bin install-data install-bin: ifeq ($(DEBUG), yes) - install -D -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/sbin + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG) else - install -D -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/sbin + install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG) endif $(MAKE) -C $(DIR_LIBSRC) install