Makefile (195697) | Makefile (200499) |
---|---|
1# $FreeBSD: head/gnu/lib/libgcc/Makefile 195697 2009-07-14 21:19:13Z kan $ | 1# $FreeBSD: head/gnu/lib/libgcc/Makefile 200499 2009-12-14 01:51:23Z kan $ |
2GCCDIR= ${.CURDIR}/../../../contrib/gcc 3GCCLIB= ${.CURDIR}/../../../contrib/gcclibs 4 5LIB= gcc 6SHLIB_NAME= libgcc_s.so.1 7SHLIBDIR?= /lib 8 9.include <bsd.own.mk> --- 282 unchanged lines hidden (view full) --- 292${COMMONHDRS}: ${.CURDIR}/../../usr.bin/cc/cc_tools/Makefile 293 ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET} 294 295CLEANFILES += ${COMMONHDRS} 296CLEANFILES += cs-*.h option* 297 298#----------------------------------------------------------------------- 299# | 2GCCDIR= ${.CURDIR}/../../../contrib/gcc 3GCCLIB= ${.CURDIR}/../../../contrib/gcclibs 4 5LIB= gcc 6SHLIB_NAME= libgcc_s.so.1 7SHLIBDIR?= /lib 8 9.include <bsd.own.mk> --- 282 unchanged lines hidden (view full) --- 292${COMMONHDRS}: ${.CURDIR}/../../usr.bin/cc/cc_tools/Makefile 293 ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET} 294 295CLEANFILES += ${COMMONHDRS} 296CLEANFILES += cs-*.h option* 297 298#----------------------------------------------------------------------- 299# |
300# Build additional static libgcc_eh[_p].a librarries. | 300# Build symbol version map |
301# 302SHLIB_MKMAP = ${GCCDIR}/mkmap-symver.awk 303SHLIB_MKMAP_OPTS = 304SHLIB_MAPFILES = ${GCCDIR}/libgcc-std.ver 305VERSION_MAP = libgcc.map 306 307libgcc.map: ${SHLIB_MKMAP} ${SHLIB_MAPFILES} ${SOBJS} ${OBJS:R:S/$/.So/} 308 ( nm -pg ${SOBJS};echo %% ; \ 309 cat ${SHLIB_MAPFILES} \ 310 | sed -e '/^[ ]*#/d' \ 311 -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \ 312 | ${CC} ${CFLAGS} -E -xassembler-with-cpp -; \ 313 ) | awk -f ${SHLIB_MKMAP} ${SHLIB_MKMAP_OPTS} > ${.TARGET} 314 315CLEANFILES += libgcc.map 316 317#----------------------------------------------------------------------- 318# | 301# 302SHLIB_MKMAP = ${GCCDIR}/mkmap-symver.awk 303SHLIB_MKMAP_OPTS = 304SHLIB_MAPFILES = ${GCCDIR}/libgcc-std.ver 305VERSION_MAP = libgcc.map 306 307libgcc.map: ${SHLIB_MKMAP} ${SHLIB_MAPFILES} ${SOBJS} ${OBJS:R:S/$/.So/} 308 ( nm -pg ${SOBJS};echo %% ; \ 309 cat ${SHLIB_MAPFILES} \ 310 | sed -e '/^[ ]*#/d' \ 311 -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \ 312 | ${CC} ${CFLAGS} -E -xassembler-with-cpp -; \ 313 ) | awk -f ${SHLIB_MKMAP} ${SHLIB_MKMAP_OPTS} > ${.TARGET} 314 315CLEANFILES += libgcc.map 316 317#----------------------------------------------------------------------- 318# |
319# Build additional static libgcc_eh[_p].a librarries. | 319# Build additional static libgcc_eh[_p].a libraries. |
320# 321lib${LIB}_eh.a: ${EH_OBJS_T} 322 @${ECHO} building static ${LIB}_eh library 323 @rm -f ${.TARGET} 324 @${AR} cq ${.TARGET} `lorder ${EH_OBJS_T} | tsort -q` 325 ${RANLIB} ${.TARGET} 326 327all: lib${LIB}_eh.a --- 27 unchanged lines hidden --- | 320# 321lib${LIB}_eh.a: ${EH_OBJS_T} 322 @${ECHO} building static ${LIB}_eh library 323 @rm -f ${.TARGET} 324 @${AR} cq ${.TARGET} `lorder ${EH_OBJS_T} | tsort -q` 325 ${RANLIB} ${.TARGET} 326 327all: lib${LIB}_eh.a --- 27 unchanged lines hidden --- |