annotate src/libeggsmclient/Makefile @ 4795:885c21b8684e

Only gtk.h should be included, as per -DGTK_DISABLE_SINGLE_INCLUDES (GTK+ 3 compatibility project).
author Tony Vroon <chainsaw@gentoo.org>
date Sat, 04 Oct 2008 23:48:49 +0100
parents 171e3b90d718
children d834d2df8d7c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4315
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
1 ifdef PLATFORM_WIN32
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
2 platform_sources = eggsmclient-win32.c
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
3 platform_defines =
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
4 platform_libs =
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
5 else
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
6 platform_sources = eggsmclient-xsmp.c \
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
7 eggdesktopfile.c
4487
171e3b90d718 Fix libeggsmclient compilation under the new configure.
Matti Hamalainen <ccr@tnsp.org>
parents: 4315
diff changeset
8 platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP ${SM_CFLAGS}
171e3b90d718 Fix libeggsmclient compilation under the new configure.
Matti Hamalainen <ccr@tnsp.org>
parents: 4315
diff changeset
9 platform_libs = ${SM_LIBS}
4315
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
10 endif
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
11
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
12 STATIC_LIB_NOINST = libeggsmclient.a
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
13
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
14 SRCS = eggsmclient.c \
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
15 ${platform_sources}
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
16
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
17 include ../../buildsys.mk
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
18 include ../../extra.mk
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
19
4487
171e3b90d718 Fix libeggsmclient compilation under the new configure.
Matti Hamalainen <ccr@tnsp.org>
parents: 4315
diff changeset
20 CFLAGS += ${INCLUDES} ${GLIB_CFLAGS} ${GTK_CFLAGS} -I../.. -I. ${platform_defines}
4315
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
21 LIBS += ${GLIB_LIBS} ${GTK_LIBS} ${platform_libs}
c942eaef7bc6 Implement session management.
Ivan N. Zlatev <contact@i-nz.net>
parents:
diff changeset
22 CPPFLAGS += ${CFLAGS}