]> andersk Git - moira.git/blame - Imakefile
Diane Delgado's changes for a fixed table-locking order
[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
14SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
38cf9640 15#ifdef SVRBUILD
16SUBDIRS=$(CLIENTDIRS) $(SVRDIRS)
17#else
18SUBDIRS=$(CLIENTDIRS)
19#endif
20
30b805f1 21#ifndef USELOCALTOOLS
22all:: et ss
23#else
38cf9640 24all::
30b805f1 25#endif
38cf9640 26
455b7baa 27#ifndef USELOCALTOOLS
28
38cf9640 29world::
30 make ${MFLAGS} clean-imake
c9cff6fe 31 make ${MFLAGS} imake
38cf9640 32 make ${MFLAGS} Makefile
33 make ${MFLAGS} Makefiles
34 make ${MFLAGS} depend
35 make ${MFLAGS} all
36
455b7baa 37#else /* USELOCALTOOLS */
38
39world::
3ca43169 40 make ${MFLAGS} clean-imake
455b7baa 41 make ${MFLAGS} Makefile
42 make ${MFLAGS} Makefiles
43 make ${MFLAGS} depend
44 make ${MFLAGS} all
45#endif /* USELOCALTOOLS */
46
30b805f1 47clean-imake:
48 cd util/imake; make clean
30b805f1 49
50imake::
51 cd util/imake; make
455b7baa 52
38cf9640 53install::
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
3ca43169 68#ifndef USELOCALTOOLS
30b805f1 69depend:: makedepend
455b7baa 70#endif
71
3ca43169 72#ifndef USELOCALLIBS
30b805f1 73depend:: et ss
455b7baa 74#endif
30b805f1 75
76et:
4b7a2136 77 cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
30b805f1 78
79ss:
4b7a2136 80 cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
30b805f1 81
82makedepend:
83 cd util/makedepend; make
This page took 0.079017 seconds and 5 git commands to generate.