2017-06-29 09:40:48 +00:00
|
|
|
PROG= cloud-agent
|
2018-08-13 17:30:41 +00:00
|
|
|
SRCS= http.c json.c jsmn.c log.c main.c xml.c
|
|
|
|
SRCS+= azure.c cloudinit.c opennebula.c openstack.c
|
2017-06-29 09:40:48 +00:00
|
|
|
BINDIR= /usr/local/libexec
|
2017-07-03 14:56:39 +00:00
|
|
|
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
|
|
|
|
|
2018-08-13 17:30:41 +00:00
|
|
|
LDADD+= -lexpat -ltls -lssl -lcrypto -lutil
|
|
|
|
DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
|
2017-06-29 09:40:48 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|