]> Pileus Git - ~andy/gtk/blob - gdk/Makefile.am
New GdkColorContext object, ported from the XColorContext in XmHTML.
[~andy/gtk] / gdk / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 gdkincludedir = $(includedir)/gdk
4
5 lib_LTLIBRARIES = libgdk.la
6
7 libgdk_la_SOURCES = \
8         gdk.c           \
9         gdkcc.c         \
10         gdkcolor.c      \
11         gdkcursor.c     \
12         gdkdraw.c       \
13         gdkfont.c       \
14         gdkgc.c         \
15         gdkglobals.c    \
16         gdkimage.c      \
17         gdkinput.c      \
18         gdkinput.h      \
19         gdkinputnone.h  \
20         gdkinputcommon.h\
21         gdkinputgxi.h   \
22         gdkinputxfree.h \
23         gdkpixmap.c     \
24         gdkproperty.c   \
25         gdkrectangle.c  \
26         gdkselection.c  \
27         gdkvisual.c     \
28         gdkwindow.c     \
29         gdkxid.c        \
30         gxid_lib.h      \
31         gxid_proto.h    \
32         gxid_lib.c
33 ## this last one is ifdef'd out unless XINPUT_GXI is defined
34 ## It's easier than trying to get automake to handle compiling
35 ## it conditionally
36
37 gdkinclude_HEADERS = \
38         gdk.h           \
39         gdkcursors.h    \
40         gdki18n.h       \
41         gdkkeysyms.h    \
42         gdkprivate.h    \
43         gdktypes.h      \
44         gdkx.h
45
46 libgdk_la_LDFLAGS = -version-info 1:0:0 \
47         @x_ldflags@ @x_libs@
48
49 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib @x_cflags@ 
50
51 EXTRA_PROGRAMS = gxid
52
53 bin_PROGRAMS = @xinput_progs@
54
55 gxid_SOURCES = gxid.c
56
57 gxid_LDADD = \
58         @x_ldflags@                             \
59         @x_libs@                                \
60         -lm
61
62 BUILT_SOURCES = gdkcursors.h gdkkeysyms.h
63
64 EXTRA_DIST = makecursors.awk makekeysyms.awk
65
66 gdkcursors.h:
67         awk -f $(srcdir)/makecursors.awk @x_includes@/X11/cursorfont.h > $@
68
69 gdkkeysyms.h:
70         awk -f $(srcdir)/makekeysyms.awk @x_includes@/X11/keysymdef.h > $@
71
72 .PHONY: files
73
74 files:
75         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
76           echo $$p; \
77         done
78
79 $(DEP_FILES) : $(BUILT_SOURCES)