ifeq ($(OS),linux)
else
LIBS += -lc \
- -liconv
+ -liconv
endif
SEARCH_DIRS = -I ../../include
install: install-bin install-data
install-bin:
- install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
+ifeq ($(DEBUG), yes)
+ mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/bin
+ install -m $(BIN_MODE) -o $(OWNER) $(PROG) $(PREFIX)/usr/bin/$(PROG)
+else
+ mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/bin
+ install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/bin/$(PROG)
+endif
$(MAKE) -C $(DIR_LIBSRC) install
uninstall: uninstall-bin uninstall-data