]> andersk Git - moira.git/blob - Imakefile
Diane Delgado's changes for a fixed table-locking order
[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} clean-imake
31         make ${MFLAGS} imake
32         make ${MFLAGS} Makefile
33         make ${MFLAGS} Makefiles
34         make ${MFLAGS} depend
35         make ${MFLAGS} all
36
37 #else /* USELOCALTOOLS */
38
39 world::
40         make ${MFLAGS} clean-imake
41         make ${MFLAGS} Makefile
42         make ${MFLAGS} Makefiles
43         make ${MFLAGS} depend
44         make ${MFLAGS} all
45 #endif /* USELOCALTOOLS */
46
47 clean-imake:
48         cd util/imake; make clean
49
50 imake::
51         cd util/imake; make 
52
53 install::
54         -mkdir ${DESTDIR}
55         -mkdir ${DESTDIR}${USRDIR}
56         -mkdir ${DESTDIR}${ETCDIR}
57         -mkdir ${DESTDIR}${PROGDIR}
58         -mkdir ${DESTDIR}${LIBDIR}
59         -mkdir ${DESTDIR}${LINTLIBDIR}
60         -mkdir ${DESTDIR}${INCLDIR}
61         -mkdir ${DESTDIR}${MANDIR}
62         -mkdir ${DESTDIR}${MANDIR}/man1
63         -mkdir ${DESTDIR}${MANDIR}/man3
64         -mkdir ${DESTDIR}${MANDIR}/man5
65         -mkdir ${DESTDIR}${MANDIR}/man8
66         -mkdir ./bin
67
68 #ifndef USELOCALTOOLS
69 depend:: makedepend
70 #endif
71
72 #ifndef USELOCALLIBS
73 depend:: et ss
74 #endif
75
76 et:
77         cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
78
79 ss:
80         cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
81
82 makedepend:
83         cd util/makedepend; make
This page took 0.116809 seconds and 5 git commands to generate.