mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-08-28 13:25:49 +00:00
7674784320
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
83 lines
1.5 KiB
Makefile
83 lines
1.5 KiB
Makefile
EXTRA_DIST = \
|
|
LICENSE.LGPL2.1 \
|
|
README.rst \
|
|
data/lsi-settings.desktop
|
|
|
|
AM_CFLAGS = \
|
|
-fstack-protector -Wall -pedantic \
|
|
-Wstrict-prototypes -Wundef -fno-common \
|
|
-Werror-implicit-function-declaration \
|
|
-Wformat -Wformat-security -Werror=format-security \
|
|
-Wno-conversion -Wunused-variable -Wunreachable-code \
|
|
-Wall -W -D_FORTIFY_SOURCE=2 -std=c99
|
|
|
|
AM_CPPFLAGS = \
|
|
-I $(top_srcdir)/src \
|
|
-I $(top_srcdir)/src/shim \
|
|
-I $(top_srcdir)/src/nica \
|
|
-DSYSTEMCONFDIR=\"$(sysconfdir)\" \
|
|
-DVENDORDIR=\"$(datadir)/defaults/linux-steam-integration\"
|
|
|
|
|
|
noinst_LTLIBRARIES = \
|
|
libnica.la \
|
|
liblsi.la
|
|
|
|
bin_PROGRAMS = \
|
|
steam
|
|
|
|
if HAVE_FRONTEND
|
|
bin_PROGRAMS += lsi-settings
|
|
|
|
lsi_settings_SOURCES = \
|
|
src/frontend/main.c
|
|
|
|
lsi_settings_CFLAGS = \
|
|
$(GTK_CFLAGS) \
|
|
$(AM_CFLAGS) \
|
|
-DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 \
|
|
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_4
|
|
|
|
lsi_settings_LDADD = \
|
|
liblsi.la \
|
|
$(GTK_LIBS)
|
|
|
|
desktopdir = $(datadir)/applications
|
|
desktop_DATA = \
|
|
data/lsi-settings.desktop
|
|
|
|
endif
|
|
|
|
# Convenience library to prevent external linking with currently unstable ABI
|
|
libnica_la_SOURCES = \
|
|
src/nica/hashmap.h \
|
|
src/nica/hashmap.c \
|
|
src/nica/inifile.h \
|
|
src/nica/inifile.c \
|
|
src/nica/util.h
|
|
|
|
libnica_la_CFLAGS = \
|
|
$(AM_CFLAGS)
|
|
|
|
|
|
# Convenience library for shared LSI functions
|
|
liblsi_la_SOURCES = \
|
|
src/shim/lsi.h \
|
|
src/shim/lsi.c
|
|
|
|
liblsi_la_CFLAGS = \
|
|
$(AM_CFLAGS)
|
|
|
|
liblsi_la_LIBADD = \
|
|
libnica.la
|
|
|
|
steam_SOURCES = \
|
|
src/shim/shim.c
|
|
|
|
steam_LDADD = \
|
|
libnica.la \
|
|
liblsi.la
|
|
|
|
steam_CFLAGS = \
|
|
$(AM_CFLAGS)
|