1 | # $Id: Makefile,v 1.12 2001-06-05 19:08:47 ghudson Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | ATHRETCDIR=/etc/athena |
---|
5 | ATHMANDIR=/usr/athena/man |
---|
6 | |
---|
7 | all: os-checkfiles |
---|
8 | cd os/${OS} && ${MAKE} $@ |
---|
9 | |
---|
10 | os-checkfiles: os-checkfiles.o array.o |
---|
11 | ${CC} ${LDFLAGS} -o $@ os-checkfiles.o array.o |
---|
12 | |
---|
13 | check: |
---|
14 | cd os/${OS} && ${MAKE} $@ |
---|
15 | |
---|
16 | install: |
---|
17 | mkdir -p ${DESTDIR}${ATHRETCDIR} |
---|
18 | mkdir -p ${DESTDIR}${ATHMANDIR}/man8 |
---|
19 | install -c -m 0555 clean_tmp_areas.sh \ |
---|
20 | ${DESTDIR}${ATHRETCDIR}/clean_tmp_areas |
---|
21 | install -c -m 0555 config_afs.sh ${DESTDIR}${ATHRETCDIR}/config_afs |
---|
22 | install -c -m 0555 local-menus.sh ${DESTDIR}${ATHRETCDIR}/local-menus |
---|
23 | install -c -m 0555 local-netscape.sh \ |
---|
24 | ${DESTDIR}${ATHRETCDIR}/local-netscape |
---|
25 | install -c -m 0555 netparams.sh ${DESTDIR}${ATHRETCDIR}/netparams |
---|
26 | install -c -m 0555 reactivate.sh ${DESTDIR}${ATHRETCDIR}/reactivate |
---|
27 | install -c -m 0444 reactivate.8 ${DESTDIR}${ATHMANDIR}/man8 |
---|
28 | install -c -m 0555 save_cluster_info.sh \ |
---|
29 | ${DESTDIR}${ATHRETCDIR}/save_cluster_info |
---|
30 | install -c -m 0444 save_cluster_info.8 ${DESTDIR}${ATHMANDIR}/man8 |
---|
31 | install -c -m 0555 shutdown_notify.sh \ |
---|
32 | ${DESTDIR}${ATHRETCDIR}/shutdown_notify |
---|
33 | install -c -m 0444 syncconf.8 ${DESTDIR}${ATHMANDIR}/man8 |
---|
34 | cd os/${OS} && ${MAKE} $@ |
---|
35 | |
---|
36 | clean: |
---|
37 | rm -f os-checkfiles os-checkfiles.o array.o |
---|
38 | cd os/${OS} && ${MAKE} $@ |
---|
39 | |
---|
40 | distclean: |
---|
41 | cd os/${OS} && ${MAKE} $@ |
---|