]> andersk Git - moira.git/blob - Imakefile
New database and column names for Moira2.
[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 all:: 
22
23 #ifndef USELOCALTOOLS
24
25 world::
26         make ${MFLAGS} clean-imake
27         make ${MFLAGS} Makefile
28         make ${MFLAGS} Makefiles
29         make ${MFLAGS} depend
30         make ${MFLAGS} all
31
32 clean-imake:
33         cd util/imake; make clean
34         cd util/imake; make
35
36 imake::
37         cd util/imake; make 
38
39 #else /* USELOCALTOOLS */
40
41 world::
42         make ${MFLAGS} Makefile
43         make ${MFLAGS} Makefiles
44         make ${MFLAGS} depend
45         make ${MFLAGS} all
46 #endif /* USELOCALTOOLS */
47
48
49 install::
50         -mkdir ${DESTDIR}
51         -mkdir ${DESTDIR}${USRDIR}
52         -mkdir ${DESTDIR}${ETCDIR}
53         -mkdir ${DESTDIR}${PROGDIR}
54         -mkdir ${DESTDIR}${LIBDIR}
55         -mkdir ${DESTDIR}${LINTLIBDIR}
56         -mkdir ${DESTDIR}${INCLDIR}
57         -mkdir ${DESTDIR}${MANDIR}
58         -mkdir ${DESTDIR}${MANDIR}/man1
59         -mkdir ${DESTDIR}${MANDIR}/man3
60         -mkdir ${DESTDIR}${MANDIR}/man5
61         -mkdir ${DESTDIR}${MANDIR}/man8
62         -mkdir ./bin
63
64 #ifdef USELOCALTOOLS
65 depend::
66         cd util/makedepend; make
67 #endif
68
69 #ifdef USELOCALLIBS
70 depend::
71         cd util/et; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
72         cd util/ss; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
73 #endif
This page took 0.253617 seconds and 5 git commands to generate.