diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-29 07:28:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-29 07:28:05 +0000 |
commit | 9f5e8ae26b26fd668c4bca611d0c48beac587c84 (patch) | |
tree | 2b82e4c3fd23848d724040078c2a8cca220686c9 /gnu/usr.bin/binutils/Makefile.bsd-wrapper | |
parent | b5050502360db584732879fd2b559c5322c4ab99 (diff) |
Set ALL_MODULES and INSTALL_MODULES variables to really control what
gets built. Needed for gdb-only platforms.
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile.bsd-wrapper')
-rw-r--r-- | gnu/usr.bin/binutils/Makefile.bsd-wrapper | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper index 746681f086b..862466366c6 100644 --- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper +++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.19 1998/03/26 02:32:49 millert Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.20 1998/03/29 07:28:04 millert Exp $ MAN= binutils/ar.1 binutils/nm.1 \ binutils/objcopy.1 binutils/objdump.1 binutils/ranlib.1 \ @@ -17,10 +17,15 @@ MAN+= gdb/gdb.1 (${MACHINE_ARCH} == "powerpc") SUBDIRS+= binutils ld gas .endif + +# Used by the GNU Makefile +ALL_MODULES=${SUBDIRS:S/^/all-/g} +INSTALL_MODULES=${SUBDIRS:S/^/install-/g} all: config.status ${MAKE} CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \ - SUBDIRS="${SUBDIRS}" + SUBDIRS="${SUBDIRS}" ALL_MODULES="${ALL_MODULES}" \ + INSTALL_MODULES="${INSTALL_MODULES}" .FORCE: .IGNORE @@ -49,6 +54,7 @@ maninstall: install: maninstall ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \ bindir=${DESTDIR}/usr/bin INSTALL_MAN= SUBDIRS="${SUBDIRS}" \ + ALL_MODULES="${ALL_MODULES}" INSTALL_MODULES="${INSTALL_MODULES}" \ install clean cleandir: |