]> andersk Git - moira.git/blob - Makefile
Initial revision
[moira.git] / Makefile
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
12 NEWTOP=.
13 BUILDTOP=.
14
15 INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib -I/usr/athena/include \
16         $(SS_INCL)
17 CFLAGS=$(DBG) $(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
18 LINTFLAGS=$(INCLUDE) $(DEFINES) $(GLOBAL_CDEFS)
19
20 #       $Source$
21 #
22
23 CURSES= -L/usr/css/lib -lcurses -ltermcap
24
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
28 CURSES=
29
30 GLOBAL_CDEFS= -DHESIOD -DZEPHYR -DGDSS -DATHENA -DDBMS=INGRES -I/usr/athena/include $(OSDEFS)
31
32 SRCTOP=/mit/moiradev/src
33
34 DESTDIR=
35
36 USRDIR= /usr
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
43
44 LZEHPYR=-lzephyr
45
46 LIBGDSS= /mit/gdss/`machtype`/libgdss.a
47 GDSSINC= -I/mit/gdss/include
48
49 LINTLIBFLAG=-C
50
51 MR_LIB=$(BUILDTOP)/lib/libmoira.a
52 MR_LIBDEP=$(MR_LIB)
53 MR_LINTLIB=$(BUILDTOP)/lib/llib-lmoira.ln
54 GDB_LIB=$(BUILDTOP)/gdb/libmrgdb.a
55 GDB_LIBDEP=$(GDB_LIB)
56 GDB_LINTLIB=$(BUILDTOP)/gdb/llib-lmrgdb.ln
57
58 COMPILE_ET= compile_et
59
60 COM_ERR = -lcom_err
61
62 MAKE_COMMANDS= mk_cmds
63
64 SS_LIB = -lss
65
66 LLIB = -L/usr/athena/lib
67
68 CLIBS= $(MR_LIB) $(GDB_LIB) $(LLIB) $(LZEPHYR) $(COM_ERR) -lkrb -ldes -lhesiod
69
70 SQL_LIB= /usr/ingres/lib/libingres.a -lm
71
72 ARCHIVE= ar cru
73
74 RANLIB= /bin/true
75
76 INSTALLFILE= install -c -m 444
77
78 INSTALLLIB= install -c -m 444
79
80 INSTALLPROG= install -c -m 555
81
82 INSTALLRAW= install
83
84 LD=ld
85
86 AS=as
87
88 LINT=lint
89
90 CC=gcc -traditional
91
92 CCRO=$(CC) -R
93
94 HCC=$(CC)
95
96 CPP=$(CC) -E
97
98 DBG=-O
99
100 HCFLAGS=$(CFLAGS)
101
102 TAGGER=etags
103
104 MAKE=make
105 RM=rm -f
106 MV=mv
107 CP=cp
108 LN=ln -s
109 LPR=lpr -p
110 CHMOD=chmod
111 AWK=awk
112
113 DEPEND=makedepend
114 IMAKE=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
129 CODE=Imakefile
130 CLIENTDIRS=util include gdb lib clients man update
131 SVRDIRS=server db backup dbck dcm gen reg_svr incremental regtape
132
133 SUBDIRS=$(CLIENTDIRS)
134
135 all::
136
137 world::
138         make ${MFLAGS} clean-imake
139         make ${MFLAGS} Makefile
140         make ${MFLAGS} Makefiles
141         make ${MFLAGS} depend
142         make ${MFLAGS} all
143
144 clean-imake:
145         cd util/imake; make clean
146
147 imake::
148         cd util/imake; make
149
150 install::
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
165 et:
166         cd util/et; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
167
168 ss:
169         cd util/ss; make ${MFLAGS} DEPEND="$(BUILDTOP)/../../$(DEPEND)" depend; make ${MFLAGS} all
170
171 makedepend:
172         cd util/makedepend; make
173
174 all::
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
182 install::
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
190 clean::
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
198 depend::
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
206 tags::
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
214 print::
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
222 src::
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
230 Makefiles::
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
246 depend:: $(SRCS)
247         @echo "### Now computing dependencies"
248         @$(DEPEND) -s "# DO NOT DELETE" -- $(CFLAGS) -- $(SRCS)
249
250 clean::
251         $(RM) *~ \#* *.bak $(TAGSFILE)
252
253 tags::
254         $(TAGGER) *.c *.h
255
256 Makefile::
257         -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
258         $(IMAKE) -DNEW_TOP=$(NEWTOP) -s Makefile
259
260 print:: ${CODE}
261         ${LPR} ${CODE}
262
263 src:: ${CODE}
264
265 ${CODE}:
266         $(RM) $@
267         -$(LN) ${SRCDIR}/$@ $@
268
269 install::
270
271 Makefiles::
272
273 # DO NOT DELETE THIS LINE
274
This page took 0.09225 seconds and 5 git commands to generate.