bsd.prog.mk (f993ed2fbd3c307200ed9a6351e649f0904b39c5) bsd.prog.mk (982f1fc2d8ae42cec10044918d1ddf04271f8950)
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.include <bsd.linker.mk>
7
8.SUFFIXES: .out .o .bc .c .cc .cpp .cxx .C .m .y .l .ll .ln .s .S .asm

--- 68 unchanged lines hidden (view full) ---

77.endif
78TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
79.endif
80
81.if defined(NO_SHARED) && ${NO_SHARED:tl} != "no"
82LDFLAGS+= -static
83.endif
84
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.include <bsd.linker.mk>
7
8.SUFFIXES: .out .o .bc .c .cc .cpp .cxx .C .m .y .l .ll .ln .s .S .asm

--- 68 unchanged lines hidden (view full) ---

77.endif
78TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
79.endif
80
81.if defined(NO_SHARED) && ${NO_SHARED:tl} != "no"
82LDFLAGS+= -static
83.endif
84
85# clang currently defaults to dynamic TLS for mips64 binaries
86.if ${MACHINE_ARCH:Mmips64*} && ${COMPILER_TYPE} == "clang"
87CFLAGS+= -ftls-model=initial-exec
88.endif
89
85.if ${MK_DEBUG_FILES} != "no"
86PROG_FULL=${PROG}.full
87# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory
88.if defined(BINDIR) && (\
89 ${BINDIR} == "/bin" ||\
90 ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\
91 ${BINDIR} == "/sbin" ||\
92 ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin" ||\

--- 250 unchanged lines hidden ---
90.if ${MK_DEBUG_FILES} != "no"
91PROG_FULL=${PROG}.full
92# Use ${DEBUGDIR} for base system debug files, else .debug subdirectory
93.if defined(BINDIR) && (\
94 ${BINDIR} == "/bin" ||\
95 ${BINDIR:C%/libexec(/.*)?%/libexec%} == "/libexec" ||\
96 ${BINDIR} == "/sbin" ||\
97 ${BINDIR:C%/usr/(bin|bsdinstall|libexec|lpr|sendmail|sm.bin|sbin|tests)(/.*)?%/usr/bin%} == "/usr/bin" ||\

--- 250 unchanged lines hidden ---