X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=cut-n-paste%2Fsmclient%2FMakefile.am;h=449392276bcd14bf8165cef0ad8e8038cbdcaa2a;hb=e2796d0d1a833e63c9495193c9241bd718f68082;hp=c4ed73ada58a78c5610eb0a66f40652b96f25f13;hpb=d982a5706393eb8fa01a5334f6cafcfa495025a1;p=evince.git diff --git a/cut-n-paste/smclient/Makefile.am b/cut-n-paste/smclient/Makefile.am index c4ed73ad..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 \ + $(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 +