summaryrefslogtreecommitdiff
path: root/gdk/x11/Makefile.am
blob: 1e8e1ad1035528f30b9f3bbb3e4736d67208abef (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
## Process this file with automake to produce Makefile.in

libgdkincludedir = $(includedir)/gdk

INCLUDES = @STRIP_BEGIN@ 	\
	-DG_LOG_DOMAIN=\"Gdk\"	\
	-I$(top_srcdir)		\
	-I$(top_srcdir)/gdk	\
	-I$(top_builddir)/gdk	\
	@GTK_DEBUG_FLAGS@ 	\
	@GTK_XIM_FLAGS@		\
	@GTK_LOCALE_FLAGS@	\
	@PANGO_CFLAGS@		\
	@GLIB_CFLAGS@		\
	@x_cflags@ 		\
@STRIP_END@

LDADDS = @STRIP_BEGIN@ 	\
	@x_ldflags@	\
	@x_libs@	\
	@GLIB_LIBS@	\
	-lm		\
@STRIP_END@

if USE_X11
noinst_LTLIBRARIES = libgdk-x11.la

if XINPUT_GXI
xinput_sources =	   \
	gdkinput-x11.c	   \
	gdkinput-gxi.c
else
if XINPUT_XFREE
xinput_sources =	   \
	gdkinput-x11.c	   \
	gdkinput-xfree.c
else
xinput_sources =	   \
	gdkinput-none.c
endif
endif

libgdk_x11_la_SOURCES =    	\
	MwmUtil.h	   	\
	gdkcc-x11.c	   	\
	gdkcolor-x11.c	   	\
	gdkcursor-x11.c	   	\
	gdkdnd-x11.c	   	\
	gdkdrawable-x11.c  	\
	gdkevents-x11.c	   	\
	gdkfont-x11.c	   	\
	gdkgc-x11.c 	   	\
	gdkgeometry-x11.c  	\
	gdkglobals-x11.c   	\
	gdkim-x11.c	   	\
	gdkimage-x11.c	   	\
	gdkinput.c	   	\
	gdkmain-x11.c	   	\
	gdkpango-x11.c		\
	gdkpixmap-x11.c	   	\
	gdkproperty-x11.c  	\
	gdkselection-x11.c 	\
	gdkvisual-x11.c	   	\
	gdkwindow-x11.c    	\
	gdkxid.c	   	\
	gxid_lib.c	   	\
	gxid_lib.h	   	\
	gxid_proto.h	   	\
	gdkx.h		   	\
	gdkprivate-x11.h   	\
	gdkinputprivate.h  	\
	$(xinput_sources)

libgdkinclude_HEADERS = 	\
	gdkx.h

EXTRA_PROGRAMS = gxid
bin_PROGRAMS = @xinput_progs@

gxid_SOURCES = gxid.c
gxid_LDADD = $(LDADDS)

endif

install-data-local:
	../../$(MKINSTALLDIRS) $(includedir)/gdk
	$(INSTALL_DATA) $(srcdir)/gdkx.h $(includedir)/gdk
	../../$(MKINSTALLDIRS) $(includedir)/gdk/x11
	$(INSTALL_DATA) $(srcdir)/gdkprivate-x11.h $(includedir)/gdk/x11