diff options
author | K. Richard Pixley <rich@cygnus> | 1991-04-18 01:51:01 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-04-18 01:51:01 +0000 |
commit | 5176a6bcd892e71b710d495a30096e5b9a596fd1 (patch) | |
tree | 9665a1ad0fbceef7c6e61210d8f4b2575fb2000a | |
parent | a6dab0710c98461de0238b5f7b5c6c2237ced409 (diff) | |
download | gdb-5176a6bcd892e71b710d495a30096e5b9a596fd1.zip gdb-5176a6bcd892e71b710d495a30096e5b9a596fd1.tar.gz gdb-5176a6bcd892e71b710d495a30096e5b9a596fd1.tar.bz2 |
Some cleanup and some new targets.
-rw-r--r-- | bfd/Makefile.in | 53 |
1 files changed, 37 insertions, 16 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 0603904..5c4a145 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -26,15 +26,11 @@ AR = INCDIR = $(srcdir)/../include-cygnus CSEARCH = -I$(INCDIR) -# These things now done from host specific Makefile fragments. -#CSWITCHES = -g # -Wall -#CDEFINES = # -DHOST_SYS=AIX_SYS # -DCOFF_TIMESTAMP -DANSI_LIBRARIES - #### host and target dependent Makefile fragments come in here. ### -TARG = libbfd.a -CFLAGS = -g $(CDEFINES) $(CSEARCH) $(CSWITCHES) # -DINTEL960VERSION +TARGETLIB = libbfd.a +CFLAGS = -g $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) # -DINTEL960VERSION BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \ @@ -50,22 +46,48 @@ SYSDEP_H=$(INCDIR)/sysdep.h CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \ sunos.c icoff.c b.out.c srec.c oasys.c ieee.c m88k-bcs.c -all: $(TARG) +STAGESTUFF = $(TARGETLIB) $(OFILES) + +all: $(TARGETLIB) + +OFILES = $(BFD_LIBS) $(BFD_BACKENDS) + +$(TARGETLIB): $(OFILES) + rm -f $(TARGETLIB) + ar clq $(TARGETLIB) $(OFILES) + ranlib $(TARGETLIB) + +stage1: force + - mkdir stage1 + - mv -f $(STAGESTUFF) stage1 + +stage2: force + - mkdir stage2 + - mv -f $(STAGESTUFF) stage2 + +stage3: force + - mkdir stage3 + - mv -f $(STAGESTUFF) stage3 + +de-stage1: force + - (cd stage1 ; mv -f $(STAGESTUFF) ..) + - rmdir stage1 -POINTOS = $(BFD_LIBS) $(BFD_BACKENDS) +de-stage2: force + - (cd stage2 ; mv -f $(STAGESTUFF) ..) + - rmdir stage2 -$(TARG): $(POINTOS) - rm -f $(TARG) - ar clq $(TARG) $(BFD_LIBS) $(BFD_BACKENDS) - ranlib $(TARG) +de-stage3: force + - (cd stage3 ; mv -f $(STAGESTUFF) ..) + - rmdir stage3 tags etags: TAGS -TAGS: .force +TAGS: force etags $(INCDIR)/*.h *.h *.c clean: - rm -f $(BFD_LIBS) $(BFD_BACKENDS) *~ core libbfd.a + rm -f *.[oa] *~ core *.E clobber realclean: clean rm -f libbfd.a TAGS @@ -131,8 +153,7 @@ roll: # Dummy target to force execution of dependent targets. # -.force: -FORCE: +force: install: |