Name change for DJ
[deliverable/binutils-gdb.git] / bfd / Makefile.dos
CommitLineData
433fb166
SC
1# This file was generated automatically by configure. Do not edit.
2target_makefile_frag = ./config/mt-h8300-coff
3host_makefile_frag =
4CROSS=-DCROSS_COMPILE
5ALL=all.cross
6host_alias = sun4
7host_cpu = sparc
8host_vendor = sun
9host_os = sunos411
10version_path =
11target_alias = h8300hds
12target_cpu = h8300
13target_vendor = hitachi
14target_os = hds
15subdir =
16unsubdir = .
17VPATH = .
18# Makefile template for Configure for the BFD library.
19# Copyright (C) 1990, 1991 Free Software Foundation, Inc.
20# Written by Cygnus Support.
21#
22# This file is part of BFD, the Binary File Descriptor library.
23#
24# This program is free software; you can redistribute it and/or modify
25# it under the terms of the GNU General Public License as published by
26# the Free Software Foundation; either version 2 of the License, or
27# (at your option) any later version.
28#
29# This program is distributed in the hope that it will be useful,
30# but WITHOUT ANY WARRANTY; without even the implied warranty of
31# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32# GNU General Public License for more details.
33#
34# You should have received a copy of the GNU General Public License
35# along with this program; if not, write to the Free Software
36# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
37
38# $Id$
39
40srcdir = .
41
42prefix = /usr/local
43
44bindir = $(prefix)/bin
45datadir = $(prefix)/lib
46libdir = $(prefix)/lib
47mandir = $(datadir)/man
48man1dir = $(mandir)/man1
49man2dir = $(mandir)/man2
50man3dir = $(mandir)/man3
51man4dir = $(mandir)/man4
52man5dir = $(mandir)/man5
53man6dir = $(mandir)/man6
54man7dir = $(mandir)/man7
55man8dir = $(mandir)/man8
56man9dir = $(mandir)/man9
57infodir = $(datadir)/info
58includedir = $(prefix)/include
59docdir = $(srcdir)/doc
60
61SHELL = /bin/sh
62
63INSTALL = install -c
64INSTALL_PROGRAM = $(INSTALL)
65INSTALL_DATA = $(INSTALL)
66
67AR = ar
68AR_FLAGS = qv
69BISON = bison
70MAKEINFO = makeinfo
71RANLIB = ar rvs
72
73INCDIR = $(srcdir)/../include
74CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
75DEP = mkdep
76MINUS_G=-g
77
78SUBDIRS = doc
79
80
81# Change this (to MINIMIZE=1) to save space in executables.
82# Currently, all this does is control the target_vector in targets.c.
83MINIMIZE=0
84
85TARGETLIB = libbfd.a
86CFLAGS = -g -O $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) # -DINTEL960VERSION
87
88
89BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
90 archures.o core.o section.o format.o syms.o reloc.o init.o ctor.o seclet.o
91
92BFD_MACHINES = cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \
93 cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-rs6000.o
94
95BFD_BACKENDS = ieee.o srec.o coff-h8300.o
96
97
98
99
100OPTIONAL_BACKENDS = trad-core.o
101
102#### host and target dependent Makefile fragments come in here.
103# Target: Hitachi H8/300 using COFF and IEEE-695 object file format
104# Avoid dragging in a lot of other architectures and formats.
105HDEFINES=-D__MSDOS__ -D__GO32__
106TDEFAULTS=-DBFD -DSELECT_ARCHITECTURES=bfd_h8300_arch -DSELECT_VECS=&ieee_vec\,&srec_vec\,&h8300coff_vec
107CC=gcc
108###
109
110BFD_H=$(INCDIR)/bfd.h
111
112# C source files that correspond to .o's.
113CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \
114 coff-i386.c aout64.c aout32.c sunos.c demo64.c coff-i960.c srec.c \
115 oasys.c ieee.c coff-m68k.c coff-a29k.c coff-rs6000.c \
116 format.c section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c seclet.c \
117 coff-m88k.c coff-mips.c trad-core.c newsos3.c i386aout.c bout.c elf.c \
118 cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c cpu-m88k.c \
119 cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-rs6000.c coff-h8300.c
120
121STAGESTUFF = $(TARGETLIB) $(OFILES)
122
123all: $(TARGETLIB)
124
125# $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)"
126
127info: force
128 $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
129
130install-info: force
131 $(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)"
132
133# HDEPFILES comes from the host config; TDEPFILES from the target config.
134OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
135
136$(TARGETLIB): $(OFILES)
137 -rm -f $(TARGETLIB)
138 >bfd.rf $(AR_FLAGS) $(TARGETLIB) $(OFILES)
139 $(AR) @bfd.rf
140 $(RANLIB) $(TARGETLIB)
141
142# When compiling targets.c, supply the default target info from configure.
143targets.o: targets.c
144 >targets.rf $(CFLAGS) -c -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) targets.c
145 $(CC) @targets.rf
146
147subdir_do: force
148 for i in $(DODIRS); do \
149 if [ -d $(unsubdir)/$$i ] ; then \
150 if (cd $(unsubdir)/$$i$(subdir); \
151 $(MAKE) \
152 "against=$(against)" \
153 "AR=$(AR)" \
154 "AR_FLAGS=$(AR_FLAGS)" \
155 "CC=$(CC)" \
156 "RANLIB=$(RANLIB)" \
157 "BISON=$(BISON)" $(DO)) ; then true ; \
158 else exit 1 ; fi ; \
159 else true ; fi ; \
160 done
161
162stage1: force
163 - mkdir stage1
164 - mv -f $(STAGESTUFF) stage1
165 $(MAKE) subdir_do DO=stage1 "DODIRS=$(SUBDIRS)"
166
167stage2: force
168 - mkdir stage2
169 - mv -f $(STAGESTUFF) stage2
170 $(MAKE) subdir_do DO=stage2 "DODIRS=$(SUBDIRS)"
171
172stage3: force
173 - mkdir stage3
174 - mv -f $(STAGESTUFF) stage3
175 $(MAKE) subdir_do DO=stage3 "DODIRS=$(SUBDIRS)"
176
177against=stage2
178
179comparison: force
180 for i in *.o ; do cmp $$i $(against)/$$i || exit 1 ; done
181 $(MAKE) subdir_do DO=comparison "DODIRS=$(SUBDIRS)"
182
183de-stage1: force
184 - (cd stage1 ; mv -f $(STAGESTUFF) ..)
185 - rmdir stage1
186 $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(SUBDIRS)"
187
188de-stage2: force
189 - (cd stage2 ; mv -f $(STAGESTUFF) ..)
190 - rmdir stage2
191 $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(SUBDIRS)"
192
193de-stage3: force
194 - (cd stage3 ; mv -f $(STAGESTUFF) ..)
195 - rmdir stage3
196 $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(SUBDIRS)"
197
198tags etags: TAGS
199
200TAGS: force
201 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
202
203clean:
204 rm -f *.[oa] *~ core *.E *.p *.ip aout-params.h gen-aout
205 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)"
206
207clobber realclean: clean
208 rm -f libbfd.a TAGS
209 $(MAKE) subdir_do DO=clobber "DODIRS=$(SUBDIRS)"
210
211# Mark everything as depending on config.status, since the timestamp on
212# sysdep.h might actually move backwards if we reconfig and relink it
213# to a different hosts/h-xxx.h file. This will force a recompile anyway.
214# dos - don't do that.
215RECONFIG =
216$(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG)
217$(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG)
218$(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
219$(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
220
221# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
222cpu-i386.o: cpu-i386.c
223
224saber:
225 #suppress 65 on bfd_map_over_sections
226 #suppress 66 on bfd_map_over_sections
227 #suppress 67 on bfd_map_over_sections
228 #suppress 68 on bfd_map_over_sections
229 #suppress 69 on bfd_map_over_sections
230 #suppress 70 on bfd_map_over_sections
231 #suppress 110 in bfd_map_over_sections
232 #suppress 112 in bfd_map_over_sections
233 #suppress 530
234 #suppress 590 in swap_exec_header
235 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
236 #suppress 590 in bfd_dont_truncate_arname
237 #suppress 590 on ignore
238 #suppress 590 on abfd
239 #setopt load_flags $(CFLAGS)
240 #load $(CFILES)
241
242
243#-----------------------------------------------------------------------------
244# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
245#
246# 'VERSION' file must be present and contain a string of the form "x.y"
247#-----------------------------------------------------------------------------
248
249ver960.c: FORCE
250 rm -f ver960.c
251 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
252
253
254# This target should be invoked before building a new release.
255# 'VERSION' file must be present and contain a string of the form "x.y"
256#
257roll:
258 @V=`cat VERSION` ; \
259 MAJ=`sed 's/\..*//' VERSION` ; \
260 MIN=`sed 's/.*\.//' VERSION` ; \
261 V=$$MAJ.`expr $$MIN + 1` ; \
262 rm -f VERSION ; \
263 echo $$V >VERSION ; \
264 echo Version $$V
265
266# Dummy target to force execution of dependent targets.
267#
268force:
269
270install:
271 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
272 $(RANLIB) $(libdir)/libbfd.a
273 $(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h
274 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)"
275
276# Target to uncomment host-specific lines in this makefile. Such lines must
277# have the following string beginning in column 1: #__<hostname>__#
278# Original Makefile is backed up as 'Makefile.old'.
279#
280# Invoke with: make make HOST=xxx
281#
282make:
283 -@if test $(HOST)x = x ; then \
284 echo '\aSpecify "make make HOST=???"'; \
285 exit 1; \
286 fi ; \
287 grep -s "^#The next line was generated by 'make make'" Makefile; \
288 if test $$? = 0 ; then \
289 echo "\aMakefile has already been processed with 'make make'";\
290 exit 1; \
291 fi ; \
292 mv -f Makefile Makefile.old; \
293 echo "#The next line was generated by 'make make'" >Makefile ; \
294 echo "HOST=$(HOST)" >>Makefile ; \
295 echo >>Makefile ; \
296 sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile
297
298Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
299 $(SHELL) ./config.status
300
301dep: $(CFILES)
302 mkdep $(CFLAGS) $?
303
304gen-aout: $(srcdir)/gen-aout.c
305 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
306
307aout-params.h: gen-aout
308 ./gen-aout > aout-params.h
309
310host-aout.o: aout-params.h
311
312headers:
313 (cd $(docdir); $(MAKE) protos)
314 # Rebuild prototypes in bfd.h
315 cp $(docdir)/bfd.h $(BFD_H)
316 cp $(docdir)/libbfd.h $(srcdir)/libbfd.h
317 cp $(docdir)/libcoff.h $(srcdir)/libcoff.h
318
319bfd.info:
320 ( cd $(docdir); $(MAKE) bfd.info)
321
322bfd.dvi:
323 (cd $(docdir); $(MAKE) bfd.dvi)
324
325bfd.ps:
326 (cd $(docdir); $(MAKE) bfd.ps)
327
328# What appears below is generated by a hacked mkdep using gcc -MM.
329
330# DO NOT DELETE THIS LINE -- mkdep uses it.
331# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
332
333libbfd.o : libbfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
334opncls.o : opncls.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
335bfd.o : bfd.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
336archive.o : archive.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
337 $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
338targets.o : targets.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
339cache.o : cache.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
340archures.o : archures.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h
341aout64.o : aout64.c
342aout32.o : aout32.c aoutx.h $(INCDIR)/bfd.h $(INCDIR)/ansidecl.h \
343 $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \
344 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
345sunos.o : sunos.c aoutf1.h $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
346 libaout.h libbfd.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
347 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
348demo64.o : demo64.c
349
350srec.o : srec.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
351oasys.o : oasys.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
352 $(INCDIR)/oasys.h liboasys.h
353ieee.o : ieee.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
354 $(INCDIR)/ieee.h libieee.h
355coff-h8300.o: coff-h8300.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
356 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
357format.o : format.c $(INCDIR)/bfd.h \
358 $(INCDIR)/obstack.h libbfd.h
359section.o : section.c $(INCDIR)/bfd.h \
360 $(INCDIR)/obstack.h libbfd.h
361core.o : core.c $(INCDIR)/bfd.h \
362 $(INCDIR)/obstack.h libbfd.h
363syms.o : syms.c $(INCDIR)/bfd.h \
364 $(INCDIR)/obstack.h libbfd.h
365syms.o : stab-syms.c
366reloc.o : reloc.c $(INCDIR)/bfd.h \
367 $(INCDIR)/obstack.h libbfd.h
368
369trad-core.o : trad-core.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
370 libbfd.h libaout.h
371newsos3.o : newsos3.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
372 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
373 $(INCDIR)/aout/ar.h libaout.h
374i386aout.o : i386aout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
375 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
376 $(INCDIR)/aout/ar.h libaout.h
377bout.o : bout.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
378 $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
379
380# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
381
This page took 0.035389 seconds and 4 git commands to generate.