X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=cut-n-paste%2Fsmclient%2FMakefile.am;h=449392276bcd14bf8165cef0ad8e8038cbdcaa2a;hb=e2796d0d1a833e63c9495193c9241bd718f68082;hp=25e9840affaba5534239ad46b0d7b8ecbd2f3602;hpb=451e3d74f9fb9b885428336e4125406b29c1ed4d;p=evince.git diff --git a/cut-n-paste/smclient/Makefile.am b/cut-n-paste/smclient/Makefile.am index 25e9840a..44939227 100644 --- a/cut-n-paste/smclient/Makefile.am +++ b/cut-n-paste/smclient/Makefile.am @@ -1,20 +1,33 @@ noinst_LTLIBRARIES = libsmclient.la -libsmclient_la_SOURCES = \ +if OS_WIN32 +platform_sources = eggsmclient-win32.c +else +platform_sources = \ + eggsmclient-xsmp.c \ eggdesktopfile.c \ - eggdesktopfile.h \ + eggdesktopfile.h +platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP +endif + +libsmclient_la_SOURCES = \ eggsmclient.c \ eggsmclient.h \ eggsmclient-private.h \ - eggsmclient-xsmp.c + $(platform_sources) libsmclient_la_CFLAGS = \ - -DG_LOG_DOMAIN=\""EggSMClient"\" \ - -DEGG_SM_CLIENT_BACKEND_XSMP \ + -DG_LOG_DOMAIN=\""EggSMClient"\" \ + $(platform_defines) \ $(SMCLIENT_CFLAGS) \ $(WARNING_CFLAGS) \ $(DISABLE_DEPRECATED) -libsmclient_la_LIBADD = \ - $(SMCLIENT_LIBS) \ - -lSM -lICE +libsmclient_la_LIBADD = $(SMCLIENT_LIBS) + +EXTRA_DIST = \ + eggsmclient-win32.c \ + eggsmclient-xsmp.c \ + eggdesktopfile.c \ + eggdesktopfile.h +