diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-02 06:03:01 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-05-02 06:03:01 +0000 |
commit | 4ae73c1b154c9e9043b794f16fd4e29f65b65a4f (patch) | |
tree | 6f6caf98d47de9afc29ee62fa027a2aeb1897057 /mail/missey/files/Makefile | |
parent | 4b36aaaa37cf70e8156abee4f4246b69a7a34a74 (diff) | |
download | ports-4ae73c1b154c9e9043b794f16fd4e29f65b65a4f.tar.gz ports-4ae73c1b154c9e9043b794f16fd4e29f65b65a4f.zip |
Notes
Diffstat (limited to 'mail/missey/files/Makefile')
-rw-r--r-- | mail/missey/files/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/missey/files/Makefile b/mail/missey/files/Makefile new file mode 100644 index 000000000000..b3b8d4a03bb2 --- /dev/null +++ b/mail/missey/files/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +SRCS_M = main.c pop3d.c auth.c plcat.c mydaemon.c listen.c sig.c log.c conf.c checkip.c auth.h checkip.h conf.h const.h listen.h log.h mydaemon.h plcat.h pop3d.h sig.h +SRCS_B = bent.c + +OBJS_M = ${SRCS_M:N*.h:R:S/$/.o/} +OBJS_B = ${SRCS_B:N*.h:R:S/$/.o/} + +LDFLAGS += -lcrypt + +MISSEY ?= missey +BENT ?= bent + +all: $(MISSEY) $(BENT) +$(MISSEY): $(OBJS_M) + $(CC) $(CFLAGS) -o $(MISSEY) $(OBJS_M) $(LDFLAGS) +$(BENT): $(OBJS_B) + $(CC) $(CFLAGS) ${PTHREAD_CFLAGS} -o $(BENT) $(SRCS_B) ${PTHREAD_LIBS} +install: + @${MKDIR} -p $(PREFIX)/etc/missey/ + ${INSTALL_DATA} $(WRKSRC)/pop3d.conf $(PREFIX)/etc/missey/pop3d.conf-dist + ${INSTALL_PROGRAM} $(WRKSRC)/$(MISSEY) $(PREFIX)/sbin/$(MISSEY) + ${INSTALL_PROGRAM} $(WRKSRC)/$(BENT) $(PREFIX)/sbin/$(BENT) + +clean : + rm -f *.o *.core core.* *~ *.s missey bent + |