blob: 686595d5bb6745ed20e0170c9904f777278b327f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- BSDmakefile.orig 2012-01-03 13:54:05.000000000 +0000
+++ BSDmakefile 2012-01-28 20:47:09.000000000 +0000
@@ -1,20 +1,12 @@
# $DragonFly: src/libexec/dma/Makefile,v 1.5 2008/09/19 00:36:57 corecode Exp $
#
-version!= sh get-version.sh
+version!= (cd .. && sh get-version.sh)
-CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/..
CFLAGS+= -DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME
CFLAGS+= -DLIBEXEC_PATH='"${LIBEXEC}"' -DDMA_VERSION='"${version}"'
-DPADD= ${LIBSSL} ${LIBCRYPTO}
-LDADD= -lssl -lcrypto
-
-PROG= dma
-SRCS= aliases_parse.y aliases_scan.l base64.c conf.c crypto.c
-SRCS+= dma.c dns.c local.c mail.c net.c spool.c util.c
-MAN= dma.8
-
PREFIX?= /usr/local
LIBEXEC?= ${PREFIX}/libexec
@@ -23,4 +15,3 @@ BINGRP= mail
BINMODE=2555
WARNS?= 6
-.include <bsd.prog.mk>
|