summaryrefslogtreecommitdiff
path: root/src/Makefile_Emotion.am
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-10-02 16:52:45 +0100
committerTom Hacohen <tom@stosb.com>2014-10-02 16:54:08 +0100
commit23143148f1a02b605bbdbc839e6d0c60dd6df300 (patch)
tree009be6d0f8516a87cd9090033cdbfe176b5ea6d2 /src/Makefile_Emotion.am
parent308f000b394472d34560446baee51d67a339a426 (diff)
Build system: Clean up the generation of sources from eolian.
This cleans up a lot of the build system. This makes everything consistent, clean, less redundant and also fixes the issue of make clean not cleaning up generated files.
Diffstat (limited to 'src/Makefile_Emotion.am')
-rw-r--r--src/Makefile_Emotion.am21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/Makefile_Emotion.am b/src/Makefile_Emotion.am
index 5449f8107d..242a671081 100644
--- a/src/Makefile_Emotion.am
+++ b/src/Makefile_Emotion.am
@@ -1,13 +1,23 @@
1### Library 1### Library
2 2
3emotion_eolian_files = \
4 lib/emotion/emotion_object.eo
5
6emotion_eolian_c = $(emotion_eolian_files:%.eo=%.eo.c)
7emotion_eolian_h = $(emotion_eolian_files:%.eo=%.eo.h) \
8 $(emotion_eolian_files:%.eo=%.eo.legacy.h)
9
3BUILT_SOURCES += \ 10BUILT_SOURCES += \
4 lib/emotion/emotion_object.eo.c \ 11 $(emotion_eolian_c) \
5 lib/emotion/emotion_object.eo.h \ 12 $(emotion_eolian_h)
6 lib/emotion/emotion_object.eo.legacy.h 13
14CLEANFILES += \
15 $(emotion_eolian_c) \
16 $(emotion_eolian_h)
7 17
8emotioneolianfilesdir = $(datadir)/eolian/include/emotion-@VMAJ@ 18emotioneolianfilesdir = $(datadir)/eolian/include/emotion-@VMAJ@
9emotioneolianfiles_DATA = \ 19emotioneolianfiles_DATA = \
10 lib/emotion/emotion_object.eo 20 $(emotion_eolian_files)
11 21
12EXTRA_DIST += \ 22EXTRA_DIST += \
13 ${emotioneolianfiles_DATA} 23 ${emotioneolianfiles_DATA}
@@ -21,8 +31,7 @@ dist_installed_emotionmainheaders_DATA = lib/emotion/Emotion.h \
21 lib/emotion/Emotion_Eo.h 31 lib/emotion/Emotion_Eo.h
22 32
23nodist_installed_emotionmainheaders_DATA = \ 33nodist_installed_emotionmainheaders_DATA = \
24 lib/emotion/emotion_object.eo.h \ 34 $(emotion_eolian_h)
25 lib/emotion/emotion_object.eo.legacy.h
26 35
27# libemotion.la 36# libemotion.la
28lib_emotion_libemotion_la_SOURCES = \ 37lib_emotion_libemotion_la_SOURCES = \