diff options
author | David D. Zuhn <zoo@cygnus> | 1992-11-10 22:07:02 +0000 |
---|---|---|
committer | David D. Zuhn <zoo@cygnus> | 1992-11-10 22:07:02 +0000 |
commit | 6cabab7823c99010a720eb8e0fd9f09bfba3a052 (patch) | |
tree | 93c62f6935182fb3c3014cb1192f58a52cbdb1f5 /bfd/Makefile.in | |
parent | b62a08d6067da52c97860f4e7860a16c9531da59 (diff) | |
download | gdb-6cabab7823c99010a720eb8e0fd9f09bfba3a052.zip gdb-6cabab7823c99010a720eb8e0fd9f09bfba3a052.tar.gz gdb-6cabab7823c99010a720eb8e0fd9f09bfba3a052.tar.bz2 |
make cc command lines more consistent
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r-- | bfd/Makefile.in | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index d24d055..6114ddb 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -148,10 +148,10 @@ $(TARGETLIB): $(OFILES) targets.o: targets.c - $(CC) $(CFLAGS) -c $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< + $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< archures.o: archures.c - $(CC) $(CFLAGS) -c $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< + $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< subdir_do: force @for i in $(DODIRS); do \ @@ -255,31 +255,22 @@ install: -parent=`echo $(includedir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(includedir) ] ; then true ; else mkdir $(includedir) ; fi + # Install BFD include file, and others that it needs. Install them + # both in GCC's include directory, and in the system include dir + # if configured as $(oldincludedir) -- which it usually isnt. $(INSTALL_DATA) $(INCDIR)/bfd.h $(includedir)/bfd.h - -if [ -z "$(oldincludedir)" ] ; then true ; else if [ -d $(oldincludedir) ] ; then true ; else mkdir $(oldincludedir) ; fi ; $(INSTALL_DATA) $(INCDIR)/bfd.h $(oldincludedir)/bfd.h ; fi + $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h + $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h + -if [ -z "$(oldincludedir)" ] ; then true ; \ + else if [ -d $(oldincludedir) ] ; then true ; \ + else mkdir $(oldincludedir) ; \ + fi ; \ + $(INSTALL_DATA) $(INCDIR)/bfd.h $(oldincludedir)/bfd.h;\ + $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h;\ + $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h;\ + fi @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) -# Target to uncomment host-specific lines in this makefile. Such lines must -# have the following string beginning in column 1: #__<hostname>__# -# Original Makefile is backed up as 'Makefile.old'. -# -# Invoke with: make make HOST=xxx -# -make: - -@if test $(HOST)x = x ; then \ - echo 'Specify "make make HOST=???"'; \ - exit 1; \ - fi ; \ - grep -s "^#The next line was generated by 'make make'" Makefile; \ - if test $$? = 0 ; then \ - echo "Makefile has already been processed with 'make make'";\ - exit 1; \ - fi ; \ - mv -f Makefile Makefile.old; \ - echo "#The next line was generated by 'make make'" >Makefile ; \ - echo "HOST=$(HOST)" >>Makefile ; \ - echo >>Makefile ; \ - sed "s/^#__$(HOST)__#//" < Makefile.old >>Makefile Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag) $(SHELL) ./config.status |