source: trunk/athena/lib/zephyr/Makefile.in @ 11643

Revision 11643, 1.5 KB checked in by ghudson, 27 years ago (diff)
Move acl directory to sysconfdir/zephyr.
Line 
1SHELL = /bin/sh
2
3prefix=@prefix@
4exec_prefix=@exec_prefix@
5datadir=@datadir@
6sysconfdir=@sysconfdir@
7sbindir=@sbindir@
8
9includedir=${prefix}/include
10mandir=${prefix}/man
11bindir=${exec_prefix}/bin
12libdir=${exec_prefix}/lib
13
14srcdir=@srcdir@
15top_srcdir=@top_srcdir@
16ENSUREDIR=${srcdir}/ensure-dir.sh
17INSTALL=@INSTALL@
18
19SUBDIRS=lib libdyn clients server zhm zwgc
20
21all:
22        for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
23
24check clean:
25        for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
26
27install:
28        ${ENSUREDIR} ${DESTDIR}${prefix} 755
29        ${ENSUREDIR} ${DESTDIR}${exec_prefix} 755
30        ${ENSUREDIR} ${DESTDIR}${bindir} 755
31        ${ENSUREDIR} ${DESTDIR}${libdir} 755
32        ${ENSUREDIR} ${DESTDIR}${datadir} 755
33        ${ENSUREDIR} ${DESTDIR}${datadir}/zephyr 755
34        ${ENSUREDIR} ${DESTDIR}${sysconfdir} 755
35        ${ENSUREDIR} ${DESTDIR}${sysconfdir}/zephyr/acl 755
36        ${ENSUREDIR} ${DESTDIR}${sbindir} 755
37        ${ENSUREDIR} ${DESTDIR}${includedir} 755
38        ${ENSUREDIR} ${DESTDIR}${includedir}/zephyr 755
39        ${ENSUREDIR} ${DESTDIR}${mandir} 755
40        ${ENSUREDIR} ${DESTDIR}${mandir}/man1 755
41        ${ENSUREDIR} ${DESTDIR}${mandir}/man3 755
42        ${ENSUREDIR} ${DESTDIR}${mandir}/man8 755
43        ${INSTALL} -m 644 ${srcdir}/h/zephyr/mit-copyright.h \
44                ${DESTDIR}${includedir}/zephyr
45        ${INSTALL} -m 644 ${srcdir}/h/zephyr/zephyr.h \
46                ${DESTDIR}${includedir}/zephyr
47        ${INSTALL} -m 644 h/zephyr/zephyr_err.h ${DESTDIR}${includedir}/zephyr
48        for i in ${SUBDIRS}; do (cd $$i; ${MAKE} $@) || exit 1; done
49
50.PHONY: all check install clean
51
Note: See TracBrowser for help on using the repository browser.