]> andersk Git - moira.git/blame - Imakefile
We're not using -DSYSV for anything now.
[moira.git] / Imakefile
CommitLineData
38cf9640 1# $Header$
2#
3# Copyright 1990 by the Massachusetts Institute of Technology.
4#
5# For copying and distribution information,
6# please see the file <mit-copyright.h>.
7#
8# Imakefile for top level directory.
9#
10
11#define have_subdirs
12CODE=Imakefile
455b7baa 13CLIENTDIRS=util include gdb lib clients man update
c9e14606 14SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape afssync
38cf9640 15#ifdef SVRBUILD
16SUBDIRS=$(CLIENTDIRS) $(SVRDIRS)
17#else
18SUBDIRS=$(CLIENTDIRS)
19#endif
20
30b805f1 21#ifndef USELOCALTOOLS
8ca02394 22all:: et
30b805f1 23#else
38cf9640 24all::
30b805f1 25#endif
38cf9640 26
455b7baa 27#ifndef USELOCALTOOLS
28
38cf9640 29world::
c9cff6fe 30 make ${MFLAGS} imake
38cf9640 31 make ${MFLAGS} Makefile
32 make ${MFLAGS} Makefiles
33 make ${MFLAGS} depend
34 make ${MFLAGS} all
35
455b7baa 36#else /* USELOCALTOOLS */
37
38world::
39 make ${MFLAGS} Makefile
40 make ${MFLAGS} Makefiles
41 make ${MFLAGS} depend
42 make ${MFLAGS} all
43#endif /* USELOCALTOOLS */
44
30b805f1 45imake::
46 cd util/imake; make
455b7baa 47
38cf9640 48install::
49 -mkdir ${DESTDIR}
50 -mkdir ${DESTDIR}${USRDIR}
51 -mkdir ${DESTDIR}${ETCDIR}
52 -mkdir ${DESTDIR}${PROGDIR}
53 -mkdir ${DESTDIR}${LIBDIR}
54 -mkdir ${DESTDIR}${LINTLIBDIR}
55 -mkdir ${DESTDIR}${INCLDIR}
56 -mkdir ${DESTDIR}${MANDIR}
57 -mkdir ${DESTDIR}${MANDIR}/man1
58 -mkdir ${DESTDIR}${MANDIR}/man3
59 -mkdir ${DESTDIR}${MANDIR}/man5
60 -mkdir ${DESTDIR}${MANDIR}/man8
61 -mkdir ./bin
62
3ca43169 63#ifndef USELOCALTOOLS
30b805f1 64depend:: makedepend
455b7baa 65#endif
66
3ca43169 67#ifndef USELOCALLIBS
8ca02394 68depend:: et
455b7baa 69#endif
30b805f1 70
71et:
8ca02394 72 cd util/et; ./configure && make ${MFLAGS} all
30b805f1 73
74makedepend:
75 cd util/makedepend; make
This page took 0.59682 seconds and 5 git commands to generate.