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/mbnntp/Makefile

81 lines
3.3 KiB
Makefile
Raw Normal View History

2004-04-11 19:38:51 +00:00
# Makefile for mbnntpd
# $Id$
include ../Makefile.global
2004-05-10 13:44:21 +00:00
SRCS = mbnntp.c openport.c ttyio.c auth.c commands.c rfc2ftn.c \
hash.c lhash.c msgflags.c postecho.c addpkt.c qualify.c \
storeecho.c rollover.c mkftnhdr.c atoul.c
HDRS = mbnntp.h openport.h ttyio.h auth.h commands.h rfc2ftn.h \
hash.h lhash.h msgflags.h postecho.h addpkt.h qualify.h \
storeecho.h rollover.h mkftnhdr.h atoul.h
OBJS = mbnntp.o openport.o ttyio.o auth.o commands.o rfc2ftn.o \
hash.o lhash.o msgflags.o postecho.o addpkt.o qualify.o \
storeecho.o rollover.o mkftnhdr.o atoul.o
2004-04-13 18:25:50 +00:00
LIBS += ../lib/libmbse.a ../lib/libmsgbase.a ../lib/libdbase.a
2004-04-11 19:38:51 +00:00
OTHER = Makefile
#############################################################################
.c.o:
${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<
all: mbnntp
mbnntp: ${OBJS} ${LIBS}
${CC} -o mbnntp ${OBJS} ${LDFLAGS} ${LIBS}
clean:
rm -f mbnntp *.o *.h~ *.c~ core filelist Makefile.bak
install: all
${INSTALL} -c -s -g ${GROUP} -o ${OWNER} -m 4751 mbnntp ${BINDIR}
filelist: Makefile
BASE=`pwd`; \
BASE=`basename $${BASE}`; \
(for f in ${SRCS} ${HDRS} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist
depend:
@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}; \
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
2004-04-13 18:25:50 +00:00
mbnntp.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h ../lib/msg.h openport.h ttyio.h auth.h commands.h mbnntp.h
2004-05-10 13:44:21 +00:00
openport.o: ../config.h ../lib/mbselib.h ttyio.h openport.h
2004-04-11 19:38:51 +00:00
ttyio.o: ../config.h ../lib/mbselib.h ttyio.h
2004-04-12 13:01:51 +00:00
auth.o: ../config.h ../lib/mbselib.h ../lib/users.h mbnntp.h auth.h
2004-05-10 13:44:21 +00:00
commands.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ttyio.h mbnntp.h rfc2ftn.h commands.h
rfc2ftn.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbinet.h ../lib/mbsedb.h ../lib/msg.h ../lib/msgtext.h mkftnhdr.h hash.h postecho.h msgflags.h rfc2ftn.h
hash.o: ../config.h ../lib/mbselib.h hash.h lhash.h
lhash.o: ../config.h ../lib/mbselib.h lhash.h
msgflags.o: ../config.h ../lib/mbselib.h msgflags.h
postecho.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h postecho.h storeecho.h addpkt.h rollover.h qualify.h
addpkt.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h addpkt.h
qualify.o: ../config.h ../lib/mbselib.h qualify.h
storeecho.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/msg.h ../lib/msgtext.h ../lib/mbsedb.h rollover.h storeecho.h
rollover.o: ../config.h ../lib/mbselib.h rollover.h
mkftnhdr.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h atoul.h hash.h msgflags.h mkftnhdr.h
atoul.o: ../config.h ../lib/mbselib.h atoul.h
2004-04-11 19:38:51 +00:00
# End of generated dependencies