diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-15 12:28:56 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-15 19:15:25 +0100 |
commit | eeb9e2bdcc8001d77d2b81ad6e2275fe634c4469 (patch) | |
tree | 6b0f85876e88218469cf171cdeecc40fa5fd523f /src | |
parent | f9c63bfa058bdab29e00f13a0bedf4b4af39797e (diff) |
build: end all multiline list variables with $(NULL)
So that appending a new item in the list only inserts one new line (i.e. the
last $(NULL) is the last item always).
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 1bd99281..bee1dfe8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -78,18 +78,21 @@ libhelpers_la_SOURCES = \ mm-sms-part-3gpp.h \ mm-sms-part-3gpp.c \ mm-sms-part-cdma.h \ - mm-sms-part-cdma.c + mm-sms-part-cdma.c \ + $(NULL) if WITH_QMI libhelpers_la_SOURCES += \ mm-modem-helpers-qmi.c \ - mm-modem-helpers-qmi.h + mm-modem-helpers-qmi.h \ + $(NULL) endif if WITH_MBIM libhelpers_la_SOURCES += \ mm-modem-helpers-mbim.c \ - mm-modem-helpers-mbim.h + mm-modem-helpers-mbim.h \ + $(NULL) endif ################################################################################ @@ -133,20 +136,23 @@ libport_la_SOURCES = \ mm-port-serial-gps.c \ mm-port-serial-gps.h \ mm-serial-parsers.c \ - mm-serial-parsers.h + mm-serial-parsers.h \ + $(NULL) nodist_libport_la_SOURCES = $(PORT_ENUMS_GENERATED) if WITH_QMI libport_la_SOURCES += \ mm-port-qmi.c \ - mm-port-qmi.h + mm-port-qmi.h \ + $(NULL) endif if WITH_MBIM libport_la_SOURCES += \ mm-port-mbim.c \ - mm-port-mbim.h + mm-port-mbim.h \ + $(NULL) endif libport_la_LIBADD = \ @@ -193,7 +199,8 @@ BUILT_SOURCES += $(DAEMON_ENUMS_GENERATED) CLEANFILES += $(DAEMON_ENUMS_GENERATED) ModemManager_CPPFLAGS = \ - -DPLUGINDIR=\"$(pkglibdir)\" + -DPLUGINDIR=\"$(pkglibdir)\" \ + $(NULL) ModemManager_LDADD = \ $(top_builddir)/libqcdm/src/libqcdm.la \ @@ -273,7 +280,8 @@ ModemManager_SOURCES = \ mm-port-probe-at.h \ mm-port-probe-at.c \ mm-plugin.c \ - mm-plugin.h + mm-plugin.h \ + $(NULL) nodist_ModemManager_SOURCES = $(DAEMON_ENUMS_GENERATED) @@ -302,7 +310,8 @@ ModemManager_SOURCES += \ mm-bearer-qmi.h \ mm-bearer-qmi.c \ mm-broadband-modem-qmi.h \ - mm-broadband-modem-qmi.c + mm-broadband-modem-qmi.c \ + $(NULL) endif # Additional MBIM support in ModemManager @@ -315,5 +324,6 @@ ModemManager_SOURCES += \ mm-bearer-mbim.h \ mm-bearer-mbim.c \ mm-broadband-modem-mbim.h \ - mm-broadband-modem-mbim.c + mm-broadband-modem-mbim.c \ + $(NULL) endif |