1
2
3
4
5
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
SUBDIRS = src tests
tests: src
include buildsys.mk
include extra.mk
install-extra:
i=ObjXMPP.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=ObjXMPP.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
|