Allows to compile all files even if it isn't
required to simplify the build process.
Change-Id: Ie09e99794aa9f57b179c7e4cfa882859958beb7a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
$(shell pkg-config --cflags --libs openssl libmicrohttpd json-c libsystemd uuid) \
-ldl -lrt -lpthread
-afb_lib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|-so-v1|-so-vdyn|-fake|-api-dbus|-api-v1' )
-afb_clib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|-so-v1|-so-vdyn|-fake|-api-dbus|-api-v1|afb-supervision' )
+afb_lib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|-fake' )
+afb_clib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|-fake|afb-supervision' )
afb_daemon_srcs = $(srcdir)/main-afb-daemon.c $(afb_lib_src)
afb_daemon_defs = '-DAFB_VERSION="cov"' -DAGL_DEVEL -DWITH_MONITORING_OPTION '-DBINDING_INSTALL_DIR="fake"'
* limitations under the License.
*/
+#if defined(WITH_DBUS_TRANSPARENCY)
+
#define _GNU_SOURCE
#define NO_PLUGIN_VERBOSE_MACRO
return -1;
}
+#endif
* limitations under the License.
*/
+#if defined(WITH_LEGACY_BINDING_V1)
+
#define _GNU_SOURCE
#include <stdio.h>
return -1;
}
+#endif
+
* limitations under the License.
*/
+#if defined(WITH_LEGACY_BINDING_VDYN)
+
#define _GNU_SOURCE
#include <stdlib.h>
return 1;
}
+#endif
+