X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e82ec777fc54a172b8009125a65675080f24ce68..a8690e044055da20e4cf7d7d7e51d182b5e09154:/projects/sgconf_xml/Makefile?ds=sidebyside diff --git a/projects/sgconf_xml/Makefile b/projects/sgconf_xml/Makefile index b7ebca0a..bfb7b214 100644 --- a/projects/sgconf_xml/Makefile +++ b/projects/sgconf_xml/Makefile @@ -22,7 +22,7 @@ LIBS += $(addprefix -lstg,$(STGLIBS)) -lexpat $(LIB_THREAD) ifeq ($(OS),linux) else LIBS += -lc \ - -liconv + -liconv endif SEARCH_DIRS = -I ../../include @@ -66,7 +66,13 @@ distclean: clean install: install-bin install-data install-bin: +ifeq ($(DEBUG), yes) + mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/sbin + install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/sbin/$(PROG) +else + 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 uninstall: uninstall-bin uninstall-data