]> www.fi.muni.cz Git - evince.git/blob - Makefile.am
449392276bcd14bf8165cef0ad8e8038cbdcaa2a
[evince.git] / Makefile.am
1 noinst_LTLIBRARIES = libsmclient.la
2
3 if OS_WIN32
4 platform_sources = eggsmclient-win32.c
5 else
6 platform_sources =              \
7         eggsmclient-xsmp.c      \
8         eggdesktopfile.c        \
9         eggdesktopfile.h
10 platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP
11 endif
12
13 libsmclient_la_SOURCES =        \
14         eggsmclient.c           \
15         eggsmclient.h           \
16         eggsmclient-private.h   \
17         $(platform_sources)
18
19 libsmclient_la_CFLAGS =                         \
20         -DG_LOG_DOMAIN=\""EggSMClient"\"        \
21         $(platform_defines)                     \
22         $(SMCLIENT_CFLAGS)                      \
23         $(WARNING_CFLAGS)                       \
24         $(DISABLE_DEPRECATED)
25
26 libsmclient_la_LIBADD = $(SMCLIENT_LIBS)
27
28 EXTRA_DIST =                    \
29         eggsmclient-win32.c     \
30         eggsmclient-xsmp.c      \
31         eggdesktopfile.c        \
32         eggdesktopfile.h
33