# $OpenBSD: Makefile.bsd-wrapper,v 1.17 1997/11/04 13:22:25 kstailey Exp $ MAN= binutils/ar.1 binutils/nm.1 \ binutils/objcopy.1 binutils/objdump.1 binutils/ranlib.1 \ binutils/size.1 binutils/strings.1 binutils/strip.1 \ gas/doc/as.1 gprof/gprof.1 ld/ld.1 SUBDIRS= libiberty opcodes bfd # gdb not ready yet .if (${MACHINE_ARCH} != "powerpc") SUBDIRS+= gdb mmalloc readline MAN+= gdb/gdb.1 .endif SUBDIRS+= binutils ld gas all: config.status ${MAKE} CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS=${LDSTATIC} \ SUBDIRS="${SUBDIRS}" .FORCE: .IGNORE .include .ifdef GLOBAL_AUTOCONF_CACHE CF= --cache-file=${GLOBAL_AUTOCONF_CACHE} .else CF= .endif config: .FORCE .ifndef GLOBAL_AUTOCONF_CACHE -rm -f config.cache .endif sh ${.CURDIR}/configure --prefix=/usr --disable-gdbtk ${CF} config.status: sh ${.CURDIR}/configure --prefix=/usr --disable-gdbtk ${CF} .ifdef NOMAN maninstall: @echo NOMAN is set .endif install: maninstall ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \ bindir=${DESTDIR}/usr/bin INSTALL_MAN= install clean cleandir: -@if [ -e Makefile ]; then ${MAKE} distclean; fi depend: # Nothing here so far... lint: # Nothing here so far... tags: # Nothing here so far... .include .include .ifndef NOMAN .include .endif