/[TIS-4000 Rel T60]/sun2.4/opi/Makefile
ViewVC logotype

Contents of /sun2.4/opi/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Aug 3 17:11:00 1999 UTC (23 years ago) by tis4000
Branch: HIA
CVS Tags: T60
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
Initial sun2.4 setup

1 #$Id: Makefile,v 1.4 1997/09/11 17:50:44 epics Exp $
2
3 # Makefile generated by imake - do not edit!
4 # $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
5 #
6 # The cpp used on this machine replaces all newlines and multiple tabs and
7 # spaces in a macro expansion with a single space. Imake tries to compensate
8 # for this, but is not always successful.
9 #
10
11 ###########################################################################
12 # Makefile generated from "Imake.tmpl" and </tmp/IIf.a17970>
13 # $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
14 #
15 # Platform-specific parameters may be set in the appropriate .cf
16 # configuration files. Site-wide parameters may be set in the file
17 # site.def. Full rebuilds are recommended if any parameters are changed.
18 #
19 # If your C preprocessor doesn't define any unique symbols, you'll need
20 # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
21 # "make Makefile", "make Makefiles", or "make World").
22 #
23 # If you absolutely can't get imake to work, you'll need to set the
24 # variables at the top of each Makefile as well as the dependencies at the
25 # bottom (makedepend will do this automatically).
26 #
27
28 ###########################################################################
29 # platform-specific configuration parameters - edit sun.cf to change
30
31 # platform: $XConsortium: sun.cf,v 1.38 89/12/23 16:10:10 jim Exp $
32 # operating system: SunOS 4.0.3
33
34 ###########################################################################
35 # site-specific configuration parameters - edit site.def to change
36
37 # site: $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
38
39 #
40 # generic make variables
41 #
42 SHELL = /bin/sh
43
44 TOP = ../../..
45 CURRENT_DIR = ./opi
46
47 SRC = .
48 SRCROOT = $(TOP)/share/src
49 SCRIPTROOT = $(TOP)/share/script
50
51 AR = ar cq
52 BOOTSTRAPCFLAGS =
53 # CC = cc
54 CC = gcc -inostdinc -I/usr/include -DSOLARIS __EXTENSIONS__
55
56 COMPRESS = compress
57 CPP = /lib/cpp $(STD_CPP_DEFINES)
58 PREPROCESSCMD = $(CC) -E $(STD_CPP_DEFINES)
59 INSTALL = install
60 LD = ld
61 LINT = lint
62 LINTLIBFLAG = -C
63 LINTOPTS = -axz
64 LN = ln -s
65 MAKE = make
66 MV = mv
67 CP = cp
68 RANLIB = ranlib
69 RANLIBINSTFLAGS =
70 RM = rm -f
71 STD_INCLUDES =
72 STD_CPP_DEFINES =
73 STD_DEFINES =
74 EXTRA_LOAD_FLAGS =
75 EXTRA_LIBRARIES =
76 TAGS = ctags
77
78 SHAREDCODEDEF = -DSHAREDCODE
79 SHLIBDEF = -DSUNSHLIB
80
81 PROTO_DEFINES =
82
83 INSTPGMFLAGS = -m 555
84
85 INSTBINFLAGS = -m 444
86 INSTUIDFLAGS = -m 4755
87 INSTLIBFLAGS = -m 644
88 INSTINCFLAGS = -m 0444
89 INSTMANFLAGS = -m 0444
90 INSTDATFLAGS = -m 0664
91 INSTKMEMFLAGS = -m 4755
92
93 DESTDIR =
94
95 TOP_INCLUDES = -I$(INCROOT)
96
97 CDEBUGFLAGS = -g
98 CCOPTIONS =
99 COMPATFLAGS =
100
101 ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(STD_INCLUDES) $(TOP_INCLUDES)
102 ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
103 CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
104 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
105 LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
106 LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
107 LDCOMBINEFLAGS = -r
108
109 MACROFILE = sun.cf
110 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
111
112 IMAKE_DEFINES =
113
114 IRULESRC = $(CONFIGDIR)
115 IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
116
117 ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
118 $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
119 $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
120
121 ###########################################################################
122 # X Window System Build Parameters
123 # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
124
125 ###########################################################################
126 # X Window System make variables; this need to be coordinated with rules
127 # $XConsortium: Project.tmpl,v 1.63 89/12/18 16:46:44 jim Exp $
128
129 HOST = sun2.4
130 CPU = $(HOST)
131 TARGET = Target
132 TARGET_OS = SunOS
133 TARGET_CPU = sun2.4
134 GNULIB = /usr/local/lib/gcc-gnulib
135 TOP_INCLUDES = -I$(TOP)/share/epicsH
136 PATHSEP = /
137 USRLIBDIR = $(DESTDIR)/usr/lib
138 BINDIR = $(TOP)/Unix/sun2.4/bin
139 INCROOT = $(DESTDIR)/usr/include
140 BUILDINCROOT = $(TOP)
141 BUILDINCDIR = $(BUILDINCROOT)
142 BUILDINCTOP = ..
143 INCDIR = $(INCROOT)
144 ADMDIR = $(DESTDIR)/usr/adm
145 LIBDIR = $(TOP)/Unix/sun2.4/bin
146 CONFIGDIR = $(TOP)/config
147 LINTLIBDIR = $(USRLIBDIR)/lint
148
149 FONTDIR = $(LIBDIR)/fonts
150 MANPATH = $(DESTDIR)/usr/local/man
151 MANSOURCEPATH = $(MANPATH)/man
152 MANDIR = $(MANSOURCEPATH)n
153 LIBMANDIR = $(MANSOURCEPATH)3
154
155 FONTCFLAGS = FontCompilerFlags
156
157 INSTAPPFLAGS = $(INSTDATFLAGS)
158
159 IMAKE = imake
160
161 DEPEND = $(TOP)/share/bin/sun2.4/EPICSmakedepend
162 RGB = rgb
163 FONTC = bdftosnf
164 MKFONTDIR = mkfontdir
165 MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier.sh
166
167 CONFIGSRC = $(TOP)/config/$(CPU)
168
169 LIBSRC = $(TOP)/lib
170 FONTSRC = $(TOP)/fonts
171 UTILSRC = $(TOP)/util
172 SCRIPTSRC = $(UTILSRC)/scripts
173 DOCSRC = $(TOP)/doc
174 DEPENDSRC = $(UTILSRC)/makedepend
175 IMAKESRC = $(CONFIGSRC)
176 BDFTOSNFSRC = $(FONTSRC)/bdftosnf
177 MKFONTDIRSRC = $(FONTSRC)/mkfontdir
178
179 IRULESRC = $(CONFIGSRC)
180 IMAKE_CMD = $(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
181
182 DEPLIBS =
183
184 DEPLIBS1 = $(DEPLIBS)
185 DEPLIBS2 = $(DEPLIBS)
186 DEPLIBS3 = $(DEPLIBS)
187
188 ###########################################################################
189 # Imake rules for building libraries, programs, scripts, and data files
190 # rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $
191
192 ###########################################################################
193 # start of Imakefile
194
195 ###
196 ### initial unifying Imakefile for OPI tree
197 ###
198
199 ## don't include dl because it is taken care of specially in OPI_build.it
200
201 ## make the utility stuff first, edd and dm last
202
203 SUBDIRS = gizmo graphX printUtils menu util edd dm
204
205 all::
206 gcc -c -g -DNOLEAKTRACK ../../../share/src/opi/dm/memLeak.c -o dm/memLeak.o
207 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
208 for i in $(SUBDIRS) ;\
209 do \
210 (cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
211 $(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' WHICHMOTIF=/usr/Motif1.2.4 all); \
212 rm -f t_*.c ; \
213 done
214
215 # for sun4 only, this is first part of build all
216 # cd ../../../share/src/opi;strExtract;cd ../../../Unix/sun2.4/opi
217
218 depend::
219 for i in $(SUBDIRS) ;\
220 do \
221 (cd $$i ; echo "making depend" all "in $(CURRENT_DIR)/$$i..."; \
222 $(MAKE) depend); \
223 done
224
225 ###########################################################################
226 # common rules for all Makefiles - do not edit
227
228 emptyrule::
229
230 clean::
231 $(RM_CMD) \#*
232
233 Makefile::
234 [email protected] [ -f Makefile ]; then \
235 echo " $(RM) Makefile"; \
236 $(RM) Makefile; \
237 else exit 0; fi
238 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
239
240 tags::
241 $(TAGS) -w *.[ch]
242 $(TAGS) -xw *.[ch] > TAGS
243
244 ###########################################################################
245 # rules for building in SUBDIRS - do not edit
246
247 install::
248 cp -p ../../../share/epicsH/opiStringTable.english ../bin
249 cp -p ../../../share/epicsH/opiStringTable ../bin
250 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
251 for i in $(SUBDIRS) ;\
252 do \
253 (cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \
254 $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install); \
255 done
256
257 install.man::
258 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
259 for i in $(SUBDIRS) ;\
260 do \
261 (cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
262 $(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \
263 done
264
265 clean::
266 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
267 for i in $(SUBDIRS) ;\
268 do \
269 (cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
270 $(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \
271 done
272
273 tags::
274 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
275 for i in $(SUBDIRS) ;\
276 do \
277 (cd $$i ; echo "tagging" "in $(CURRENT_DIR)/$$i..."; \
278 $(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags); \
279 done
280
281 Makefiles::
282 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
283 for i in $(SUBDIRS) ;\
284 do \
285 echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \
286 case "$$i" in \
287 ./?*/?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
288 ./?*/?*/?*) newtop=../../../ sub=subsubsub;; \
289 ./?*/?*) newtop=../../ sub=subsub;; \
290 ./?*) newtop=../ sub=sub;; \
291 */?*/?*/?*) newtop=../../../../ sub=subsubsubsub;; \
292 */?*/?*) newtop=../../../ sub=subsubsub;; \
293 */?*) newtop=../../ sub=subsub;; \
294 *) newtop=../ sub=sub;; \
295 esac; \
296 case "$(TOP)" in \
297 /?*) newtop= upprefix= ;; \
298 *) upprefix=../ ;; \
299 esac; \
300 $(MAKE) $${sub}dirMakefiles UPPREFIX=$$upprefix NEWTOP=$$newtop \
301 MAKEFILE_SUBDIR=$$i NEW_CURRENT_DIR=$(CURRENT_DIR)/$$i;\
302 done
303
304 subdirMakefiles:
305 [email protected] [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
306 echo " $(RM) $(MAKEFILE_SUBDIR)/Makefile "; \
307 $(RM) $(MAKEFILE_SUBDIR)/Makefile; \
308 else exit 0; fi
309 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
310 $(MAKE) $(MFLAGS) Makefiles
311
312 subsubdirMakefiles:
313 [email protected] [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
314 echo " $(RM) $(MAKEFILE_SUBDIR)/Makefile "; \
315 $(RM) $(MAKEFILE_SUBDIR)/Makefile; \
316 else exit 0; fi
317 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
318 $(MAKE) $(MFLAGS) Makefiles
319
320 subsubsubdirMakefiles:
321 [email protected] [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
322 echo " $(RM) $(MAKEFILE_SUBDIR)/Makefile "; \
323 $(RM) $(MAKEFILE_SUBDIR)/Makefile; \
324 else exit 0; fi
325 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
326 $(MAKE) $(MFLAGS) Makefiles
327
328 subsubsubsubdirMakefiles:
329 [email protected] [ -f $(MAKEFILE_SUBDIR)/Makefile ]; then \
330 echo " $(RM) $(MAKEFILE_SUBDIR)/Makefile "; \
331 $(RM) $(MAKEFILE_SUBDIR)/Makefile; \
332 else exit 0; fi
333 cd $(MAKEFILE_SUBDIR); $(IMAKE_CMD) -DTOPDIR=$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(UPPREFIX)$(TOP) -DCURDIR=$(NEW_CURRENT_DIR); \
334 $(MAKE) $(MFLAGS) Makefiles
335
336 includes::
337 @case '${MFLAGS}' in *[ik]*) set +e;; esac; \
338 for i in $(SUBDIRS) ;\
339 do \
340 (cd $$i ; echo including "in $(CURRENT_DIR)/$$i..."; \
341 $(MAKE) $(MFLAGS) includes); \
342 done
343
344 ###########################################################################
345 # empty rules for directories that do not have SUBDIRS - do not edit
346
347 ###########################################################################
348 # dependencies generated by makedepend
349
350 #DO NOT DELETE
351 #DO NOT DELETE
352

  ViewVC Help
Powered by ViewVC 1.1.28