Add buildsys
FossilOrigin-Name: 561f525c5562e52d9782f6b4a39c390a2c4ee0552c0ec52cbf5c98f31f9a2957
This commit is contained in:
parent
84a1e60fdb
commit
fafad6f92d
13 changed files with 5376 additions and 0 deletions
35
Makefile
Normal file
35
Makefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
SUBDIRS = src tests
|
||||
DISTCLEAN = aclocal.m4 \
|
||||
autom4te.cache \
|
||||
buildsys.mk \
|
||||
config.h \
|
||||
config.log \
|
||||
config.status \
|
||||
extra.mk
|
||||
|
||||
include buildsys.mk
|
||||
include extra.mk
|
||||
|
||||
tests: src
|
||||
|
||||
install-extra:
|
||||
i=ObjMatrix.oc; \
|
||||
packagesdir="${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)"; \
|
||||
${INSTALL_STATUS}; \
|
||||
if ${MKDIR_P} $$packagesdir && ${INSTALL} -m 644 $$i $$packagesdir/$$i; then \
|
||||
${INSTALL_OK}; \
|
||||
else \
|
||||
${INSTALL_FAILED}; \
|
||||
fi
|
||||
|
||||
uninstall-extra:
|
||||
i=ObjMatrix.oc; \
|
||||
packagesdir="${DESTDIR}$$(${OBJFW_CONFIG} --packages-dir)"; \
|
||||
if test -f $$packagesdir/$$i; then \
|
||||
if rm -f $$packagesdir/$$i; then \
|
||||
${DELETE_OK}; \
|
||||
else \
|
||||
${DELETE_FAILED}; \
|
||||
fi \
|
||||
fi; \
|
||||
rmdir $$packagesdir >/dev/null 2>&1 || true
|
Loading…
Add table
Add a link
Reference in a new issue