view src/libeggsmclient/Makefile @ 4802:d834d2df8d7c

override includesibdir for compatibility.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 25 Nov 2008 02:14:56 +0900
parents 171e3b90d718
children 7bf7f83a217e
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

includesubdir = audacious

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