Changed Makefiles for Darwin

This commit is contained in:
Michiel Broek 2005-01-06 22:34:53 +00:00
parent 7f6169618c
commit e5457c6187
6 changed files with 18 additions and 18 deletions

View File

@ -48,7 +48,7 @@ OTHER = Makefile README ftscprod.008 mkprod.awk \
README.diesel README.macro Diesel.doc nodelist.conf
TARGET = libmbse.a libdbase.a libmsgbase.a libmbinet.a libdiesel.a \
libnodelist.a mbcharsetc charset.bin
LIBS += ../lib/libmbse.a
SLIBS = ../lib/libmbse.a
#############################################################################
@ -84,8 +84,8 @@ libnodelist.a: ${NODELIST_OBJS}
ar r $@ $?
${RANLIB} $@
mbcharsetc: ${CHC_OBJS}
${CC} -o mbcharsetc ${CHC_OBJS} ${LDFLAGS} ${LIBS}
mbcharsetc: ${CHC_OBJS} ${SLIBS}
${CC} -o mbcharsetc ${CHC_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
charset.bin: mbcharsetc ${MAPS}
./mbcharsetc charset.map charset.bin

View File

@ -31,7 +31,7 @@ MBCICO_OBJS = zmmisc.o zmrle.o zmrecv.o zmsend.o binkp.o md5b.o \
ttyio.o lutil.o scanout.o emsi.o ulock.o \
callstat.o session.o call.o mbcico.o
MBOUT_OBJS = outstat.o nlinfo.o mbout.o scanout.o callstat.o
LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libnodelist.a
SLIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libnodelist.a
OTHER = Makefile README
TARGET = mbcico mbout
@ -51,11 +51,11 @@ install: all
@rm -f ${BINDIR}/mbtelind
@rm -f ${BINDIR}/mbtelout
mbcico: ${MBCICO_OBJS} ${LIBS}
${CC} -o mbcico ${MBCICO_OBJS} ${LDFLAGS} ${LIBS}
mbcico: ${MBCICO_OBJS} ${SLIBS}
${CC} -o mbcico ${MBCICO_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
mbout: ${MBOUT_OBJS} ${LIBS}
${CC} -o mbout ${MBOUT_OBJS} ${LDFLAGS} ${LIBS}
mbout: ${MBOUT_OBJS} ${SLIBS}
${CC} -o mbout ${MBOUT_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
filelist: Makefile
BASE=`pwd`; \

View File

@ -7,7 +7,7 @@ include ../Makefile.global
SRCS = mutil.c mbmon.c proglock.c
HDRS = mutil.h mbmon.h proglock.h
OBJS = mutil.o mbmon.o proglock.o
LIBS += ../lib/libmbse.a ../lib/libdbase.a
SLIBS = ../lib/libmbse.a ../lib/libdbase.a
OTHER = Makefile
#############################################################################
@ -18,8 +18,8 @@ OTHER = Makefile
all: mbmon
mbmon: ${OBJS} ${LIBS}
${CC} -o mbmon ${OBJS} ${LDFLAGS} ${LIBS}
mbmon: ${OBJS} ${SLIBS}
${CC} -o mbmon ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
clean:
rm -f mbmon *.o *.h~ *.c~ core filelist Makefile.bak

View File

@ -9,7 +9,7 @@ HDRS = mbnntp.h openport.h ttyio.h auth.h commands.h rfc2ftn.h \
hash.h lhash.h msgflags.h mkftnhdr.h atoul.h
OBJS = mbnntp.o openport.o ttyio.o auth.o commands.o rfc2ftn.o \
hash.o lhash.o msgflags.o mkftnhdr.o atoul.o
LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a
SLIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a
OTHER = Makefile
#############################################################################
@ -20,8 +20,8 @@ OTHER = Makefile
all: mbnntp
mbnntp: ${OBJS} ${LIBS}
${CC} -o mbnntp ${OBJS} ${LDFLAGS} ${LIBS}
mbnntp: ${OBJS} ${SLIBS}
${CC} -o mbnntp ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
clean:
rm -f mbnntp *.o *.h~ *.c~ core filelist Makefile.bak

View File

@ -22,7 +22,7 @@ OBJS = grlist.o m_domain.o m_fgroup.o m_lang.o m_marea.o m_new.o m_protocol.o \
m_magic.o m_mgroup.o m_node.o m_task.o m_users.o screen.o m_bbs.o m_ff.o \
m_hatch.o m_mail.o m_modem.o m_ol.o m_tic.o m_virus.o stlist.o m_bbslist.o \
m_route.o
LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libdiesel.a
SLIBS = ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a ../lib/libdiesel.a
OTHER = Makefile
#############################################################################
@ -33,8 +33,8 @@ OTHER = Makefile
all: mbsetup
mbsetup: ${OBJS} ${LIBS}
${CC} -o mbsetup ${OBJS} ${LDFLAGS} ${LIBS}
mbsetup: ${OBJS} ${SLIBS}
${CC} -o mbsetup ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
clean:
rm -f mbsetup *.o *.h~ *.c~ core filelist Makefile.bak

View File

@ -24,7 +24,7 @@ OTHER = Makefile issue issue.netbsd
all: mbtask
mbtask: ${OBJS} ${SLIBS}
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${LIBS}
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
clean:
rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak