]> Pileus Git - ~andy/gtk/blob - gdk/x11/Makefile.am
Add check for db2html
[~andy/gtk] / gdk / x11 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 libgdkincludedir = $(includedir)/gdk
4 libgdkx11includedir = $(includedir)/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         gdkmain-x11.c           \
59         gdkpango-x11.c          \
60         gdkpixmap-x11.c         \
61         gdkproperty-x11.c       \
62         gdkselection-x11.c      \
63         gdkvisual-x11.c         \
64         gdkwindow-x11.c         \
65         gdkxid.c                \
66         gxid_lib.c              \
67         gxid_lib.h              \
68         gxid_proto.h            \
69         gdkx.h                  \
70         gdkprivate-x11.h        \
71         gdkinputprivate.h       \
72         $(xinput_sources)
73
74 libgdkinclude_HEADERS =         \
75         gdkx.h
76
77 libgdkx11include_HEADERS =      \
78         gdkdrawable-x11.h       \
79         gdkwindow-x11.h         \
80         gdkpixmap-x11.h
81
82 EXTRA_PROGRAMS = gxid
83 bin_PROGRAMS = @xinput_progs@
84
85 gxid_SOURCES = gxid.c
86 gxid_LDADD = $(LDADDS)
87
88 # We need to include all these C files here since the conditionals
89 # don't seem to be correctly expanded for the dist files.
90 EXTRA_DIST =                    \
91         gdkinput-x11.c          \
92         gdkinput-xfree.c        \
93         gdkinput-gxi.c          \
94         gdkinput-none.c