diff options
author | José Bollo <jose.bollo@iot.bzh> | 2015-11-12 15:50:06 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2015-11-12 16:07:23 +0100 |
commit | bbac3d8b95773bf58d60f8b074c6616ba5cda745 (patch) | |
tree | 6cdb56d550242cad56bc51c2f28750d00787ba02 /Makefile | |
parent | 079a2e04e348df78300f35b634f76a3f958c1d53 (diff) |
Use of autotools for building
Change-Id: Idf3555872aa49aca67cccb1fb5ef6aa6a9d397d1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index 521bc19..0000000 --- a/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -.PHONY: all - -all: wgtpkg-install wgtpkg-pack wgtpkg-sign - -O = -DPREDIR='""' - -INCS = wgtpkg.h - -COMSRCS = \ - wgtpkg-base64.c \ - wgtpkg-certs.c \ - wgtpkg-digsig.c \ - wgtpkg-files.c \ - wgtpkg-workdir.c \ - wgtpkg-xmlsec.c \ - wgtpkg-zip.c - - -INSTALLSRCS = wgtpkg-install.c $(COMSRCS) - -PACKSRCS = wgtpkg-install.c $(COMSRCS) - -XMLSECOPT = $(shell pkg-config --cflags --libs xmlsec1) - -wgtpkg-%: wgtpkg-%.c $(COMSRCS) $(INCS) - gcc $O -g -o wgtpkg-$* wgtpkg-$*.c $(COMSRCS) -lzip -lxml2 -lcrypto $(XMLSECOPT) -Wall -Wno-pointer-sign - - - |