version 1.83, 2017/06/07 16:01:07 |
version 1.84, 2017/06/16 10:20:52 |
|
|
|
|
all: ${_LIBS} _SUBDIRUSE |
all: ${_LIBS} _SUBDIRUSE |
|
|
|
BUILDAFTER += ${_LIBS} |
|
|
OBJS+= ${SRCS:N*.h:R:S/$/.o/} |
OBJS+= ${SRCS:N*.h:R:S/$/.o/} |
|
BUILDAFTER += ${OBJS} |
|
|
lib${LIB}.a: ${OBJS} |
lib${LIB}.a: ${OBJS} |
@echo building standard ${LIB} library |
@echo building standard ${LIB} library |
|
|
${RANLIB} lib${LIB}.a |
${RANLIB} lib${LIB}.a |
|
|
POBJS+= ${OBJS:.o=.po} |
POBJS+= ${OBJS:.o=.po} |
|
BUILDAFTER += ${POBJS} |
lib${LIB}_p.a: ${POBJS} |
lib${LIB}_p.a: ${POBJS} |
@echo building profiled ${LIB} library |
@echo building profiled ${LIB} library |
@rm -f lib${LIB}_p.a |
@rm -f lib${LIB}_p.a |
|
|
${RANLIB} lib${LIB}_p.a |
${RANLIB} lib${LIB}_p.a |
|
|
SOBJS+= ${OBJS:.o=.so} |
SOBJS+= ${OBJS:.o=.so} |
|
BUILDAFTER += ${SOBJS} |
${FULLSHLIBNAME}: ${SOBJS} ${DPADD} |
${FULLSHLIBNAME}: ${SOBJS} ${DPADD} |
@echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\) |
@echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\) |
@rm -f ${.TARGET} |
@rm -f ${.TARGET} |
|
|
|
|
# all .do files... |
# all .do files... |
DOBJS+= ${OBJS:.o=.do} |
DOBJS+= ${OBJS:.o=.do} |
|
BUILDAFTER += ${DOBJS} |
|
|
# .do files that we actually need for where this dist lib will be used |
# .do files that we actually need for where this dist lib will be used |
.if defined(DIST_OBJS) |
.if defined(DIST_OBJS) |