diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-17 14:18:53 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-17 14:18:53 +0800 |
commit | 8cb29110950daa71ef6247ed5d0ba1ea9320fa20 (patch) | |
tree | 0d1e5083acd77e6593d78ee34dc906de8740edae /innbbsd | |
parent | 2d6dc07feca4e5e3dc8333f514197573dfaefda0 (diff) | |
download | pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar.gz pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar.bz2 pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar.lz pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar.xz pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.tar.zst pttbbs-8cb29110950daa71ef6247ed5d0ba1ea9320fa20.zip |
Split out os dependent library
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4378 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd')
-rw-r--r-- | innbbsd/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/innbbsd/Makefile b/innbbsd/Makefile index 0a40c7db..7d07107d 100644 --- a/innbbsd/Makefile +++ b/innbbsd/Makefile @@ -39,7 +39,8 @@ ${UTIL_DIR}/${fn}: # FIXME: dependency cd ${UTIL_DIR}; make ${fn} .endfor -LINK_UTIL_OBJS+= $(SRCROOT)/common/sys/libcmsys.a \ +LDLIBS+=$(SRCROOT)/common/osdep/libosdep.a \ + $(SRCROOT)/common/sys/libcmsys.a \ $(SRCROOT)/common/bbs/libcmbbs.a echobbslib.o: echobbslib.c @@ -48,20 +49,20 @@ echobbslib.o: echobbslib.c innbbsd: inndchannel.o innbbsd.o connectsock.o rfc931.o daemon.o \ file.o pmain.o his.o dbz.o closeonexec.o dbztool.o \ inntobbs.o receive_article.o echobbslib.o str_decode.o nocem.o - ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} + ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} $(LDLIBS) bbslink: bbslink.o pmain.o inntobbs.o echobbslib.o connectsock.o \ file.o port.o str_decode.o - ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} + ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} $(LDLIBS) bbsnnrp: bbsnnrp.o pmain.o bbslib.o connectsock.o file.o - ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} + ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} $(LDLIBS) ctlinnbbsd: ctlinnbbsd.o pmain.o bbslib.o connectsock.o file.o - ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} + ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} $(LDLIBS) mkhistory: mkhistory.o bbslib.o file.o his.o dbz.o port.o closeonexec.o - ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} + ${CC} -o $@ ${LDFLAGS} $? ${LINK_UTIL_OBJS} $(LDLIBS) install: ${PROGS} install -d ${BBSHOME}/innd/ |