]> andersk Git - moira.git/blame - Imakefile
fix include stuff so you can find ss.h when using the shipped tools
[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
31 make ${MFLAGS} Makefile
32 make ${MFLAGS} Makefiles
33 make ${MFLAGS} depend
34 make ${MFLAGS} all
35
455b7baa 36#else /* USELOCALTOOLS */
37
38world::
3ca43169 39 make ${MFLAGS} clean-imake
40 make ${MFLAGS} 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
49 cd util/imake; make
50
51imake::
52 cd util/imake; make
455b7baa 53
38cf9640 54install::
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
3ca43169 69#ifndef USELOCALTOOLS
30b805f1 70depend:: makedepend
455b7baa 71#endif
72
3ca43169 73#ifndef USELOCALLIBS
30b805f1 74depend:: et ss
455b7baa 75#endif
30b805f1 76
77et:
4b7a2136 78 cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
30b805f1 79
80ss:
4b7a2136 81 cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
30b805f1 82
83makedepend:
84 cd util/makedepend; make
This page took 2.220748 seconds and 5 git commands to generate.