xref: /minix3/minix/commands/fetch/Makefile (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1433d6423SLionel SambucPROG=	fetch
2433d6423SLionel SambucBINDIR=	/usr/bin
3433d6423SLionel SambucMAN=	fetch.1
4433d6423SLionel Sambuc
5433d6423SLionel SambucCPPFLAGS+= -DHAVE_SYS_PARAM_H \
6433d6423SLionel Sambuc		   -DHAVE_SYS_IOCTL_H \
7433d6423SLionel Sambuc		   -DHAVE_SYS_SOCKET_H \
8433d6423SLionel Sambuc		   -DHAVE_SYS_STAT_H \
9433d6423SLionel Sambuc		   -DHAVE_SYS_TIME_H \
10433d6423SLionel Sambuc		   -DHAVE_ERR_H \
11433d6423SLionel Sambuc		   -DHAVE_STDINT_H \
12433d6423SLionel Sambuc		   -DHAVE_TERMIOS_H \
13433d6423SLionel Sambuc		   -DHAVE_SYSEXITS_H \
14433d6423SLionel Sambuc		   -DHAVE_UTIME_H
15433d6423SLionel Sambuc
16*ebfedea0SLionel Sambuc.include <bsd.own.mk>
17*ebfedea0SLionel Sambuc
18433d6423SLionel SambucDPADD+=	${LIBFETCH}
19433d6423SLionel SambucLDADD+=	-lfetch
20433d6423SLionel Sambuc
21*ebfedea0SLionel Sambuc.if ${MKCRYPTO} == "yes"
22*ebfedea0SLionel SambucDPADD+=	${LIBSSL} ${LIBCRYPTO}
23*ebfedea0SLionel SambucLDADD+=	-lssl -lcrypto
24*ebfedea0SLionel Sambuc.endif
25*ebfedea0SLionel Sambuc
26433d6423SLionel Sambuc.include <bsd.prog.mk>
27