Meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. https://bugzilla.gnome.org/show_bug.cgi?id=785414
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# This is used in PANEL_CFLAGS
|
|
cappletname = wacom
|
|
|
|
AM_CPPFLAGS = \
|
|
$(PANEL_CFLAGS) \
|
|
$(WACOM_PANEL_CFLAGS) \
|
|
-DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
|
|
$(NULL)
|
|
|
|
noinst_LTLIBRARIES = libwacom-calibrator.la libwacom-calibrator-test.la
|
|
|
|
libwacom_calibrator_la_SOURCES = \
|
|
calibrator.c \
|
|
calibrator.h \
|
|
calibrator-gui.c \
|
|
calibrator-gui.h \
|
|
cc-clock-actor.c \
|
|
cc-clock-actor.h \
|
|
cc-target-actor.c \
|
|
cc-target-actor.h
|
|
|
|
libwacom_calibrator_la_LIBADD = $(PANEL_LIBS) $(WACOM_PANEL_LIBS) $(LIBM)
|
|
libwacom_calibrator_la_LDFLAGS = $(PANEL_LDFLAGS)
|
|
|
|
libwacom_calibrator_test_la_SOURCES = $(libwacom_calibrator_la_SOURCES)
|
|
|
|
libwacom_calibrator_test_la_CPPFLAGS = -DFAKE_AREA $(AM_CPPFLAGS)
|
|
libwacom_calibrator_test_la_LIBADD = $(libwacom_calibrator_la_LIBADD)
|
|
libwacom_calibrator_test_la_LDFLAGS = $(libwacom_calibrator_la_LDFLAGS)
|
|
|
|
noinst_PROGRAMS = test-calibrator
|
|
|
|
test_calibrator_SOURCES = \
|
|
main.c \
|
|
calibrator.c \
|
|
calibrator.h \
|
|
calibrator-gui.c \
|
|
calibrator-gui.h \
|
|
cc-clock-actor.c \
|
|
cc-clock-actor.h \
|
|
cc-target-actor.c \
|
|
cc-target-actor.h
|
|
|
|
test_calibrator_CPPFLAGS = $(AM_CPPFLAGS)
|
|
test_calibrator_LDADD = $(PANEL_LIBS) $(WACOM_PANEL_LIBS) $(LIBM)
|
|
|
|
EXTRA_DIST = meson.build
|
|
|
|
-include $(top_srcdir)/git.mk
|