]> Pileus Git - ~andy/gtk/blob - gdk/Makefile.am
D&D now lets you use shaped windows for drags. As usual, see testgtk.c... Now finish...
[~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         gdk_dnd.c       \
13         gdkdraw.c       \
14         gdkfont.c       \
15         gdkgc.c         \
16         gdkglobals.c    \
17         gdkimage.c      \
18         gdkinput.c      \
19         gdkinput.h      \
20         gdkinputnone.h  \
21         gdkinputcommon.h\
22         gdkinputgxi.h   \
23         gdkinputxfree.h \
24         gdkpixmap.c     \
25         gdkproperty.c   \
26         gdkrectangle.c  \
27         gdkselection.c  \
28         gdkvisual.c     \
29         gdkwindow.c     \
30         gdkxid.c        \
31         gxid_lib.h      \
32         gxid_proto.h    \
33         gxid_lib.c
34 ## this last one is ifdef'd out unless XINPUT_GXI is defined
35 ## It's easier than trying to get automake to handle compiling
36 ## it conditionally
37
38 gdkinclude_HEADERS = \
39         gdk.h           \
40         gdkcursors.h    \
41         gdki18n.h       \
42         gdkkeysyms.h    \
43         gdkprivate.h    \
44         gdktypes.h      \
45         gdkx.h
46
47 libgdk_la_LDFLAGS = -version-info 1:0:0 \
48         @x_ldflags@ @x_libs@
49
50 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/glib @x_cflags@ 
51
52 EXTRA_PROGRAMS = gxid
53
54 bin_PROGRAMS = @xinput_progs@
55
56 gxid_SOURCES = gxid.c
57
58 gxid_LDADD = \
59         @x_ldflags@     \
60         @x_libs@        \
61         -lm
62
63 BUILT_SOURCES = gdkcursors.h gdkkeysyms.h
64
65 EXTRA_DIST = makecursors.awk makekeysyms.awk
66
67 gdkcursors.h:
68         awk -f $(srcdir)/makecursors.awk @x_includes@/X11/cursorfont.h > $@
69
70 gdkkeysyms.h:
71         awk -f $(srcdir)/makekeysyms.awk @x_includes@/X11/keysymdef.h > $@
72
73 .PHONY: files
74
75 files:
76         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
77           echo $$p; \
78         done
79
80 $(DEP_FILES) : $(BUILT_SOURCES)