Initial commit
This commit is contained in:
commit
1c7148f25b
48 changed files with 19200 additions and 0 deletions
20
agent/Makefile
Normal file
20
agent/Makefile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
PROG= cloud-agent
|
||||
SRCS= main.c xml.c azure.c cloudinit.c http.c log.c
|
||||
BINDIR= /usr/local/libexec
|
||||
|
||||
.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}
|
||||
|
||||
NOMAN= yes
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
Loading…
Add table
Add a link
Reference in a new issue