]> andersk Git - moira.git/blob - Imakefile
Remove `delete_user_by_uid' since it's never been used in any logs we have,
[moira.git] / Imakefile
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
12 CODE=Imakefile
13 CLIENTDIRS=util include gdb lib clients man update
14 SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
15 #ifdef SVRBUILD
16 SUBDIRS=$(CLIENTDIRS) $(SVRDIRS)
17 #else
18 SUBDIRS=$(CLIENTDIRS)
19 #endif
20
21 #ifndef USELOCALTOOLS
22 all:: et ss
23 #else
24 all:: 
25 #endif
26
27 #ifndef USELOCALTOOLS
28
29 world::
30         make ${MFLAGS} imake
31         make ${MFLAGS} Makefile
32         make ${MFLAGS} Makefiles
33         make ${MFLAGS} depend
34         make ${MFLAGS} all
35
36 #else /* USELOCALTOOLS */
37
38 world::
39         make ${MFLAGS} Makefile
40         make ${MFLAGS} Makefiles
41         make ${MFLAGS} depend
42         make ${MFLAGS} all
43 #endif /* USELOCALTOOLS */
44
45 imake::
46         cd util/imake; make 
47
48 install::
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
63 #ifndef USELOCALTOOLS
64 depend:: makedepend
65 #endif
66
67 #ifndef USELOCALLIBS
68 depend:: et ss
69 #endif
70
71 et:
72         cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
73
74 ss:
75         cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
76
77 makedepend:
78         cd util/makedepend; make
This page took 0.1312 seconds and 5 git commands to generate.