1*d9d2cbc0Sjsg# $OpenBSD: Makefile.bsd-wrapper,v 1.42 2014/07/11 23:23:28 jsg Exp $ 2becf174bSetheisen 3c5bb870aSespieINFODIR= infodir=/usr/share/info 4becf174bSetheisenINFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:. 5953e460fSniklas 6672dff93SespieMAN= doc/info.1 doc/install-info.1 doc/makeinfo.1 doc/texi2dvi.1 715d744a2SderaadtMAN+= doc/texindex.1 doc/info.5 doc/texinfo.5 doc/infokey.1 8672dff93Sespie 9*d9d2cbc0SjsgXCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}" 10*d9d2cbc0SjsgGNUCFLAGS= ${XCFLAGS} \ 112e0e222dSespie ACLOCAL=true AUTOHEADER=true AUTOCONF=true AUTOMAKE=true \ 1247e8a8afSespie MAKEINFOFLAGS='--no-split' 13990d9201Sespie 141726ff7aSespieFSFMAKE= ${MAKE} ${GNUCFLAGS} ${INFODIR} ${INFOPATH} 158ba519d4SespieFSFALL=all-recursive 16a62c7e93SespieMAN+= texi2pdf.1 17953e460fSniklas 18bd12369cSkstailey.include <bsd.own.mk> 19bd12369cSkstailey 20953e460fSniklasall: config.status 218ba519d4Sespie ${FSFMAKE} LDFLAGS=${LDSTATIC} $(FSFALL) 22953e460fSniklas 23953e460fSniklas.FORCE: .IGNORE 24953e460fSniklas 2571e87bb9Skstailey.ifdef GLOBAL_AUTOCONF_CACHE 269360f5a4SkstaileyCF= --cache-file=${GLOBAL_AUTOCONF_CACHE} 27e1e47e94Skstailey.else 289360f5a4SkstaileyCF= 299360f5a4Skstailey.endif 309360f5a4Skstailey 31953e460fSniklasconfig: .FORCE 329360f5a4Skstailey.ifndef GLOBAL_AUTOCONF_CACHE 33c1355a8cSniklas -rm -f config.cache 349360f5a4Skstailey.endif 3503a5d0d0Smillert PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ 36*d9d2cbc0Sjsg ${XCFLAGS} \ 378ec23683Skstailey INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \ 38feca34b4Sespie /bin/sh ${.CURDIR}/configure --infodir=/usr/share/info --prefix=/usr --disable-nls ${CF} 39953e460fSniklas 40953e460fSniklasconfig.status: 4103a5d0d0Smillert PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ 42*d9d2cbc0Sjsg ${XCFLAGS} \ 438ec23683Skstailey INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \ 44feca34b4Sespie /bin/sh ${.CURDIR}/configure --infodir=/usr/share/info --prefix=/usr --disable-nls ${CF} 45953e460fSniklas 4643406112SespieBEFOREMAN=config.status 4743406112Sespie 486e9cd8e2Skstailey.ifdef NOMAN 496e9cd8e2Skstaileymaninstall: 506e9cd8e2Skstailey @echo NOMAN is set 516e9cd8e2Skstailey.endif 526e9cd8e2Skstailey 53953e460fSniklasinstall: maninstall 54d8685319Sespie ${FSFMAKE} mandir= INSTALL_MAN= DESTDIR=${DESTDIR} install 556bd11868Sderaadt sh ${.CURDIR}/util/gen-dir-node ${DESTDIR}/usr/share/info > \ 566bd11868Sderaadt ${DESTDIR}/usr/share/info/dir 57953e460fSniklas 58953e460fSniklasclean cleandir: 597276a5ecSniklas rm -f ${CLEANFILES} 60672dff93Sespie if [ -e ${.OBJDIR}/Makefile ]; then \ 618ba519d4Sespie $(FSFMAKE) distclean; fi 62953e460fSniklas 63953e460fSniklasdepend: 648486ddd9Skstailey # Nothing here so far... 65953e460fSniklas 66953e460fSniklaslint: 67953e460fSniklas # Nothing here so far... 68953e460fSniklas 69953e460fSniklastags: 70953e460fSniklas # Nothing here so far... 71953e460fSniklas 72953e460fSniklas.include <bsd.obj.mk> 73953e460fSniklas.include <bsd.subdir.mk> 74408dd954Skstailey.ifndef NOMAN 75953e460fSniklas.include <bsd.man.mk> 76408dd954Skstailey.endif 77