]> andersk Git - moira.git/blame - Imakefile
New database and column names for Moira2.
[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
21all::
22
455b7baa 23#ifndef USELOCALTOOLS
24
38cf9640 25world::
26 make ${MFLAGS} clean-imake
27 make ${MFLAGS} Makefile
28 make ${MFLAGS} Makefiles
29 make ${MFLAGS} depend
30 make ${MFLAGS} all
31
32clean-imake:
33 cd util/imake; make clean
34 cd util/imake; make
35
36imake::
37 cd util/imake; make
38
455b7baa 39#else /* USELOCALTOOLS */
40
41world::
42 make ${MFLAGS} Makefile
43 make ${MFLAGS} Makefiles
44 make ${MFLAGS} depend
45 make ${MFLAGS} all
46#endif /* USELOCALTOOLS */
47
48
38cf9640 49install::
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
455b7baa 64#ifdef USELOCALTOOLS
38cf9640 65depend::
66 cd util/makedepend; make
455b7baa 67#endif
68
69#ifdef USELOCALLIBS
70depend::
38cf9640 71 cd util/et; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
72 cd util/ss; make ${MFLAGS} DEPEND=../../$(DEPEND) depend; make ${MFLAGS} all
455b7baa 73#endif
This page took 0.064465 seconds and 5 git commands to generate.