bsd.lib.mk (1409e715e64d67b3093a889e63b33ef48e280ec8) bsd.lib.mk (de6feefdb7cfd0779277a6c451ce19d60b1d2b4d)
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
2# $FreeBSD$
3#
4
5.include <bsd.init.mk>
6
7.if defined(LIB_CXX) || defined(SHLIB_CXX)
8_LD= ${CXX}

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

64.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
65TAGS+= package=${PACKAGE:Uruntime}
66.endif
67TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
68.endif
69
70.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \
71 empty(DEBUG_FLAGS:M-gdwarf*)
1# from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
2# $FreeBSD$
3#
4
5.include <bsd.init.mk>
6
7.if defined(LIB_CXX) || defined(SHLIB_CXX)
8_LD= ${CXX}

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

64.if !defined(TAGS) || ! ${TAGS:Mpackage=*}
65TAGS+= package=${PACKAGE:Uruntime}
66.endif
67TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
68.endif
69
70.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \
71 empty(DEBUG_FLAGS:M-gdwarf*)
72SHARED_CFLAGS+= -g
73SHARED_CXXFLAGS+= -g
72CFLAGS+= ${DEBUG_FILES_CFLAGS}
73CXXFLAGS+= ${DEBUG_FILES_CFLAGS}
74CTFFLAGS+= -g
75.endif
76
77.include <bsd.libnames.mk>
78
79# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries
80# .pico used for PIC object files
81.SUFFIXES: .out .o .bc .ll .po .pico .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln

--- 378 unchanged lines hidden ---
74CTFFLAGS+= -g
75.endif
76
77.include <bsd.libnames.mk>
78
79# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries
80# .pico used for PIC object files
81.SUFFIXES: .out .o .bc .ll .po .pico .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln

--- 378 unchanged lines hidden ---