mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-18 09:08:10 +02:00
distcheck uses a separate build tree, thus call the script from the right directory. Also actually ship it in release tarballs.
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
INCLUDES = \
|
|
-I$(top_builddir)/src -I$(top_srcdir)/src \
|
|
-DUP_COMPILATION \
|
|
-DG_LOG_DOMAIN=\"UPower-Linux\" \
|
|
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
|
|
-I$(top_srcdir)/libupower-glib \
|
|
$(USB_CFLAGS) \
|
|
$(GIO_CFLAGS) \
|
|
$(DBUS_GLIB_CFLAGS) \
|
|
$(GUDEV_CFLAGS) \
|
|
$(POLKIT_CFLAGS) \
|
|
$(GLIB_CFLAGS) \
|
|
$(IDEVICE_CFLAGS)
|
|
|
|
if BACKEND_TYPE_LINUX
|
|
noinst_LTLIBRARIES = libupshared.la
|
|
endif
|
|
|
|
if HAVE_IDEVICE
|
|
idevice_files = up-device-idevice.c up-device-idevice.h
|
|
else
|
|
idevice_files =
|
|
endif
|
|
|
|
libupshared_la_SOURCES = \
|
|
up-device-supply.c \
|
|
up-device-supply.h \
|
|
up-device-csr.c \
|
|
up-device-csr.h \
|
|
up-device-hid.c \
|
|
up-device-hid.h \
|
|
up-device-wup.c \
|
|
up-device-wup.h \
|
|
up-input.c \
|
|
up-input.h \
|
|
up-dock.c \
|
|
up-dock.h \
|
|
up-backend.c \
|
|
up-native.c \
|
|
sysfs-utils.c \
|
|
sysfs-utils.h \
|
|
$(idevice_files) \
|
|
$(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = $(libupshared_la_SOURCES) \
|
|
integration-test
|
|
|
|
libupshared_la_CFLAGS = \
|
|
$(WARNINGFLAGS_C)
|
|
|
|
if UP_BUILD_TESTS
|
|
DBUS_LAUNCH=$(shell which dbus-launch)
|
|
|
|
check-local: $(top_builddir)/src/upowerd
|
|
env top_builddir=$(top_builddir) $(DBUS_LAUNCH) $(srcdir)/integration-test -v
|
|
endif
|
|
|
|
clean-local :
|
|
rm -f *~
|
|
|