DEBUG=0
DEBUG_TYPECAST=0
+prefix=/usr
+DESTDIR=
+
COPTS=-O2
WOPTS=-pedantic -Wno-unused -Werror
FPIC=-fPIC
CC=gcc
LIBS=-lc
RANLIB=ranlib
+INSTALL=install
ifeq ($(DEBUG),1)
COPTS = -O0
clean:
rm -f uci uci-static *.[oa] *.so* *.dylib* uci_config.h
+install: all
+ $(INSTALL) -m0644 libuci.a $(DESTDIR)$(prefix)/lib/
+ $(INSTALL) -m0755 $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/
+ ln -sf $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/libuci.$(SHLIB_EXT)
+ $(INSTALL) -m0755 uci $(DESTDIR)/usr/bin/
+
FORCE: ;
.PHONY: FORCE