Changed Makefiles for Darwin
This commit is contained in:
parent
7f6169618c
commit
e5457c6187
@ -48,7 +48,7 @@ OTHER = Makefile README ftscprod.008 mkprod.awk \
|
|||||||
README.diesel README.macro Diesel.doc nodelist.conf
|
README.diesel README.macro Diesel.doc nodelist.conf
|
||||||
TARGET = libmbse.a libdbase.a libmsgbase.a libmbinet.a libdiesel.a \
|
TARGET = libmbse.a libdbase.a libmsgbase.a libmbinet.a libdiesel.a \
|
||||||
libnodelist.a mbcharsetc charset.bin
|
libnodelist.a mbcharsetc charset.bin
|
||||||
LIBS += ../lib/libmbse.a
|
SLIBS = ../lib/libmbse.a
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
@ -84,8 +84,8 @@ libnodelist.a: ${NODELIST_OBJS}
|
|||||||
ar r $@ $?
|
ar r $@ $?
|
||||||
${RANLIB} $@
|
${RANLIB} $@
|
||||||
|
|
||||||
mbcharsetc: ${CHC_OBJS}
|
mbcharsetc: ${CHC_OBJS} ${SLIBS}
|
||||||
${CC} -o mbcharsetc ${CHC_OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbcharsetc ${CHC_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
charset.bin: mbcharsetc ${MAPS}
|
charset.bin: mbcharsetc ${MAPS}
|
||||||
./mbcharsetc charset.map charset.bin
|
./mbcharsetc charset.map charset.bin
|
||||||
|
@ -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 \
|
ttyio.o lutil.o scanout.o emsi.o ulock.o \
|
||||||
callstat.o session.o call.o mbcico.o
|
callstat.o session.o call.o mbcico.o
|
||||||
MBOUT_OBJS = outstat.o nlinfo.o mbout.o scanout.o callstat.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
|
OTHER = Makefile README
|
||||||
TARGET = mbcico mbout
|
TARGET = mbcico mbout
|
||||||
|
|
||||||
@ -51,11 +51,11 @@ install: all
|
|||||||
@rm -f ${BINDIR}/mbtelind
|
@rm -f ${BINDIR}/mbtelind
|
||||||
@rm -f ${BINDIR}/mbtelout
|
@rm -f ${BINDIR}/mbtelout
|
||||||
|
|
||||||
mbcico: ${MBCICO_OBJS} ${LIBS}
|
mbcico: ${MBCICO_OBJS} ${SLIBS}
|
||||||
${CC} -o mbcico ${MBCICO_OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbcico ${MBCICO_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
mbout: ${MBOUT_OBJS} ${LIBS}
|
mbout: ${MBOUT_OBJS} ${SLIBS}
|
||||||
${CC} -o mbout ${MBOUT_OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbout ${MBOUT_OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
filelist: Makefile
|
filelist: Makefile
|
||||||
BASE=`pwd`; \
|
BASE=`pwd`; \
|
||||||
|
@ -7,7 +7,7 @@ include ../Makefile.global
|
|||||||
SRCS = mutil.c mbmon.c proglock.c
|
SRCS = mutil.c mbmon.c proglock.c
|
||||||
HDRS = mutil.h mbmon.h proglock.h
|
HDRS = mutil.h mbmon.h proglock.h
|
||||||
OBJS = mutil.o mbmon.o proglock.o
|
OBJS = mutil.o mbmon.o proglock.o
|
||||||
LIBS += ../lib/libmbse.a ../lib/libdbase.a
|
SLIBS = ../lib/libmbse.a ../lib/libdbase.a
|
||||||
OTHER = Makefile
|
OTHER = Makefile
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@ -18,8 +18,8 @@ OTHER = Makefile
|
|||||||
all: mbmon
|
all: mbmon
|
||||||
|
|
||||||
|
|
||||||
mbmon: ${OBJS} ${LIBS}
|
mbmon: ${OBJS} ${SLIBS}
|
||||||
${CC} -o mbmon ${OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbmon ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f mbmon *.o *.h~ *.c~ core filelist Makefile.bak
|
rm -f mbmon *.o *.h~ *.c~ core filelist Makefile.bak
|
||||||
|
@ -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
|
hash.h lhash.h msgflags.h mkftnhdr.h atoul.h
|
||||||
OBJS = mbnntp.o openport.o ttyio.o auth.o commands.o rfc2ftn.o \
|
OBJS = mbnntp.o openport.o ttyio.o auth.o commands.o rfc2ftn.o \
|
||||||
hash.o lhash.o msgflags.o mkftnhdr.o atoul.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
|
OTHER = Makefile
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@ -20,8 +20,8 @@ OTHER = Makefile
|
|||||||
all: mbnntp
|
all: mbnntp
|
||||||
|
|
||||||
|
|
||||||
mbnntp: ${OBJS} ${LIBS}
|
mbnntp: ${OBJS} ${SLIBS}
|
||||||
${CC} -o mbnntp ${OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbnntp ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f mbnntp *.o *.h~ *.c~ core filelist Makefile.bak
|
rm -f mbnntp *.o *.h~ *.c~ core filelist Makefile.bak
|
||||||
|
@ -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_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_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
|
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
|
OTHER = Makefile
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@ -33,8 +33,8 @@ OTHER = Makefile
|
|||||||
all: mbsetup
|
all: mbsetup
|
||||||
|
|
||||||
|
|
||||||
mbsetup: ${OBJS} ${LIBS}
|
mbsetup: ${OBJS} ${SLIBS}
|
||||||
${CC} -o mbsetup ${OBJS} ${LDFLAGS} ${LIBS}
|
${CC} -o mbsetup ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f mbsetup *.o *.h~ *.c~ core filelist Makefile.bak
|
rm -f mbsetup *.o *.h~ *.c~ core filelist Makefile.bak
|
||||||
|
@ -24,7 +24,7 @@ OTHER = Makefile issue issue.netbsd
|
|||||||
all: mbtask
|
all: mbtask
|
||||||
|
|
||||||
mbtask: ${OBJS} ${SLIBS}
|
mbtask: ${OBJS} ${SLIBS}
|
||||||
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${LIBS}
|
${CC} ${CFLAGS} -o mbtask ${OBJS} ${LDFLAGS} ${LIBS} ${SLIBS}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak
|
rm -f mbtask *.o *.h~ *.c~ version.* core filelist Makefile.bak
|
||||||
|
Reference in New Issue
Block a user