1 # Makefile generated by imake - do not edit!
2 # $XConsortium: imake.c,v 1.86 93/10/11 12:12:36 rws Exp $
5 # This makefile is automatically generated by imake... do not modify
6 # or you may lose your changes when imake generates makefiles again.
7 # Ignore this message if you are not using imake.
15 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I/usr/athena/include \
17 CFLAGS=$(DBG) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
18 LINTFLAGS=$(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
23 CURSES= -L/usr/css/lib -lcurses -ltermcap
25 OSDEFS= -DPOSIX -DSOLARIS -I/usr/openwin/include
26 OSLIBS= -L/usr/ccs/lib -lcurses -ltermcap -lresolv \
27 -lsocket -lnsl -lc /usr/ucblib/libucb.a -lelf -ldl
30 GLOBAL_CDEFS= -DHESIOD -DZEPHYR -DGDSS -DATHENA -DDBMS=INGRES -I/usr/athena/include $(OSDEFS)
32 SRCTOP=/mit/moiradev/src
37 ETCDIR= /usr/athena/etc
38 PROGDIR=/usr/athena/bin
39 LIBDIR= /usr/athena/lib
40 LINTLIBDIR = /usr/lib/lint
41 INCLDIR= /usr/athena/include
42 MANDIR= /usr/athena/man
46 LIBGDSS= /mit/gdss/`machtype`/libgdss.a
47 GDSSINC= -I/mit/gdss/include
51 MR_LIB=$(BUILDTOP)/lib/libmoira.a
53 MR_LINTLIB=$(BUILDTOP)/lib/llib-lmoira.ln
54 GDB_LIB=$(BUILDTOP)/gdb/libmrgdb.a
56 GDB_LINTLIB=$(BUILDTOP)/gdb/llib-lmrgdb.ln
58 COMPILE_ET= compile_et
62 MAKE_COMMANDS= mk_cmds
66 LLIB = -L/usr/athena/lib
68 CLIBS= $(MR_LIB) $(GDB_LIB) $(LLIB) $(LZEPHYR) $(COM_ERR) -lkrb -ldes -lhesiod
70 SQL_LIB= /usr/ingres/lib/libingres.a -lm
76 INSTALLFILE= install -c -m 444
78 INSTALLLIB= install -c -m 444
80 INSTALLPROG= install -c -m 555
114 IMAKE=imake -I$(BUILDTOP)/util/imake.includes
121 # Copyright 1990 by the Massachusetts Institute of Technology.
123 # For copying and distribution information,
124 # please see the file <mit-copyright.h>.
126 # Imakefile for top level directory.
130 CLIENTDIRS=util include gdb lib clients man update
131 SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
133 SUBDIRS=$(CLIENTDIRS)
138 make ${MFLAGS} Makefile
139 make ${MFLAGS} Makefiles
140 make ${MFLAGS} depend
148 -mkdir ${DESTDIR}${USRDIR}
149 -mkdir ${DESTDIR}${ETCDIR}
150 -mkdir ${DESTDIR}${PROGDIR}
151 -mkdir ${DESTDIR}${LIBDIR}
152 -mkdir ${DESTDIR}${LINTLIBDIR}
153 -mkdir ${DESTDIR}${INCLDIR}
154 -mkdir ${DESTDIR}${MANDIR}
155 -mkdir ${DESTDIR}${MANDIR}/man1
156 -mkdir ${DESTDIR}${MANDIR}/man3
157 -mkdir ${DESTDIR}${MANDIR}/man5
158 -mkdir ${DESTDIR}${MANDIR}/man8
162 cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
165 cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
168 cd util/makedepend; make
171 @for d in $(SUBDIRS); \
173 (cd $$d; echo "### Making" all "in" `pwd`; \
174 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all ; \
175 echo "### Done with" `pwd`); \
179 @for d in $(SUBDIRS); \
181 (cd $$d; echo "### Making" install "in" `pwd`; \
182 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \
183 echo "### Done with" `pwd`); \
187 @for d in $(SUBDIRS); \
189 (cd $$d; echo "### Making" clean "in" `pwd`; \
190 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \
191 echo "### Done with" `pwd`); \
195 @for d in $(SUBDIRS); \
197 (cd $$d; echo "### Making" depend "in" `pwd`; \
198 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \
199 echo "### Done with" `pwd`); \
203 @for d in $(SUBDIRS); \
205 (cd $$d; echo "### Making" tags "in" `pwd`; \
206 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) tags ; \
207 echo "### Done with" `pwd`); \
211 @for d in $(SUBDIRS); \
213 (cd $$d; echo "### Making" print "in" `pwd`; \
214 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) print ; \
215 echo "### Done with" `pwd`); \
219 @for d in $(SUBDIRS); \
221 (cd $$d; echo "### Making" src "in" `pwd`; \
222 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) src ; \
223 echo "### Done with" `pwd`); \
227 @echo "### Making Makefiles in" `pwd`
228 @for d in $(SUBDIRS); \
230 (cd $$d; echo "### Making Makefile in" `pwd`; \
231 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
232 NEWTOP=../$(BUILDTOP) \
233 BUILDTOP=../$(BUILDTOP) \
236 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
237 NEWTOP=../$(BUILDTOP) \
239 echo "### Done with" `pwd`); \
243 @echo "### Now computing dependencies"
244 @$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
247 $(RM) *~ \#* *.bak $(TAGSFILE)
253 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
254 $(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile
263 -$(LN) ${SRCDIR}/$@ $@
269 # DO NOT DELETE THIS LINE