summaryrefslogtreecommitdiff
path: root/cut-n-paste-code/libegg/Makefile.am
blob: 3d6e39775c7b711a66a5c2d468adb3d7cdc757e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
NULL=

noinst_LTLIBRARIES = libegg.la

AM_CPPFLAGS = $(LIBEGG_CFLAGS)

EGG_TREE_DND_FILES = 		\
	eggtreemultidnd.c	\
	eggtreemultidnd.h	\
	$(NULL)

EGG_SMCLIENT_FILES = 		\
	eggdesktopfile.c	\
	eggdesktopfile.h	\
	eggsmclient.c		\
	eggsmclient.h		\
	eggsmclient-private.h	\
	eggsmclient-xsmp.c	\
	$(NULL)

libegg_la_SOURCES = 		\
	$(EGG_TREE_DND_FILES)	\
	$(EGG_SMCLIENT_FILES)	\
	$(NULL)

libegg_la_CFLAGS =				\
	-DEGG_SM_CLIENT_BACKEND_XSMP		\
	-DG_LOG_DOMAIN=\""EggSMClient"\"	\
	$(LIBEGG_CFLAGS)			\
	$(WARNING_CFLAGS)			\
	$(DISABLE_DEPRECATED)

libegg_la_LIBADD = 	\
	$(LIBEGG_LIBS)	\
	-lSM -lICE

EXTRA_DIST = 			\
	update-from-egg.sh	\
	$(NULL)

EGG_TREE_DND_DIR = $(srcdir)/../../../libegg/libegg/treeviewutils
EGG_SMCLIENT_DIR = $(srcdir)/../../../libegg/libegg/smclient

regenerate-built-sources:
	EGGFILES="$(EGG_TREE_DND_FILES)" EGGDIR="$(EGG_TREE_DND_DIR)" $(srcdir)/update-from-egg.sh
	EGGFILES="$(EGG_SMCLIENT_FILES)" EGGDIR="$(EGG_SMCLIENT_DIR)" $(srcdir)/update-from-egg.sh