]> www.fi.muni.cz Git - evince.git/blob - cut-n-paste/smclient/Makefile.am
Make session manager code compile for w32. These changes have been taken
[evince.git] / cut-n-paste / smclient / Makefile.am
1 noinst_LTLIBRARIES = libsmclient.la
2
3 if PLATFORM_WIN32
4 platform_sources = eggsmclient-win32.c
5 else
6 platform_libs = -lSM -lICE
7 platform_sources =              \
8         eggsmclient-xsmp.c      \
9         eggdesktopfile.c        \
10         eggdesktopfile.h
11 platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP
12 endif
13
14 libsmclient_la_SOURCES =        \
15         eggsmclient.c           \
16         eggsmclient.h           \
17         eggsmclient-private.h   \
18         $(platform_sources)
19
20 libsmclient_la_CFLAGS =                         \
21         -DG_LOG_DOMAIN=\""EggSMClient"\"        \
22         $(platform_defines)                     \
23         $(SMCLIENT_CFLAGS)                      \
24         $(WARNING_CFLAGS)                       \
25         $(DISABLE_DEPRECATED)
26
27 libsmclient_la_LIBADD =         \
28         $(SMCLIENT_LIBS)        \
29         $(platform_libs)
30
31 EXTRA_DIST =                    \
32         eggsmclient-win32.c     \
33         eggsmclient-xsmp.c      \
34         eggdesktopfile.c        \
35         eggdesktopfile.h
36