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} clean-imake
139 make ${MFLAGS} Makefile
140 make ${MFLAGS} Makefiles
141 make ${MFLAGS} depend
145 cd util/imake; make clean
152 -mkdir ${DESTDIR}${USRDIR}
153 -mkdir ${DESTDIR}${ETCDIR}
154 -mkdir ${DESTDIR}${PROGDIR}
155 -mkdir ${DESTDIR}${LIBDIR}
156 -mkdir ${DESTDIR}${LINTLIBDIR}
157 -mkdir ${DESTDIR}${INCLDIR}
158 -mkdir ${DESTDIR}${MANDIR}
159 -mkdir ${DESTDIR}${MANDIR}/man1
160 -mkdir ${DESTDIR}${MANDIR}/man3
161 -mkdir ${DESTDIR}${MANDIR}/man5
162 -mkdir ${DESTDIR}${MANDIR}/man8
166 cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
169 cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
172 cd util/makedepend; make
175 @for d in $(SUBDIRS); \
177 (cd $$d; echo "### Making" all "in" `pwd`; \
178 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all ; \
179 echo "### Done with" `pwd`); \
183 @for d in $(SUBDIRS); \
185 (cd $$d; echo "### Making" install "in" `pwd`; \
186 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \
187 echo "### Done with" `pwd`); \
191 @for d in $(SUBDIRS); \
193 (cd $$d; echo "### Making" clean "in" `pwd`; \
194 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \
195 echo "### Done with" `pwd`); \
199 @for d in $(SUBDIRS); \
201 (cd $$d; echo "### Making" depend "in" `pwd`; \
202 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \
203 echo "### Done with" `pwd`); \
207 @for d in $(SUBDIRS); \
209 (cd $$d; echo "### Making" tags "in" `pwd`; \
210 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) tags ; \
211 echo "### Done with" `pwd`); \
215 @for d in $(SUBDIRS); \
217 (cd $$d; echo "### Making" print "in" `pwd`; \
218 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) print ; \
219 echo "### Done with" `pwd`); \
223 @for d in $(SUBDIRS); \
225 (cd $$d; echo "### Making" src "in" `pwd`; \
226 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) src ; \
227 echo "### Done with" `pwd`); \
231 @echo "### Making Makefiles in" `pwd`
232 @for d in $(SUBDIRS); \
234 (cd $$d; echo "### Making Makefile in" `pwd`; \
235 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
236 NEWTOP=../$(BUILDTOP) \
237 BUILDTOP=../$(BUILDTOP) \
240 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
241 NEWTOP=../$(BUILDTOP) \
243 echo "### Done with" `pwd`); \
247 @echo "### Now computing dependencies"
248 @$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
251 $(RM) *~ \#* *.bak $(TAGSFILE)
257 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
258 $(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile
267 -$(LN) ${SRCDIR}/$@ $@
273 # DO NOT DELETE THIS LINE