version 1.327, 2013/02/08 02:30:53 |
version 1.331, 2013/02/13 08:00:47 |
|
|
LIBISPRIVATE?= no |
LIBISPRIVATE?= no |
LIBISCXX?= no |
LIBISCXX?= no |
|
|
_LIB_PREFIX= lib |
|
|
|
.if ${LIBISMODULE} != "no" |
.if ${LIBISMODULE} != "no" |
_LIB_PREFIX= # empty |
_LIB_PREFIX?= # empty |
MKDEBUGLIB:= no |
MKDEBUGLIB:= no |
MKLINT:= no |
MKLINT:= no |
MKPICINSTALL:= no |
MKPICINSTALL:= no |
MKPROFILE:= no |
MKPROFILE:= no |
MKSTATICLIB:= no |
MKSTATICLIB:= no |
|
.else |
|
_LIB_PREFIX?= lib |
.endif |
.endif |
|
|
.if ${LIBISPRIVATE} != "no" |
.if ${LIBISPRIVATE} != "no" |
Line 613 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
Line 613 ${_LIB.so.full}: ${SOLIB} ${DPADD} ${DPL |
|
${LIBCC} ${LDLIBC} -Wl,-x -shared ${SHLIB_SHFLAGS} \ |
${LIBCC} ${LDLIBC} -Wl,-x -shared ${SHLIB_SHFLAGS} \ |
${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \ |
${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \ |
-Wl,--whole-archive ${SOLIB} \ |
-Wl,--whole-archive ${SOLIB} \ |
-Wl,--no-whole-archive ${_LDADD.${_LIB} |
-Wl,--no-whole-archive ${_LDADD.${_LIB}} |
# We don't use INSTALL_SYMLINK here because this is just |
# We don't use INSTALL_SYMLINK here because this is just |
# happening inside the build directory/objdir. XXX Why does |
# happening inside the build directory/objdir. XXX Why does |
# this spend so much effort on libraries that aren't live??? XXX |
# this spend so much effort on libraries that aren't live??? XXX |
Line 723 libinstall:: ${_DEST.LIB}/${_LIB_g.a} |
|
Line 723 libinstall:: ${_DEST.LIB}/${_LIB_g.a} |
|
.PRECIOUS: ${_DEST.LIB}/${_LIB_g.a} |
.PRECIOUS: ${_DEST.LIB}/${_LIB_g.a} |
|
|
.if ${MKUPDATE} == "no" |
.if ${MKUPDATE} == "no" |
.if !defined(BUILD) && !make(all) && !make(${_LIB_g.a) |
.if !defined(BUILD) && !make(all) && !make(${_LIB_g.a}) |
${_DEST.LIB}/${_LIB_g.a}! .MADE |
${_DEST.LIB}/${_LIB_g.a}! .MADE |
.endif |
.endif |
${_DEST.LIB}/${_LIB_g.a}! ${_LIB_g.a} __archiveinstall |
${_DEST.LIB}/${_LIB_g.a}! ${_LIB_g.a} __archiveinstall |
Line 744 libinstall:: ${_DEST.LIB}/${_LIB_pic.a} |
|
Line 744 libinstall:: ${_DEST.LIB}/${_LIB_pic.a} |
|
${_DEST.LIB}/${_LIB_pic.a}! .MADE |
${_DEST.LIB}/${_LIB_pic.a}! .MADE |
.endif |
.endif |
.if ${MKPICLIB} == "no" |
.if ${MKPICLIB} == "no" |
${_DEST.LIB}/${_LIB_pic.a}! ${_LIB_pic.a} __archivesymlinkpic |
${_DEST.LIB}/${_LIB_pic.a}! ${_LIB.a} __archivesymlinkpic |
.else |
.else |
${_DEST.LIB}/${_LIB_pic.a}! ${_LIB_pic.a} __archiveinstall |
${_DEST.LIB}/${_LIB_pic.a}! ${_LIB_pic.a} __archiveinstall |
.endif |
.endif |
Line 753 ${_DEST.LIB}/${_LIB_pic.a}! ${_LIB_pic.a |
|
Line 753 ${_DEST.LIB}/${_LIB_pic.a}! ${_LIB_pic.a |
|
${_DEST.LIB}/${_LIB_pic.a}: .MADE |
${_DEST.LIB}/${_LIB_pic.a}: .MADE |
.endif |
.endif |
.if ${MKPICLIB} == "no" |
.if ${MKPICLIB} == "no" |
${_DEST.LIB}/${_LIB_pic.a}: ${_LIB_pic.a} __archivesymlinkpic |
${_DEST.LIB}/${_LIB_pic.a}: ${_LIB.a} __archivesymlinkpic |
.else |
.else |
${_DEST.LIB}/${_LIB_pic.a}: ${_LIB_pic.a} __archiveinstall |
${_DEST.LIB}/${_LIB_pic.a}: ${_LIB_pic.a} __archiveinstall |
.endif |
.endif |