bsd.prog.mk (799483e49ea9412cd4d87a33a024bc3ab3f21e9d) | bsd.prog.mk (b60371f8a6344bfe31b5013dfa28213d8f4b2bb2) |
---|---|
1# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 2# $FreeBSD$ 3 4.include <bsd.init.mk> 5.include <bsd.compiler.mk> 6 7.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm 8 --- 52 unchanged lines hidden (view full) --- 61 62.if ${MK_DEBUG_FILES} != "no" 63PROG_FULL=${PROG}.full 64# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory 65.if defined(BINDIR) && (\ 66 ${BINDIR} == "/bin" ||\ 67 ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\ 68 ${BINDIR} == "/sbin" ||\ | 1# from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 2# $FreeBSD$ 3 4.include <bsd.init.mk> 5.include <bsd.compiler.mk> 6 7.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm 8 --- 52 unchanged lines hidden (view full) --- 61 62.if ${MK_DEBUG_FILES} != "no" 63PROG_FULL=${PROG}.full 64# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory 65.if defined(BINDIR) && (\ 66 ${BINDIR} == "/bin" ||\ 67 ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\ 68 ${BINDIR} == "/sbin" ||\ |
69 ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin"\ | 69 ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin" ||\ 70 ${BINDIR} == "/usr/lib" \ |
70 ) 71DEBUGFILEDIR= ${DEBUGDIR}${BINDIR} 72.else 73DEBUGFILEDIR?= ${BINDIR}/.debug 74.endif 75.if !exists(${DESTDIR}${DEBUGFILEDIR}) 76DEBUGMKDIR= 77.endif --- 220 unchanged lines hidden --- | 71 ) 72DEBUGFILEDIR= ${DEBUGDIR}${BINDIR} 73.else 74DEBUGFILEDIR?= ${BINDIR}/.debug 75.endif 76.if !exists(${DESTDIR}${DEBUGFILEDIR}) 77DEBUGMKDIR= 78.endif --- 220 unchanged lines hidden --- |