Changeset View
Changeset View
Standalone View
Standalone View
share/mk/bsd.lib.mk
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
.if !defined(TAGS) || ! ${TAGS:Mpackage=*} | .if !defined(TAGS) || ! ${TAGS:Mpackage=*} | ||||
TAGS+= package=${PACKAGE:Uruntime} | TAGS+= package=${PACKAGE:Uruntime} | ||||
.endif | .endif | ||||
TAG_ARGS= -T ${TAGS:[*]:S/ /,/g} | TAG_ARGS= -T ${TAGS:[*]:S/ /,/g} | ||||
.endif | .endif | ||||
.if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | .if ${MK_DEBUG_FILES} != "no" && empty(DEBUG_FLAGS:M-g) && \ | ||||
empty(DEBUG_FLAGS:M-gdwarf*) | empty(DEBUG_FLAGS:M-gdwarf*) | ||||
SHARED_CFLAGS+= -g | CFLAGS+= ${DEBUG_FILES_CFLAGS} | ||||
SHARED_CXXFLAGS+= -g | CXXFLAGS+= ${DEBUG_FILES_CFLAGS} | ||||
CTFFLAGS+= -g | CTFFLAGS+= -g | ||||
.endif | .endif | ||||
.include <bsd.libnames.mk> | .include <bsd.libnames.mk> | ||||
# prefer .s to a .c, add .po, remove stuff not used in the BSD libraries | # prefer .s to a .c, add .po, remove stuff not used in the BSD libraries | ||||
# .pico used for PIC object files | # .pico used for PIC object files | ||||
.SUFFIXES: .out .o .bc .ll .po .pico .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln | .SUFFIXES: .out .o .bc .ll .po .pico .S .asm .s .c .cc .cpp .cxx .C .f .y .l .ln | ||||
▲ Show 20 Lines • Show All 367 Lines • Show Last 20 Lines |