]> andersk Git - moira.git/blame - Makefile
Diane Delgado's changes for a fixed table-locking order
[moira.git] / Makefile
CommitLineData
3d8d4b36 1# Makefile generated by imake - do not edit!
2# $XConsortium: imake.c,v 1.86 93/10/11 12:12:36 rws Exp $
3
4#
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.
8#
9# $Source$
10#
11
12NEWTOP=.
13BUILDTOP=.
14
15INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I/usr/athena/include \
16 $(SS_INCL)
17CFLAGS=$(DBG) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
18LINTFLAGS=$(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
19
20# $Source$
21#
22
23CURSES= -L/usr/css/lib -lcurses -ltermcap
24
25OSDEFS= -DPOSIX -DSOLARIS -I/usr/openwin/include
26OSLIBS= -L/usr/ccs/lib -lcurses -ltermcap -lresolv \
27 -lsocket -lnsl -lc /usr/ucblib/libucb.a -lelf -ldl
28CURSES=
29
30GLOBAL_CDEFS= -DHESIOD -DZEPHYR -DGDSS -DATHENA -DDBMS=INGRES -I/usr/athena/include $(OSDEFS)
31
32SRCTOP=/mit/moiradev/src
33
34DESTDIR=
35
36USRDIR= /usr
37ETCDIR= /usr/athena/etc
38PROGDIR=/usr/athena/bin
39LIBDIR= /usr/athena/lib
40LINTLIBDIR = /usr/lib/lint
41INCLDIR= /usr/athena/include
42MANDIR= /usr/athena/man
43
44LZEHPYR=-lzephyr
45
46LIBGDSS= /mit/gdss/`machtype`/libgdss.a
47GDSSINC= -I/mit/gdss/include
48
49LINTLIBFLAG=-C
50
51MR_LIB=$(BUILDTOP)/lib/libmoira.a
52MR_LIBDEP=$(MR_LIB)
53MR_LINTLIB=$(BUILDTOP)/lib/llib-lmoira.ln
54GDB_LIB=$(BUILDTOP)/gdb/libmrgdb.a
55GDB_LIBDEP=$(GDB_LIB)
56GDB_LINTLIB=$(BUILDTOP)/gdb/llib-lmrgdb.ln
57
58COMPILE_ET= compile_et
59
60COM_ERR = -lcom_err
61
62MAKE_COMMANDS= mk_cmds
63
64SS_LIB = -lss
65
66LLIB = -L/usr/athena/lib
67
68CLIBS= $(MR_LIB) $(GDB_LIB) $(LLIB) $(LZEPHYR) $(COM_ERR) -lkrb -ldes -lhesiod
69
70SQL_LIB= /usr/ingres/lib/libingres.a -lm
71
72ARCHIVE= ar cru
73
74RANLIB= /bin/true
75
76INSTALLFILE= install -c -m 444
77
78INSTALLLIB= install -c -m 444
79
80INSTALLPROG= install -c -m 555
81
82INSTALLRAW= install
83
84LD=ld
85
86AS=as
87
88LINT=lint
89
90CC=gcc -traditional
91
92CCRO=$(CC) -R
93
94HCC=$(CC)
95
96CPP=$(CC) -E
97
98DBG=-O
99
100HCFLAGS=$(CFLAGS)
101
102TAGGER=etags
103
104MAKE=make
105RM=rm -f
106MV=mv
107CP=cp
108LN=ln -s
109LPR=lpr -p
110CHMOD=chmod
111AWK=awk
112
113DEPEND=makedepend
114IMAKE=imake -I$(BUILDTOP)/util/imake.includes
115
116# $Source$
117#
118
119# $Header$
120#
121# Copyright 1990 by the Massachusetts Institute of Technology.
122#
123# For copying and distribution information,
124# please see the file <mit-copyright.h>.
125#
126# Imakefile for top level directory.
127#
128
129CODE=Imakefile
130CLIENTDIRS=util include gdb lib clients man update
131SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
132
133SUBDIRS=$(CLIENTDIRS)
134
135all::
136
137world::
138 make ${MFLAGS} clean-imake
139 make ${MFLAGS} Makefile
140 make ${MFLAGS} Makefiles
141 make ${MFLAGS} depend
142 make ${MFLAGS} all
143
144clean-imake:
145 cd util/imake; make clean
146
147imake::
148 cd util/imake; make
149
150install::
151 -mkdir ${DESTDIR}
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
163 -mkdir ./bin
164
165et:
166 cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
167
168ss:
169 cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
170
171makedepend:
172 cd util/makedepend; make
173
174all::
175 @for d in $(SUBDIRS); \
176 do \
177 (cd $$d; echo "### Making" all "in" `pwd`; \
178 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) all ; \
179 echo "### Done with" `pwd`); \
180 done
181
182install::
183 @for d in $(SUBDIRS); \
184 do \
185 (cd $$d; echo "### Making" install "in" `pwd`; \
186 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) install ; \
187 echo "### Done with" `pwd`); \
188 done
189
190clean::
191 @for d in $(SUBDIRS); \
192 do \
193 (cd $$d; echo "### Making" clean "in" `pwd`; \
194 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) clean ; \
195 echo "### Done with" `pwd`); \
196 done
197
198depend::
199 @for d in $(SUBDIRS); \
200 do \
201 (cd $$d; echo "### Making" depend "in" `pwd`; \
202 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) depend ; \
203 echo "### Done with" `pwd`); \
204 done
205
206tags::
207 @for d in $(SUBDIRS); \
208 do \
209 (cd $$d; echo "### Making" tags "in" `pwd`; \
210 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) tags ; \
211 echo "### Done with" `pwd`); \
212 done
213
214print::
215 @for d in $(SUBDIRS); \
216 do \
217 (cd $$d; echo "### Making" print "in" `pwd`; \
218 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) print ; \
219 echo "### Done with" `pwd`); \
220 done
221
222src::
223 @for d in $(SUBDIRS); \
224 do \
225 (cd $$d; echo "### Making" src "in" `pwd`; \
226 $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) src ; \
227 echo "### Done with" `pwd`); \
228 done
229
230Makefiles::
231 @echo "### Making Makefiles in" `pwd`
232 @for d in $(SUBDIRS); \
233 do \
234 (cd $$d; echo "### Making Makefile in" `pwd`; \
235 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
236 NEWTOP=../$(BUILDTOP) \
237 BUILDTOP=../$(BUILDTOP) \
238 -f ../Makefile \
239 Makefile; \
240 $(MAKE) $(MFLAGS) SRCTOP=$(SRCTOP) \
241 NEWTOP=../$(BUILDTOP) \
242 Makefiles; \
243 echo "### Done with" `pwd`); \
244 done
245
246depend:: $(SRCS)
247 @echo "### Now computing dependencies"
248 @$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
249
250clean::
251 $(RM) *~ \#* *.bak $(TAGSFILE)
252
253tags::
254 $(TAGGER) *.c *.h
255
256Makefile::
257 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
258 $(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile
259
260print:: ${CODE}
261 ${LPR} ${CODE}
262
263src:: ${CODE}
264
265${CODE}:
266 $(RM) $@
267 -$(LN) ${SRCDIR}/$@ $@
268
269install::
270
271Makefiles::
272
273# DO NOT DELETE THIS LINE
274
This page took 0.08022 seconds and 5 git commands to generate.