Add our version maps back
This commit is contained in:
parent
2b54426bd3
commit
62ef80e7f8
1
src/.gitignore
vendored
1
src/.gitignore
vendored
@ -3,6 +3,7 @@ rc
|
|||||||
*.[oa]
|
*.[oa]
|
||||||
*.lo
|
*.lo
|
||||||
*.so
|
*.so
|
||||||
|
*.So
|
||||||
*.so.*
|
*.so.*
|
||||||
version.h
|
version.h
|
||||||
|
|
||||||
|
@ -30,11 +30,15 @@ INCMODE?= 0444
|
|||||||
|
|
||||||
all: ${_LIBS}
|
all: ${_LIBS}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lib${LIB}.a: ${OBJS} ${STATICOBJS}
|
lib${LIB}.a: ${OBJS} ${STATICOBJS}
|
||||||
@${ECHO} building static library $@
|
@${ECHO} building static library $@
|
||||||
${AR} rc $@ $^
|
${AR} rc $@ $^
|
||||||
${RANLIB} $@
|
${RANLIB} $@
|
||||||
|
|
||||||
|
${SHLIB_NAME}: ${VERSION_MAP}
|
||||||
|
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
|
||||||
|
|
||||||
${SHLIB_NAME}: ${SOBJS}
|
${SHLIB_NAME}: ${SOBJS}
|
||||||
@${ECHO} building shared library $@
|
@${ECHO} building shared library $@
|
||||||
|
@ -5,10 +5,10 @@ LIB= einfo
|
|||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
SRCS= libeinfo.c
|
SRCS= libeinfo.c
|
||||||
INCS= einfo.h
|
INCS= einfo.h
|
||||||
|
VERSION_MAP= einfo.map
|
||||||
|
|
||||||
SHLIBDIR= /${LIBNAME}
|
SHLIBDIR= /${LIBNAME}
|
||||||
|
|
||||||
include $(TOPDIR)/cc.mk
|
include $(TOPDIR)/cc.mk
|
||||||
include $(TOPDIR)/lib.mk
|
include $(TOPDIR)/lib.mk
|
||||||
include $(TOPDIR)/$(TERMCAP).mk
|
include $(TOPDIR)/$(TERMCAP).mk
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ LIB= rc
|
|||||||
SHLIB_MAJOR= 1
|
SHLIB_MAJOR= 1
|
||||||
SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c librc-strlist.c
|
SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c librc-strlist.c
|
||||||
INCS= rc.h
|
INCS= rc.h
|
||||||
|
VERSION_MAP= rc.map
|
||||||
|
|
||||||
CPPFLAGS+= -DLIB=\"${LIBNAME}\"
|
CPPFLAGS+= -DLIB=\"${LIBNAME}\"
|
||||||
LDADD+= ${LIBKVM}
|
LDADD+= ${LIBKVM}
|
||||||
|
Loading…
Reference in New Issue
Block a user