view src/libeggsmclient/Makefile @ 4487:171e3b90d718

Fix libeggsmclient compilation under the new configure.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Apr 2008 07:31:27 +0300
parents c942eaef7bc6
children d834d2df8d7c
line wrap: on
line source

ifdef PLATFORM_WIN32
platform_sources = eggsmclient-win32.c
platform_defines =
platform_libs =
else
platform_sources = eggsmclient-xsmp.c \
                   eggdesktopfile.c
platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP ${SM_CFLAGS}
platform_libs = ${SM_LIBS}
endif

STATIC_LIB_NOINST = libeggsmclient.a

SRCS = eggsmclient.c         \
       ${platform_sources}

include ../../buildsys.mk
include ../../extra.mk

CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I../.. -I. ${platform_defines}
LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs}
CPPFLAGS += ${CFLAGS}