1*fc532a6eSjca# $OpenBSD: Makefile.bsd-wrapper,v 1.48 2023/09/06 11:49:11 jca 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*fc532a6eSjcaCFLAGS+= -std=gnu89 10d9d2cbc0SjsgXCFLAGS= CC="${CC}" CFLAGS="${CFLAGS} ${COPTS}" LDFLAGS="${LDFLAGS}" 11d9d2cbc0SjsgGNUCFLAGS= ${XCFLAGS} \ 122e0e222dSespie ACLOCAL=true AUTOHEADER=true AUTOCONF=true AUTOMAKE=true \ 1347e8a8afSespie MAKEINFOFLAGS='--no-split' 14990d9201Sespie 151726ff7aSespieFSFMAKE= ${MAKE} ${GNUCFLAGS} ${INFODIR} ${INFOPATH} 168ba519d4SespieFSFALL=all-recursive 17a62c7e93SespieMAN+= texi2pdf.1 18953e460fSniklas 19bd12369cSkstailey.include <bsd.own.mk> 20bd12369cSkstailey 21953e460fSniklasall: config.status 228ba519d4Sespie ${FSFMAKE} LDFLAGS=${LDSTATIC} $(FSFALL) 23953e460fSniklas 24953e460fSniklas.FORCE: .IGNORE 25953e460fSniklas 2671e87bb9Skstailey.ifdef GLOBAL_AUTOCONF_CACHE 279360f5a4SkstaileyCF= --cache-file=${GLOBAL_AUTOCONF_CACHE} 28e1e47e94Skstailey.else 299360f5a4SkstaileyCF= 309360f5a4Skstailey.endif 319360f5a4Skstailey 32953e460fSniklasconfig: .FORCE 339360f5a4Skstailey.ifndef GLOBAL_AUTOCONF_CACHE 34c1355a8cSniklas -rm -f config.cache 359360f5a4Skstailey.endif 3603a5d0d0Smillert PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ 37d9d2cbc0Sjsg ${XCFLAGS} \ 388bf92a93Snatano INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \ 398bf92a93Snatano INSTALL_SCRIPT="${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \ 408bf92a93Snatano INSTALL_DATA="${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE}" \ 41feca34b4Sespie /bin/sh ${.CURDIR}/configure --infodir=/usr/share/info --prefix=/usr --disable-nls ${CF} 42953e460fSniklas 43953e460fSniklasconfig.status: 4403a5d0d0Smillert PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ 45d9d2cbc0Sjsg ${XCFLAGS} \ 468bf92a93Snatano INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \ 478bf92a93Snatano INSTALL_SCRIPT="${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" \ 488bf92a93Snatano INSTALL_DATA="${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE}" \ 49feca34b4Sespie /bin/sh ${.CURDIR}/configure --infodir=/usr/share/info --prefix=/usr --disable-nls ${CF} 50953e460fSniklas 5143406112SespieBEFOREMAN=config.status 5243406112Sespie 536e9cd8e2Skstailey.ifdef NOMAN 546e9cd8e2Skstaileymaninstall: 556e9cd8e2Skstailey @echo NOMAN is set 566e9cd8e2Skstailey.endif 576e9cd8e2Skstailey 58953e460fSniklasinstall: maninstall 59a6f733a9Snatano ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} ${DESTDIR}/usr/share/texinfo 60d8685319Sespie ${FSFMAKE} mandir= INSTALL_MAN= DESTDIR=${DESTDIR} install 616bd11868Sderaadt sh ${.CURDIR}/util/gen-dir-node ${DESTDIR}/usr/share/info > \ 626bd11868Sderaadt ${DESTDIR}/usr/share/info/dir 63a6f733a9Snatano chown ${MANOWN}:${MANGRP} ${DESTDIR}/usr/share/info/dir 64fb1aaa56Stb chmod ${MANMODE} ${DESTDIR}/usr/share/info/dir 65953e460fSniklas 66953e460fSniklasclean cleandir: 677276a5ecSniklas rm -f ${CLEANFILES} 68672dff93Sespie if [ -e ${.OBJDIR}/Makefile ]; then \ 698ba519d4Sespie $(FSFMAKE) distclean; fi 70953e460fSniklas 71953e460fSniklastags: 72953e460fSniklas # Nothing here so far... 73953e460fSniklas 74953e460fSniklas.include <bsd.obj.mk> 75953e460fSniklas.include <bsd.subdir.mk> 76408dd954Skstailey.ifndef NOMAN 77953e460fSniklas.include <bsd.man.mk> 78408dd954Skstailey.endif 79