blob: c7b438c221a10b74c94902f28d89c9ce54073055 (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
SHELL = /bin/sh
prefix=@prefix@
exec_prefix=@exec_prefix@
datadir=@datadir@
sysconfdir=@sysconfdir@
sbindir=@sbindir@
datarootdir=@datarootdir@
includedir=${prefix}/include
mandir=@mandir@
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
srcdir=@srcdir@
top_srcdir=@top_srcdir@
ENSUREDIR=${srcdir}/ensure-dir.sh
INSTALL=@INSTALL@
SUBDIRS=lib clients server zhm zwgc
build:
$(MAKE) all
all check clean:
for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
install:
${ENSUREDIR} ${DESTDIR}${prefix} 755
${ENSUREDIR} ${DESTDIR}${exec_prefix} 755
${ENSUREDIR} ${DESTDIR}${bindir} 755
${ENSUREDIR} ${DESTDIR}${libdir} 755
${ENSUREDIR} ${DESTDIR}${datadir} 755
${ENSUREDIR} ${DESTDIR}${datadir}/zephyr 755
${ENSUREDIR} ${DESTDIR}${sysconfdir} 755
${ENSUREDIR} ${DESTDIR}${sysconfdir}/zephyr/acl 755
${ENSUREDIR} ${DESTDIR}${sbindir} 755
${ENSUREDIR} ${DESTDIR}${includedir} 755
${ENSUREDIR} ${DESTDIR}${includedir}/zephyr 755
${ENSUREDIR} ${DESTDIR}${mandir} 755
${ENSUREDIR} ${DESTDIR}${mandir}/man1 755
${ENSUREDIR} ${DESTDIR}${mandir}/man3 755
${ENSUREDIR} ${DESTDIR}${mandir}/man8 755
${INSTALL} -m 644 ${srcdir}/h/zephyr/mit-copyright.h \
${DESTDIR}${includedir}/zephyr
${INSTALL} -m 644 ${srcdir}/h/zephyr/zephyr.h \
${DESTDIR}${includedir}/zephyr
${INSTALL} -m 644 h/zephyr/zephyr_err.h ${DESTDIR}${includedir}/zephyr
for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
.PHONY: all check install clean
|