42c0766c00
The list of required external deps is now confuse, libarchive and openssl. libxbps now includes a wrapper for proplib prefixed with xbps_ rather than prop_.
24 lines
477 B
Makefile
24 lines
477 B
Makefile
-include ../config.mk
|
|
|
|
INCS = xbps_api.h
|
|
|
|
.PHONY: all
|
|
all:
|
|
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
|
|
|
|
.PHONY: install
|
|
install:
|
|
install -d $(DESTDIR)$(INCLUDEDIR)/xbps
|
|
install -m 644 $(INCS) $(DESTDIR)$(INCLUDEDIR)
|
|
for f in array bool data dictionary number object string; do \
|
|
install -m 644 xbps/xbps_$${f}.h $(DESTDIR)$(INCLUDEDIR)/xbps; \
|
|
done
|
|
|
|
.PHONY: uninstall
|
|
uninstall:
|
|
-rm -f $(DESTDIR)$(INCLUDEDIR)/$(INCS)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
-rm -f ${INCS}
|