diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-28 00:45:04 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:17 +0100 |
commit | 3e511f90c70f7eae68c3452998dbf28c8b1ec764 (patch) | |
tree | ea7debcd437c5420a7975057a381ad9ee6c61630 | |
parent | 1ad7bc885d69c291f643952c08a36fd97eb54c21 (diff) |
build: don't distribute generated sources
-rw-r--r-- | libmm-common/Makefile.am | 6 | ||||
-rw-r--r-- | src/Makefile.am | 22 |
2 files changed, 19 insertions, 9 deletions
diff --git a/libmm-common/Makefile.am b/libmm-common/Makefile.am index f7ef9dee..f61172d1 100644 --- a/libmm-common/Makefile.am +++ b/libmm-common/Makefile.am @@ -174,9 +174,11 @@ include_HEADERS = \ mm-gdbus-sim.h \ libmm-common.h -libmm_common_la_SOURCES = \ +nodist_libmm_common_la_SOURCES = \ $(GENERATED_H) \ - $(GENERATED_C) \ + $(GENERATED_C) + +libmm_common_la_SOURCES = \ mm-errors-quarks.c \ mm-common-helpers.h \ mm-common-helpers.c \ diff --git a/src/Makefile.am b/src/Makefile.am index 21b9fbf5..f833711a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -58,6 +58,10 @@ libserial_la_CPPFLAGS = \ -I$(top_srcdir)/libmm-common \ -I$(top_builddir)/libmm-common +nodist_libserial_la_SOURCES = \ + mm-serial-enums-types.h \ + mm-serial-enums-types.c + libserial_la_SOURCES = \ mm-port.c \ mm-port.h \ @@ -66,9 +70,7 @@ libserial_la_SOURCES = \ mm-at-serial-port.c \ mm-at-serial-port.h \ mm-qcdm-serial-port.c \ - mm-qcdm-serial-port.h \ - mm-serial-enums-types.h \ - mm-serial-enums-types.c + mm-qcdm-serial-port.h # Daemon specific enum types DAEMON_ENUMS = mm-bearer.h @@ -122,14 +124,16 @@ if WITH_POLKIT ModemManager_LDADD += $(POLKIT_LIBS) endif -ModemManager_SOURCES = \ - main.c \ +nodist_ModemManager_SOURCES = \ mm-marshal.h \ mm-marshal.c \ + mm-daemon-enums-types.h \ + mm-daemon-enums-types.c + +ModemManager_SOURCES = \ + main.c \ mm-log.c \ mm-log.h \ - mm-daemon-enums-types.h \ - mm-daemon-enums-types.c \ mm-private-boxed-types.h \ mm-private-boxed-types.c \ mm-auth.h \ @@ -187,6 +191,10 @@ ModemManager_SOURCES = \ mm-plugin-base.c \ mm-plugin-base.h +# Additional dependency rules +mm-bearer.c: mm-daemon-enums-types.h +mm-sms-list.c: mm-marshal.h + if WITH_POLKIT ModemManager_SOURCES += \ mm-auth-provider-polkit.c \ |