]> Pileus Git - ~andy/gtk/blob - gdk/x11/Makefile.am
ab32460360b5490a95ff3f5a2384c144382412f8
[~andy/gtk] / gdk / x11 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 libgdkincludedir = $(includedir)/gtk-2.0/gdk
4 libgdkx11includedir = $(includedir)/gtk-2.0/gdk/x11
5
6 INCLUDES = @STRIP_BEGIN@        \
7         -DG_LOG_DOMAIN=\"Gdk\"  \
8         -I$(top_srcdir)         \
9         -I$(top_srcdir)/gdk     \
10         -I$(top_builddir)/gdk   \
11         @GTK_DEBUG_FLAGS@       \
12         @GTK_XIM_FLAGS@         \
13         @GTK_LOCALE_FLAGS@      \
14         @PANGO_CFLAGS@          \
15         @GLIB_CFLAGS@           \
16         @x_cflags@              \
17 @STRIP_END@
18
19 LDADDS = @STRIP_BEGIN@  \
20         @x_ldflags@     \
21         @x_libs@        \
22         @GLIB_LIBS@     \
23         -lm             \
24 @STRIP_END@
25
26 noinst_LTLIBRARIES = libgdk-x11.la
27
28 if XINPUT_GXI
29 xinput_sources =           \
30         gdkinput-x11.c     \
31         gdkinput-gxi.c
32 else
33 if XINPUT_XFREE
34 xinput_sources =           \
35         gdkinput-x11.c     \
36         gdkinput-xfree.c
37 else
38 xinput_sources =           \
39         gdkinput-none.c
40 endif
41 endif
42
43 libgdk_x11_la_SOURCES =         \
44         MwmUtil.h               \
45         gdkcc-x11.c             \
46         gdkcolor-x11.c          \
47         gdkcursor-x11.c         \
48         gdkdnd-x11.c            \
49         gdkdrawable-x11.c       \
50         gdkevents-x11.c         \
51         gdkfont-x11.c           \
52         gdkgc-x11.c             \
53         gdkgeometry-x11.c       \
54         gdkglobals-x11.c        \
55         gdkim-x11.c             \
56         gdkimage-x11.c          \
57         gdkinput.c              \
58         gdkkeys-x11.c           \
59         gdkmain-x11.c           \
60         gdkpango-x11.c          \
61         gdkpixmap-x11.c         \
62         gdkproperty-x11.c       \
63         gdkselection-x11.c      \
64         gdkvisual-x11.c         \
65         gdkwindow-x11.c         \
66         gdkxid.c                \
67         gxid_lib.c              \
68         gxid_lib.h              \
69         gxid_proto.h            \
70         gdkx.h                  \
71         gdkprivate-x11.h        \
72         gdkinputprivate.h       \
73         $(xinput_sources)
74
75 libgdkinclude_HEADERS =         \
76         gdkx.h
77
78 libgdkx11include_HEADERS =      \
79         gdkdrawable-x11.h       \
80         gdkwindow-x11.h         \
81         gdkpixmap-x11.h
82
83 EXTRA_PROGRAMS = gxid
84 bin_PROGRAMS = @xinput_progs@
85
86 gxid_SOURCES = gxid.c
87 gxid_LDADD = $(LDADDS)
88
89 # We need to include all these C files here since the conditionals
90 # don't seem to be correctly expanded for the dist files.
91 EXTRA_DIST =                    \
92         gdkinput-x11.c          \
93         gdkinput-xfree.c        \
94         gdkinput-gxi.c          \
95         gdkinput-none.c