comparison 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
comparison
equal deleted inserted replaced
4486:042eaca39ded 4487:171e3b90d718
3 platform_defines = 3 platform_defines =
4 platform_libs = 4 platform_libs =
5 else 5 else
6 platform_sources = eggsmclient-xsmp.c \ 6 platform_sources = eggsmclient-xsmp.c \
7 eggdesktopfile.c 7 eggdesktopfile.c
8 platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP 8 platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP ${SM_CFLAGS}
9 platform_libs = -lSM -lICE 9 platform_libs = ${SM_LIBS}
10 endif 10 endif
11 11
12 STATIC_LIB_NOINST = libeggsmclient.a 12 STATIC_LIB_NOINST = libeggsmclient.a
13 13
14 SRCS = eggsmclient.c \ 14 SRCS = eggsmclient.c \
15 ${platform_sources} 15 ${platform_sources}
16 16
17 include ../../buildsys.mk 17 include ../../buildsys.mk
18 include ../../extra.mk 18 include ../../extra.mk
19 19
20 CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I. ${platform_defines} 20 CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I../.. -I. ${platform_defines}
21 LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs} 21 LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs}
22 CPPFLAGS += ${CFLAGS} 22 CPPFLAGS += ${CFLAGS}