]> Pileus Git - ~andy/gtk/blob - gdk/x11/Makefile.am
Check for FreeType using freetype-config, since we can't rely on Xft to
[~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         @FREETYPE_CFLAGS@       \
17         @x_cflags@              \
18 @STRIP_END@
19
20 LDADDS = @STRIP_BEGIN@  \
21         @x_ldflags@     \
22         @x_libs@        \
23         @GLIB_LIBS@     \
24         -lm             \
25 @STRIP_END@
26
27 noinst_LTLIBRARIES = libgdk-x11.la
28
29 if XINPUT_GXI
30 xinput_sources =           \
31         gdkinput-x11.c     \
32         gdkinput-gxi.c
33 else
34 if XINPUT_XFREE
35 xinput_sources =           \
36         gdkinput-x11.c     \
37         gdkinput-xfree.c
38 else
39 xinput_sources =           \
40         gdkinput-none.c
41 endif
42 endif
43
44 libgdk_x11_la_SOURCES =         \
45         MwmUtil.h               \
46         gdkcc-x11.c             \
47         gdkcolor-x11.c          \
48         gdkcursor-x11.c         \
49         gdkdnd-x11.c            \
50         gdkdrawable-x11.c       \
51         gdkevents-x11.c         \
52         gdkfont-x11.c           \
53         gdkgc-x11.c             \
54         gdkgeometry-x11.c       \
55         gdkglobals-x11.c        \
56         gdkim-x11.c             \
57         gdkimage-x11.c          \
58         gdkinput.c              \
59         gdkkeys-x11.c           \
60         gdkmain-x11.c           \
61         gdkpango-x11.c          \
62         gdkpixmap-x11.c         \
63         gdkproperty-x11.c       \
64         gdkselection-x11.c      \
65         gdkvisual-x11.c         \
66         gdkwindow-x11.c         \
67         gdkxid.c                \
68         gxid_lib.c              \
69         gxid_lib.h              \
70         gxid_proto.h            \
71         gdkx.h                  \
72         gdkprivate-x11.h        \
73         gdkinputprivate.h       \
74         $(xinput_sources)
75
76 libgdkinclude_HEADERS =         \
77         gdkx.h
78
79 libgdkx11include_HEADERS =      \
80         gdkdrawable-x11.h       \
81         gdkwindow-x11.h         \
82         gdkpixmap-x11.h
83
84 EXTRA_PROGRAMS = gxid
85 bin_PROGRAMS = @xinput_progs@
86
87 gxid_SOURCES = gxid.c
88 gxid_LDADD = $(LDADDS)
89
90 # We need to include all these C files here since the conditionals
91 # don't seem to be correctly expanded for the dist files.
92 EXTRA_DIST =                    \
93         gdkinput-x11.c          \
94         gdkinput-xfree.c        \
95         gdkinput-gxi.c          \
96         gdkinput-none.c