Add our version maps back

This commit is contained in:
Roy Marples 2008-01-06 11:38:37 +00:00
parent 2b54426bd3
commit 62ef80e7f8
5 changed files with 7 additions and 1 deletions

1
src/.gitignore vendored
View File

@ -3,6 +3,7 @@ rc
*.[oa]
*.lo
*.so
*.So
*.so.*
version.h

View File

@ -30,11 +30,15 @@ INCMODE?= 0444
all: ${_LIBS}
lib${LIB}.a: ${OBJS} ${STATICOBJS}
@${ECHO} building static library $@
${AR} rc $@ $^
${RANLIB} $@
${SHLIB_NAME}: ${VERSION_MAP}
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
${SHLIB_NAME}: ${SOBJS}
@${ECHO} building shared library $@

View File

@ -5,10 +5,10 @@ LIB= einfo
SHLIB_MAJOR= 1
SRCS= libeinfo.c
INCS= einfo.h
VERSION_MAP= einfo.map
SHLIBDIR= /${LIBNAME}
include $(TOPDIR)/cc.mk
include $(TOPDIR)/lib.mk
include $(TOPDIR)/$(TERMCAP).mk

View File

@ -5,6 +5,7 @@ LIB= rc
SHLIB_MAJOR= 1
SRCS= librc.c librc-daemon.c librc-depend.c librc-misc.c librc-strlist.c
INCS= rc.h
VERSION_MAP= rc.map
CPPFLAGS+= -DLIB=\"${LIBNAME}\"
LDADD+= ${LIBKVM}