Reyk Floeter
d9899d488a
Thanks to datacenterlight.ch by ungleich glarus AG for providing access to their OpenNebula-based cloud.
22 lines
551 B
Makefile
22 lines
551 B
Makefile
PROG= cloud-agent
|
|
SRCS= http.c json.c jsmn.c log.c main.c xml.c
|
|
SRCS+= azure.c cloudinit.c opennebula.c openstack.c
|
|
BINDIR= /usr/local/libexec
|
|
MANDIR= /usr/local/man/man
|
|
|
|
MAN= cloud-agent.8
|
|
|
|
.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 -lutil
|
|
DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
|
|
|
|
.include <bsd.prog.mk>
|