summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-12 15:03:09 +0100
committerGuillaume Friloux <guillaume.friloux@gmail.com>2013-12-12 15:03:09 +0100
commitbaadbb3ca615ca34a09244bcdf3924664816c91d (patch)
tree541527a3339bdbb6aeb7e40bacfb0bbc0a609b69 /src
parentce4a3e44b0f399d11378f29fdc6d4b953b4ae7eb (diff)
Rewrite of part of build system.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/bin/Makefile.am8
-rw-r--r--src/bin/Makefile.mk18
3 files changed, 18 insertions, 12 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index addf4ca..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS = bin
4
diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am
deleted file mode 100644
index 9742849..0000000
--- a/src/bin/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3bin_PROGRAMS = smman
4
5smman_SOURCES = main.c rules.c spy.c logfiles.c send.c date.c conf.c logmessages.c libconf.c
6
7smman_LDFLAGS = @eina_LIBS@ @ecore_LIBS@ @libcurl_LIBS@
8smman_CPPFLAGS = -W -Wall -O2 -g @eina_CFLAGS@ @ecore_CFLAGS@ @libcurl_CFLAGS@ -DREVISION=\"@revision_number@\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
diff --git a/src/bin/Makefile.mk b/src/bin/Makefile.mk
new file mode 100644
index 0000000..a789388
--- /dev/null
+++ b/src/bin/Makefile.mk
@@ -0,0 +1,18 @@
1MAINTAINERCLEANFILES += \
2src/bin/sds_horodatage/*.gc{no,da}
3
4bin_PROGRAMS += \
5src/bin/smman
6
7src_bin_smman_SOURCES = \
8src/bin/conf.c \
9src/bin/date.c \
10src/bin/libconf.c \
11src/bin/logfiles.c \
12src/bin/logmessages.c \
13src/bin/main.c \
14src/bin/rules.c \
15src/bin/send.c \
16src/bin/spy.c
17src_bin_smman_CPPFLAGS = @BIN_CFLAGS@
18src_bin_smman_LDFLAGS = @BIN_LIBS@