summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-09 14:35:04 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-09 14:35:04 +0100
commitbf7b5918fcc07713a29b9ca32f766b65b15a4ec2 (patch)
treea4ad318995f3213cee35a2065fc3c4911e2012dc /Makefile.am
parent0270b7281b783cbea5c1f0ebb4440d2be1bd79fa (diff)
refactoring sources
Change-Id: Id6d52eee86b706958972e9b345ec0d4d1e488146 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am32
1 files changed, 1 insertions, 31 deletions
diff --git a/Makefile.am b/Makefile.am
index 6c76395..f268924 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,32 +1,2 @@
-bin_PROGRAMS = wgtpkg-install wgtpkg-pack wgtpkg-sign
-
-COMMONSRCS = \
- wgtpkg-base64.c \
- wgtpkg-certs.c \
- wgtpkg-digsig.c \
- wgtpkg-files.c \
- wgtpkg-verbose.c \
- wgtpkg-workdir.c \
- wgtpkg-xmlsec.c \
- wgtpkg-zip.c
-
-WGTSRCS = \
- wgt-config-xml.c \
- wgt-locales.c \
- wgt-rootdir.c \
- wgt-strings.c
-
-AM_CFLAGS = -Wall -Wno-pointer-sign
-AM_CFLAGS += -ffunction-sections -fdata-sections
-AM_CFLAGS += ${ZIP_CFLAGS} ${XML2_CFLAGS} ${OPENSSL_CFLAGS} ${XMLSEC_CFLAGS}
-
-AM_LDFLAGS = -Wl,--gc-sections
-
-LDADD = ${ZIP_LIBS} ${XML2_LIBS} ${OPENSSL_LIBS} ${XMLSEC_LIBS}
-
-wgtpkg_install_SOURCES = wgtpkg-install.c ${WGTSRCS} ${COMMONSRCS}
-
-wgtpkg_sign_SOURCES = wgtpkg-sign.c ${COMMONSRCS}
-
-wgtpkg_pack_SOURCES = wgtpkg-pack.c ${COMMONSRCS}
+SUBDIRS = src