We try to combine in common envvars the compiler and linker flags shared by the different components, and where possible, also re-using the implicit AM_CFLAGS and AM_LDFLAGS variables that automake provides, and which apply to all objects being built in the same Makefile.am. The internal libmodem-helpers.la library is also renamed to libhelpers.la
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
|
|
noinst_PROGRAMS =
|
|
EXTRA_DIST =
|
|
|
|
################################################################################
|
|
# lsudev
|
|
################################################################################
|
|
|
|
noinst_PROGRAMS += lsudev
|
|
|
|
lsudev_SOURCES = lsudev.c
|
|
lsudev_CPPFLAGS = $(GUDEV_CFLAGS)
|
|
lsudev_LDADD = $(GUDEV_LIBS)
|
|
|
|
################################################################################
|
|
# mmtty
|
|
################################################################################
|
|
|
|
noinst_PROGRAMS += mmtty
|
|
|
|
mmtty_SOURCES = mmtty.c
|
|
|
|
mmtty_CPPFLAGS = \
|
|
$(MM_CFLAGS) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/include \
|
|
-I$(top_builddir)/include \
|
|
-I$(top_srcdir)/libmm-glib \
|
|
-I$(top_srcdir)/libmm-glib/generated \
|
|
-I$(top_builddir)/libmm-glib/generated
|
|
$(NULL)
|
|
|
|
mmtty_LDADD = \
|
|
$(MM_LIBS) \
|
|
$(top_builddir)/src/libhelpers.la \
|
|
$(top_builddir)/src/libport.la \
|
|
$(NULL)
|
|
|
|
################################################################################
|
|
# mmcli-test-sms
|
|
################################################################################
|
|
|
|
EXTRA_DIST += mmcli-test-sms
|