aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-05-04 09:27:33 +0200
committerAleksander Morgado <aleksander@aleksander.es>2015-05-04 09:27:58 +0200
commit4fcae938fc93415857fd1eb6dfdbcac34848ec5e (patch)
tree158e58c042bdf7340aea89c749eba1f8f58f36d6
parentd5adce08f5c17d25da782e611b377a8e1a815638 (diff)
build: request to generate the enum types support files before building
Instead of providing explicit dependency rules to generate the enum types support files before they're first used, just pre-generate them before building anything. Maintaining the explicit dependency rules is not really worth it.
-rw-r--r--src/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ed4e2386..fb3bd34b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -228,9 +228,6 @@ ModemManager_SOURCES = \
mm-plugin.c \
mm-plugin.h
-# Additional dependency rules
-mm-base-bearer.c: mm-daemon-enums-types.h
-
# Additional Polkit support
if WITH_POLKIT
ModemManager_SOURCES += \
@@ -283,8 +280,11 @@ endif
EXTRA_DIST = \
$(udevrules_DATA)
-CLEANFILES = \
+# Request to build enum types before anything else
+BUILT_SOURCES = \
mm-daemon-enums-types.h \
mm-daemon-enums-types.c \
mm-port-enums-types.h \
mm-port-enums-types.c
+
+CLEANFILES = $(BUILT_SOURCES)