From 3e511f90c70f7eae68c3452998dbf28c8b1ec764 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 28 Feb 2012 00:45:04 +0100 Subject: build: don't distribute generated sources --- src/Makefile.am | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'src') 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 \ -- cgit v1.2.3-70-g09d2