]> andersk Git - moira.git/blob - Imakefile
fix include stuff so you can find ss.h when using the shipped tools
[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} Makefile
32         make ${MFLAGS} Makefiles
33         make ${MFLAGS} depend
34         make ${MFLAGS} all
35
36 #else /* USELOCALTOOLS */
37
38 world::
39         make ${MFLAGS} clean-imake
40         make ${MFLAGS} 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         cd util/imake; make
50
51 imake::
52         cd util/imake; make 
53
54 install::
55         -mkdir ${DESTDIR}
56         -mkdir ${DESTDIR}${USRDIR}
57         -mkdir ${DESTDIR}${ETCDIR}
58         -mkdir ${DESTDIR}${PROGDIR}
59         -mkdir ${DESTDIR}${LIBDIR}
60         -mkdir ${DESTDIR}${LINTLIBDIR}
61         -mkdir ${DESTDIR}${INCLDIR}
62         -mkdir ${DESTDIR}${MANDIR}
63         -mkdir ${DESTDIR}${MANDIR}/man1
64         -mkdir ${DESTDIR}${MANDIR}/man3
65         -mkdir ${DESTDIR}${MANDIR}/man5
66         -mkdir ${DESTDIR}${MANDIR}/man8
67         -mkdir ./bin
68
69 #ifndef USELOCALTOOLS
70 depend:: makedepend
71 #endif
72
73 #ifndef USELOCALLIBS
74 depend:: et ss
75 #endif
76
77 et:
78         cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
79
80 ss:
81         cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
82
83 makedepend:
84         cd util/makedepend; make
This page took 0.04647 seconds and 5 git commands to generate.