X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=cut-n-paste%2Fsmclient%2FMakefile.am;h=7cc76bcbb864aea5771f5255476af5723b3afe47;hb=841369ba5c77e58a6fa19723b33d04720a7d4fec;hp=c4ed73ada58a78c5610eb0a66f40652b96f25f13;hpb=ee88daeea5519ca669244684877effbcea42fb56;p=evince.git diff --git a/cut-n-paste/smclient/Makefile.am b/cut-n-paste/smclient/Makefile.am index c4ed73ad..7cc76bcb 100644 --- a/cut-n-paste/smclient/Makefile.am +++ b/cut-n-paste/smclient/Makefile.am @@ -1,20 +1,36 @@ noinst_LTLIBRARIES = libsmclient.la -libsmclient_la_SOURCES = \ +if PLATFORM_WIN32 +platform_sources = eggsmclient-win32.c +else +platform_libs = -lSM -lICE +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 + $(platform_libs) + +EXTRA_DIST = \ + eggsmclient-win32.c \ + eggsmclient-xsmp.c \ + eggdesktopfile.c \ + eggdesktopfile.h +