aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmm-common/Makefile.am6
-rw-r--r--src/Makefile.am22
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 \