removing autotools
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 18 Dec 2015 19:24:57 +0000 (20:24 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 18 Dec 2015 19:24:57 +0000 (20:24 +0100)
Change-Id: I619109ba3c5d603ce628dfc8a2419c64ef991571

.gitignore
ChangeLog [deleted file]
Makefile.am [deleted file]
NEWS [deleted file]
configure.ac [deleted file]
src/Makefile.am [deleted file]
src/wgtpkg.h

index 3ba4578..95beedb 100644 (file)
@@ -4,18 +4,7 @@ wgtpkg-pack
 wgtpkg-sign
 wgtpkg-info
 *.o
-
-.deps/
-Makefile
-Makefile.in
-aclocal.m4
-autom4te.cache/
-config.*
-stamp-h1
-configure
-depcomp
-install-sh
-missing
+*.a
 
 TODO
 a.pem
@@ -28,7 +17,5 @@ schemas/
 tests-w3c/
 tests/
 tizen-certificates/
-truc
-*.wgt
 wrt-widgets
 
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644 (file)
index f268924..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBDIRS = src
-
diff --git a/NEWS b/NEWS
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/configure.ac b/configure.ac
deleted file mode 100644 (file)
index adee3da..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-#                                               -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.69])
-AC_INIT([wgtpkg], [1.0], [wgtpkg@iot.bzh])
-AM_INIT_AUTOMAKE
-#AM_INIT_AUTOMAKE([-Wall -Wno-pointer-sign])
-AC_CONFIG_SRCDIR([src/wgtpkg-files.c])
-AC_CONFIG_HEADERS([src/config.h])
-
-# Checks for programs.
-#AC_PROG_CXX
-AC_PROG_CC
-
-# Checks for libraries.
-# FIXME: Replace `main' with a function in `-lcrypto':
-#AC_CHECK_LIB([crypto], [d2i_X509])
-# FIXME: Replace `main' with a function in `-lxml2':
-#AC_CHECK_LIB([xml2], [xmlSaveFormatFileEnc])
-# FIXME: Replace `main' with a function in `-lzip':
-#AC_CHECK_LIB([zip], [zip_open])
-
-PKG_CHECK_MODULES([ZIP], [libzip >= 0.11])
-PKG_CHECK_MODULES([XML2], [libxml-2.0])
-PKG_CHECK_MODULES([OPENSSL], [openssl])
-PKG_CHECK_MODULES([XMLSEC], [xmlsec1 xmlsec1-openssl])
-PKG_CHECK_MODULES([JSON], [json-c])
-PKG_CHECK_MODULES([DBUS], [dbus-1])
-
-# Checks for header files.
-AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h syslog.h unistd.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_HEADER_STDBOOL
-AC_TYPE_SIZE_T
-AC_TYPE_SSIZE_T
-
-# Checks for library functions.
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
-AC_CHECK_FUNCS([atexit memmove mkdir realpath rmdir stpcpy strrchr strtoul])
-AC_CHECK_FUNCS([strcasecmp strdup strndup])
-
-AC_CONFIG_FILES([Makefile
-                 src/Makefile])
-AC_OUTPUT
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644 (file)
index 94e06df..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-bin_PROGRAMS = \
-       wgtpkg-installer \
-       wgtpkg-pack \
-       wgtpkg-sign \
-       wgtpkg-info \
-       af-usrd
-
-OTHERSRCS = \
-       utils-dir.c \
-       utils-jbus.c \
-       verbose.c
-
-WGTPKGSRCS = \
-       wgtpkg-base64.c \
-       wgtpkg-certs.c \
-       wgtpkg-digsig.c \
-       wgtpkg-files.c \
-       wgtpkg-install.c \
-       wgtpkg-permissions.c \
-       wgtpkg-workdir.c \
-       wgtpkg-xmlsec.c \
-       wgtpkg-zip.c
-
-WGTSRCS = \
-       wgt-config.c \
-       wgt-info.c \
-       wgt.c
-
-SECWRP = \
-       secmgr-wrap.c
-
-APPFWK = \
-       af-db.c \
-       af-launch.c \
-       af-run.c
-
-
-AM_CFLAGS  = -Wall -Wno-pointer-sign
-AM_CFLAGS += -ffunction-sections -fdata-sections
-
-fwk_name = aglfwk
-fwk_confdir = $(sysconfdir)/$(fwk_name)
-fwk_datadir = $(datadir)/$(fwk_name)
-fwk_appdir = $(fwk_datadir)/applications
-fwk_icondir = $(fwk_datadir)/icons
-fwk_prefix = urn:agl:
-fwk_prefix_permission = $(fwk_prefix)perm:
-fwk_prefix_plugin = $(fwk_prefix)plugin:
-fwk_user_appdir = app-data
-wgtpkg_trusted_cert_dir = $(fwk_confdir)/certs
-
-AM_CFLAGS += -DFWK_CONFIG_DIR=\"$(fwk_confdir)\"
-AM_CFLAGS += -DFWK_PREFIX_PERMISSION=\"$(fwk_prefix_permission)\"
-AM_CFLAGS += -DFWK_PREFIX_PLUGIN=\"$(fwk_prefix_plugin)\"
-AM_CFLAGS += -DFWK_ICON_DIR=\"$(fwk_icondir)\"
-AM_CFLAGS += -DFWK_APP_DIR=\"$(fwk_appdir)\"
-AM_CFLAGS += -DFWK_USER_APP_DIR=\"$(fwk_user_appdir)\"
-
-AM_CFLAGS += -DWGTPKG_TRUSTED_CERT_DIR=\"$(wgtpkg_trusted_cert_dir)\"
-
-AM_LDFLAGS = -Wl,--gc-sections
-
-AM_CFLAGS += \
-       ${DBUS_CFLAGS} \
-       ${JSON_CFLAGS} \
-       ${OPENSSL_CFLAGS} \
-       ${XML2_CFLAGS} \
-       ${XMLSEC_CFLAGS} \
-       ${ZIP_CFLAGS}
-
-LDADD = \
-       ${DBUS_LIBS} \
-       ${JSON_LIBS} \
-       ${OPENSSL_LIBS} \
-       ${XML2_LIBS} \
-       ${XMLSEC_LIBS} \
-       ${ZIP_LIBS}
-
-# remove (or comment) following line to really use simulated components
-AM_CFLAGS += -Isimulation
-
-
-wgtpkg_sign_SOURCES = wgtpkg-sign.c ${WGTPKGSRCS} ${OTHERSRCS}
-
-wgtpkg_pack_SOURCES = wgtpkg-pack.c ${WGTPKGSRCS} ${OTHERSRCS}
-
-wgtpkg_installer_SOURCES = wgtpkg-installer.c ${WGTPKGSRCS} ${WGTSRCS} ${SECWRP} ${OTHERSRCS}
-
-wgtpkg_info_SOURCES = wgtpkg-info.c ${WGTPKGSRCS} ${WGTSRCS} ${OTHERSRCS}
-
-af_usrd_SOURCES = af-usrd.c ${APPFWK} ${WGTSRCS} ${OTHERSRCS} ${SECWRP}
-
-
index e786f76..a355b4c 100644 (file)
@@ -18,7 +18,6 @@
 
 
 #include <libxml/tree.h>
-#include "config.h"
 
 struct filedesc;