]> Pileus Git - ~andy/gtk/blob - gdk/Makefile.am
version bump to 1.1.8, binary age 0, interface age 0, depend on GLib
[~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 INCLUDES = \
8         -DG_LOG_DOMAIN=\"Gdk\"  \
9         -I$(top_srcdir)         \
10         @GTK_DEBUG_FLAGS@       \
11         @GTK_XIM_FLAGS@         \
12         @GTK_LOCALE_FLAGS@      \
13         @GLIB_CFLAGS@           \
14         @x_cflags@ 
15
16 libgdk_la_SOURCES = \
17         gdk.c           \
18         gdkcc.c         \
19         gdkcolor.c      \
20         gdkcursor.c     \
21         gdkdnd.c        \
22         gdkdraw.c       \
23         gdkevents.c     \
24         gdkfont.c       \
25         gdkgc.c         \
26         gdkglobals.c    \
27         gdkim.c         \
28         gdkimage.c      \
29         gdkinput.c      \
30         gdkinput.h      \
31         gdkinputnone.h  \
32         gdkinputcommon.h\
33         gdkinputgxi.h   \
34         gdkinputxfree.h \
35         gdkpixmap.c     \
36         gdkproperty.c   \
37         gdkrgb.c        \
38         gdkrectangle.c  \
39         gdkregion.c     \
40         gdkselection.c  \
41         gdkvisual.c     \
42         gdkwindow.c     \
43         gdkxid.c        \
44         MwmUtil.h       \
45         gxid_lib.h      \
46         gxid_proto.h    \
47         gxid_lib.c
48 ## this last one is ifdef'd out unless XINPUT_GXI is defined
49 ## It's easier than trying to get automake to handle compiling
50 ## it conditionally
51
52 gdkinclude_HEADERS = \
53         gdk.h           \
54         gdkcursors.h    \
55         gdkrgb.h        \
56         gdki18n.h       \
57         gdkkeysyms.h    \
58         gdkprivate.h    \
59         gdktypes.h      \
60         gdkx.h
61
62 libgdk_la_LDFLAGS = \
63         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) \
64          @x_ldflags@ @x_libs@
65
66 EXTRA_PROGRAMS = gxid
67
68 bin_PROGRAMS = @xinput_progs@
69
70 gxid_SOURCES = gxid.c
71
72 gxid_LDADD = \
73         @x_ldflags@     \
74         @x_libs@        \
75         -lm
76
77 X-derived-headers:
78         sed -e 's/^#define[     ]*XC\([^        ]*\)[   ]*\([^  ]*\)[   ]*.*$$/GDK\1 = \2,/' \
79             -e 'tb' -e 'd' -e ':b' \
80             -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
81             < @x_includes@/X11/cursorfont.h > gdkcursors.h ; \
82         sed -e 's/^#define[     ]*XK\([^        ]*\)[   ]*\([^  ]*\)[   ]*.*$$/#define GDK\1 \2/' \
83             -e 'tb' -e 'd' -e ':b' -e 's/ 0X/ 0x/' \
84             < @x_includes@/X11/keysymdef.h > gdkkeysyms.h
85
86 .PHONY: files
87
88 files:
89         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
90           echo $$p; \
91         done