/[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.2 - (show annotations)
Mon Aug 23 15:15:49 1999 UTC (22 years, 9 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.1: +10 -2 lines
08-23-99	ems	added target opiStringTable

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

  ViewVC Help
Powered by ViewVC 1.1.28