cloud-agent/agent/Makefile

22 lines
486 B
Makefile
Raw Normal View History

2017-06-29 09:40:48 +00:00
PROG= cloud-agent
SRCS= main.c xml.c azure.c cloudinit.c http.c log.c
BINDIR= /usr/local/libexec
MANDIR= /usr/local/man/man
2017-06-29 09:40:48 +00:00
2017-06-29 12:20:23 +00:00
MAN= cloud-agent.8
2017-06-29 09:40:48 +00:00
.ifdef USE_OPENSSL
CFLAGS+= -DUSE_OPENSSL=1
.endif
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith
CFLAGS+= -Wsign-compare -Wcast-qual
LDADD+= -lexpat -ltls -lssl -lcrypto
DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}
.include <bsd.prog.mk>