]> Pileus Git - ~andy/gtk/blob - gdk/Makefile.am
fatal warning option is split up now, "--g-fatal-warnings" causes fatal
[~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-1.1.la
6 DEFS += -DG_LOG_DOMAIN=\"Gdk\"
7
8 libgdk_1_1_la_SOURCES = \
9         gdk.c           \
10         gdkcc.c         \
11         gdkcolor.c      \
12         gdkcursor.c     \
13         gdkdnd.c        \
14         gdkdraw.c       \
15         gdkfont.c       \
16         gdkgc.c         \
17         gdkglobals.c    \
18         gdkimage.c      \
19         gdkinput.c      \
20         gdkinput.h      \
21         gdkinputnone.h  \
22         gdkinputcommon.h\
23         gdkinputgxi.h   \
24         gdkinputxfree.h \
25         gdkpixmap.c     \
26         gdkproperty.c   \
27         gdkrgb.c        \
28         gdkrectangle.c  \
29         gdkregion.c     \
30         gdkselection.c  \
31         gdkthreads.c    \
32         gdkvisual.c     \
33         gdkwindow.c     \
34         gdkxid.c        \
35         MwmUtil.h       \
36         gxid_lib.h      \
37         gxid_proto.h    \
38         gxid_lib.c
39 ## this last one is ifdef'd out unless XINPUT_GXI is defined
40 ## It's easier than trying to get automake to handle compiling
41 ## it conditionally
42
43 gdkinclude_HEADERS = \
44         gdk.h           \
45         gdkcursors.h    \
46         gdkrgb.h        \
47         gdki18n.h       \
48         gdkkeysyms.h    \
49         gdkprivate.h    \
50         gdktypes.h      \
51         gdkx.h
52
53 libgdk_1_1_la_LDFLAGS = \
54         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
55         @x_ldflags@ @x_libs@
56
57 INCLUDES = -I$(top_srcdir) @GLIB_CFLAGS@ @x_cflags@ 
58
59 EXTRA_PROGRAMS = gxid
60
61 bin_PROGRAMS = @xinput_progs@
62
63 gxid_SOURCES = gxid.c
64
65 gxid_LDADD = \
66         @x_ldflags@     \
67         @x_libs@        \
68         -lm
69
70 BUILT_SOURCES = gdkcursors.h gdkkeysyms.h
71
72 EXTRA_DIST = makecursors.awk makekeysyms.awk
73
74 gdkcursors.h:
75         awk -f $(srcdir)/makecursors.awk @x_includes@/X11/cursorfont.h > $@
76
77 gdkkeysyms.h:
78         awk -f $(srcdir)/makekeysyms.awk @x_includes@/X11/keysymdef.h > $@
79
80 .PHONY: files
81
82 files:
83         @files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
84           echo $$p; \
85         done