This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/lib/Makefile

176 lines
8.0 KiB
Makefile
Raw Normal View History

2001-11-03 21:43:44 +00:00
# Makefile for the library files.
# Copyright (c) 1997, 2001 by M. Broek.
2001-11-03 22:45:03 +00:00
# $Id$
2001-11-03 21:43:44 +00:00
include ../Makefile.global
CLCOMM_SRCS = clcomm.c client.c crc.c semafore.c signame.c
CLCOMM_OBJS = clcomm.o client.o crc.o semafore.o signame.o
CLCOMM_HDRS = clcomm.h
2002-06-30 12:48:44 +00:00
COMMON_SRCS = attach.c charconv_utf.c falists.c hdr.c parsedate.c rfcmsg.c unpacker.c \
2002-10-01 16:53:49 +00:00
batchrd.c charset.c ftn.c nodelist.c pktname.c mangle.c sectest.c \
2001-11-03 21:43:44 +00:00
charconv.c dostran.c ftnmsg.c mbfile.c nodelock.c rawio.c strcasestr.c \
charconv_hz.c execute.c expipe.c getheader.c mime.c noderecord.c rfcaddr.c strutil.c \
charconv_jp.c faddr.c gmtoffset.c packet.c rfcdate.c term.c
2002-06-30 12:48:44 +00:00
COMMON_OBJS = ftscprod.o attach.o charconv_utf.o falists.o hdr.o parsedate.o rfcmsg.o unpacker.o \
2002-10-01 16:53:49 +00:00
batchrd.o charset.o ftn.o nodelist.o pktname.o mangle.o sectest.o \
2001-11-03 21:43:44 +00:00
charconv.o dostran.o ftnmsg.o mbfile.o nodelock.o rawio.o strcasestr.o \
charconv_hz.o execute.o expipe.o getheader.o mime.o noderecord.o rfcaddr.o strutil.o \
charconv_jp.o faddr.o gmtoffset.o packet.o rfcdate.o term.o
COMMON_HDRS = common.h
DBASE_SRCS = dbcfg.c dbdupe.c dbftn.c dbmsgs.c dbnode.c dbtic.c dbuser.c
DBASE_OBJS = dbcfg.o dbdupe.o dbftn.o dbmsgs.o dbnode.o dbtic.o dbuser.o
DBASE_HDRS = dbcfg.h dbdupe.h dbftn.h dbmsgs.h dbnode.h dbtic.h dbuser.h
MSGBASE_SRCS = jammsg.c msg.c msgtext.c
MSGBASE_OBJS = jammsg.o msg.o msgtext.o
MSGBASE_HDRS = jam.h jammsg.h jamsys.h msg.h msgtext.h
MBINET_SRCS = nntp.c pop3.c smtp.c
MBINET_OBJS = nntp.o pop3.o smtp.o
MBINET_HDRS = mbinet.h
2002-03-31 13:09:23 +00:00
DIESEL_SRCS = diesel.c mbdiesel.c
2002-03-29 22:58:53 +00:00
DIESEL_HDRS = diesel.h
DIESEL_OBJS = diesel.o mbdiesel.o
2001-11-03 21:43:44 +00:00
MEMWATCH_SRCS = memwatch.c
MEMWATCH_OBJS = memwatch.o
MEMWATCH_HDRS = memwatch.h
2002-01-07 20:26:12 +00:00
OTHER_HDRS = ansi.h bluewave.h libs.h mbse.h records.h structs.h users.h
2002-03-29 22:58:53 +00:00
SRCS = ${CLCOMM_SRCS} ${COMMON_SRCS} ${DBASE_SRCS} ${MSGBASE_SRCS} ${MBINET_SRCS} \
${DIESEL_SRCS} ${MEMWATCH_SRCS}
OBJS = ${CLCOMM_OBJS} ${COMMON_OBJS} ${DBASE_OBJS} ${MSGBASE_OBJS} ${MBINET_OBJS} \
${DIESEL_OBJS} ${MEMWATCH_OBJS}
HDRS = ${CLCOMM_HDRS} ${COMMON_HDRS} ${DBASE_HDRS} ${MSGBASE_HDRS} ${MBINET_HDRS} \
${DIESEL_HDRS} ${MEMWATCH_HDRS} ${OTHER_HDRS}
OTHER = Makefile README ftscprod.006 mkprod.awk FAQ README.memwatch USING test.c \
memwatch.c.org README.diesel README.macro Diesel.doc
TARGET = libclcomm.a libcommon.a libdbase.a libmsgbase.a libmbinet.a libdiesel.a libmemwatch.a
2001-11-03 21:43:44 +00:00
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: ${TARGET}
2002-04-15 13:49:15 +00:00
ftscprod.c: ftscprod.??? mkprod.awk
2001-11-03 21:43:44 +00:00
${AWK} -F, -f mkprod.awk ftscprod.??? >ftscprod.c
libclcomm.a: ${CLCOMM_OBJS}
ar r $@ $?
${RANLIB} $@
libcommon.a: ${COMMON_OBJS}
ar r $@ $?
${RANLIB} $@
libdbase.a: ${DBASE_OBJS}
ar r $@ $?
${RANLIB} $@
libmsgbase.a: ${MSGBASE_OBJS}
ar r $@ $?
${RANLIB} $@
libmbinet.a: ${MBINET_OBJS}
ar r $@ $?
${RANLIB} $@
2002-03-29 22:58:53 +00:00
libdiesel.a: ${DIESEL_OBJS}
ar r $@ $?
${RANLIB} $@
2001-11-03 21:43:44 +00:00
libmemwatch.a: ${MEMWATCH_OBJS}
ar r $@ $?
${RANLIB} $@
install: all
clean:
2002-05-11 11:14:35 +00:00
rm -f ${TARGET} *.o *.h~ *.c~ ftscprod.c core filelist Makefile.bak
2001-11-03 21:43:44 +00:00
filelist: Makefile
BASE=`pwd`; \
BASE=`basename $${BASE}`; \
(for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist
depend: ftscprod.c
@rm -f Makefile.bak; \
mv Makefile Makefile.bak; \
sed -e '/^# DO NOT DELETE/,$$d' Makefile.bak >Makefile; \
${ECHO} '# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT' >>Makefile; \
${ECHO} '# Dependencies generated by make depend' >>Makefile; \
for f in ${SRCS} ftscprod.c; \
do \
${ECHO} "Dependencies for $$f:\c"; \
${ECHO} "`basename $$f .c`.o:\c" >>Makefile; \
for h in `sed -n -e \
's/^#[ ]*include[ ]*"\([^"]*\)".*/\1/p' $$f`; \
do \
${ECHO} " $$h\c"; \
${ECHO} " $$h\c" >>Makefile; \
done; \
${ECHO} " done."; \
${ECHO} "" >>Makefile; \
done; \
${ECHO} '# End of generated dependencies' >>Makefile
# DO NOT DELETE THIS LINE - MAKE DEPEND RELIES ON IT
# Dependencies generated by make depend
2002-06-30 12:48:44 +00:00
clcomm.o: ../config.h libs.h memwatch.h clcomm.h
client.o: ../config.h libs.h memwatch.h clcomm.h
crc.o: ../config.h libs.h memwatch.h clcomm.h
semafore.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
signame.o: ../config.h libs.h memwatch.h clcomm.h
attach.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
charconv_utf.o: ../config.h libs.h memwatch.h structs.h common.h
falists.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
hdr.o: ../config.h libs.h memwatch.h structs.h common.h
parsedate.o: ../config.h libs.h memwatch.h structs.h common.h
rfcmsg.o: ../config.h libs.h memwatch.h structs.h users.h records.h common.h clcomm.h
unpacker.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
batchrd.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
charset.o: ../config.h libs.h memwatch.h structs.h common.h clcomm.h
ftn.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h dbftn.h common.h
nodelist.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
pktname.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
mangle.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
2002-10-01 16:53:49 +00:00
sectest.o: ../config.h libs.h structs.h common.h clcomm.h
2002-06-30 12:48:44 +00:00
charconv.o: ../config.h libs.h memwatch.h structs.h users.h records.h common.h clcomm.h
dostran.o: ../config.h libs.h memwatch.h structs.h users.h records.h common.h
ftnmsg.o: ../config.h libs.h memwatch.h structs.h common.h clcomm.h
mbfile.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
nodelock.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
rawio.o: ../config.h libs.h memwatch.h structs.h common.h
strcasestr.o: ../config.h libs.h memwatch.h
charconv_hz.o: ../config.h libs.h memwatch.h structs.h common.h clcomm.h
execute.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
expipe.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
getheader.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
mime.o: ../config.h libs.h memwatch.h structs.h clcomm.h common.h
noderecord.o: ../config.h libs.h memwatch.h structs.h common.h users.h records.h dbnode.h common.h
rfcaddr.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h
strutil.o: ../config.h libs.h memwatch.h structs.h common.h
charconv_jp.o: ../config.h libs.h memwatch.h structs.h common.h
faddr.o: ../config.h libs.h memwatch.h structs.h common.h
gmtoffset.o: ../config.h libs.h memwatch.h structs.h common.h
packet.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h common.h dbnode.h
rfcdate.o: ../config.h libs.h memwatch.h structs.h common.h clcomm.h
term.o: ../config.h libs.h memwatch.h structs.h users.h ansi.h records.h common.h
dbcfg.o: ../config.h libs.h memwatch.h mbse.h structs.h users.h records.h dbcfg.h
dbdupe.o: ../config.h libs.h memwatch.h structs.h clcomm.h dbdupe.h
dbftn.o: ../config.h libs.h memwatch.h structs.h users.h records.h dbcfg.h dbftn.h
dbmsgs.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h dbcfg.h dbmsgs.h
dbnode.o: ../config.h libs.h memwatch.h structs.h common.h users.h records.h clcomm.h dbcfg.h dbnode.h
dbtic.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h dbcfg.h dbtic.h
dbuser.o: ../config.h libs.h memwatch.h structs.h users.h records.h dbcfg.h dbuser.h
jammsg.o: ../config.h libs.h memwatch.h clcomm.h msgtext.h msg.h jam.h jammsg.h
msg.o: ../config.h libs.h memwatch.h msgtext.h msg.h jammsg.h
msgtext.o: ../config.h libs.h memwatch.h msgtext.h msg.h
nntp.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h mbinet.h
pop3.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h mbinet.h
smtp.o: ../config.h libs.h memwatch.h structs.h users.h records.h clcomm.h mbinet.h
diesel.o: ../config.h libs.h memwatch.h diesel.h
mbdiesel.o: ../config.h libs.h memwatch.h structs.h users.h records.h common.h clcomm.h diesel.h
memwatch.o: ../config.h libs.h memwatch.h
ftscprod.o: ../config.h libs.h memwatch.h structs.h common.h
2001-11-03 21:43:44 +00:00
# End of generated dependencies