diff options
author | K. Richard Pixley <rich@cygnus> | 1992-03-08 07:47:55 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-03-08 07:47:55 +0000 |
commit | 787c6bfe7021f84607854e45e1f7297e957a1094 (patch) | |
tree | 07f9d37129cba4a284ef8ea3ecc8102827c29b0c /gas/Makefile.in | |
parent | 335413d8ea92576b763a43a1fde95c25eaa5e231 (diff) | |
download | gdb-787c6bfe7021f84607854e45e1f7297e957a1094.zip gdb-787c6bfe7021f84607854e45e1f7297e957a1094.tar.gz gdb-787c6bfe7021f84607854e45e1f7297e957a1094.tar.bz2 |
This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier. These are Makefiles relevant to the progressive
release currently in progress.
* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
hosts or targets.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r-- | gas/Makefile.in | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in index 2a0d188..159bc2e 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -28,10 +28,14 @@ srcdir = . prefix = /usr/local -bindir = $(prefix)/bin +program_prefix = +exec_prefix = $(prefix) +bindir = $(exec_prefix)/bin +libdir = $(exec_prefix)/lib +tooldir = $(libdir) + datadir = $(prefix)/lib -libdir = $(prefix)/lib -mandir = $(datadir)/man +mandir = $(prefix)/man man1dir = $(mandir)/man1 man2dir = $(mandir)/man2 man3dir = $(mandir)/man3 @@ -41,7 +45,7 @@ man6dir = $(mandir)/man6 man7dir = $(mandir)/man7 man8dir = $(mandir)/man8 man9dir = $(mandir)/man9 -infodir = $(datadir)/info +infodir = $(prefix)/info includedir = $(prefix)/include docdir = $(datadir)/doc @@ -113,7 +117,6 @@ REAL_HEADERS = \ $(srcdir)/struc-symbol.h \ $(srcdir)/subsegs.h \ $(srcdir)/symbols.h \ - $(srcdir)/syscalls.h \ $(srcdir)/write.h LINKED_HEADERS = \ @@ -205,6 +208,8 @@ as.new: $(OBJS) $(LIBDEPS) -mv -f as.new as.old $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o as.new $(OBJS) $(LIBS) $(LOADLIBES) +check: + config.status: @echo You must configure gas. Look at the INSTALL file for details. @false @@ -273,6 +278,7 @@ read.o : read.c as.h host.h targ-env.h obj-format.h \ targ-cpu.h struc-symbol.h \ write.h flonum.h bignum.h expr.h frags.h hash.h read.h symbols.h tc.h obj.h \ +strerror.o : strerror.c strstr.o : strstr.c subsegs.o : subsegs.c as.h host.h targ-env.h obj-format.h \ targ-cpu.h struc-symbol.h \ @@ -325,11 +331,10 @@ distclean: clean # Copy the files into directories where they will be run. install: - if [ "$(host_alias)" = "$(target_alias)" ] ; then \ - $(INSTALL_PROGRAM) as.new $(bindir)/as ; \ - else \ - $(INSTALL_PROGRAM) as.new $(bindir)/as-$(target_alias) ; \ - fi + -rm -f $(bindir)/$(program_prefix)as + $(INSTALL_PROGRAM) as.new $(bindir)/$(program_prefix)as + -rm -f $(tooldir)/as + ln $(bindir)/$(program_prefix)as $(tooldir)/as # Create the installation directory. install-dir: @@ -348,7 +353,7 @@ uninstall: # These exist for maintenance purposes. tags TAGS: force - etags $(REAL_SOURCES) $(REAL_HEADERS) $(srcdir)/README $(srcdir)/Makefile $(srcdir)/config/*.[hc] + etags $(REAL_HEADERS) $(REAL_SOURCES) $(srcdir)/config/*.[hc] $(srcdir)/README $(srcdir)/Makefile.in bootstrap: as.new force $(MAKE) stage1 |