Makefile.am 1.47 KB
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1 2 3 4
## Process this file with automake to produce Makefile.in

gdkincludedir = $(includedir)/gdk

Tim Janik's avatar
Tim Janik committed
5
lib_LTLIBRARIES = libgdk-1.1.la
Elliot Lee's avatar
Elliot Lee committed
6

Tim Janik's avatar
Tim Janik committed
7
libgdk_1_1_la_SOURCES = \
Elliot Lee's avatar
Elliot Lee committed
8
	gdk.c		\
9
	gdkcc.c		\
Elliot Lee's avatar
Elliot Lee committed
10 11
	gdkcolor.c	\
	gdkcursor.c	\
12
	gdkdnd.c	\
Elliot Lee's avatar
Elliot Lee committed
13 14 15 16 17 18
	gdkdraw.c	\
	gdkfont.c	\
	gdkgc.c		\
	gdkglobals.c	\
	gdkimage.c	\
	gdkinput.c	\
19 20 21 22 23
	gdkinput.h	\
	gdkinputnone.h  \
	gdkinputcommon.h\
	gdkinputgxi.h	\
	gdkinputxfree.h	\
Elliot Lee's avatar
Elliot Lee committed
24 25 26
	gdkpixmap.c	\
	gdkproperty.c	\
	gdkrectangle.c	\
27
	gdkregion.c	\
Elliot Lee's avatar
Elliot Lee committed
28
	gdkselection.c	\
Owen Taylor's avatar
Owen Taylor committed
29
	gdkthreads.c    \
Elliot Lee's avatar
Elliot Lee committed
30 31 32
	gdkvisual.c	\
	gdkwindow.c	\
	gdkxid.c 	\
33
	MwmUtil.h       \
34 35
	gxid_lib.h	\
	gxid_proto.h	\
Elliot Lee's avatar
Elliot Lee committed
36 37 38 39 40 41 42 43
        gxid_lib.c
## this last one is ifdef'd out unless XINPUT_GXI is defined
## It's easier than trying to get automake to handle compiling
## it conditionally

gdkinclude_HEADERS = \
	gdk.h		\
	gdkcursors.h	\
44
 	gdki18n.h	\
Elliot Lee's avatar
Elliot Lee committed
45 46 47 48 49
	gdkkeysyms.h	\
	gdkprivate.h	\
	gdktypes.h	\
	gdkx.h

Tim Janik's avatar
Tim Janik committed
50
libgdk_1_1_la_LDFLAGS = \
51
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
52
	@x_ldflags@ @x_libs@
Elliot Lee's avatar
Elliot Lee committed
53

Owen Taylor's avatar
Owen Taylor committed
54
INCLUDES = -I$(top_srcdir) @GLIB_CFLAGS@ @x_cflags@ 
Elliot Lee's avatar
Elliot Lee committed
55 56 57 58 59 60 61 62

EXTRA_PROGRAMS = gxid

bin_PROGRAMS = @xinput_progs@

gxid_SOURCES = gxid.c

gxid_LDADD = \
63 64
	@x_ldflags@	\
	@x_libs@	\
Elliot Lee's avatar
Elliot Lee committed
65 66 67 68
	-lm

BUILT_SOURCES = gdkcursors.h gdkkeysyms.h

69
EXTRA_DIST = makecursors.awk makekeysyms.awk
Elliot Lee's avatar
Elliot Lee committed
70 71

gdkcursors.h:
72
	awk -f $(srcdir)/makecursors.awk @x_includes@/X11/cursorfont.h > $@
Elliot Lee's avatar
Elliot Lee committed
73 74

gdkkeysyms.h:
75
	awk -f $(srcdir)/makekeysyms.awk @x_includes@/X11/keysymdef.h > $@
Elliot Lee's avatar
Elliot Lee committed
76 77 78 79 80 81 82

.PHONY: files

files:
	@files=`ls $(DISTFILES) 2> /dev/null `; for p in $$files; do \
	  echo $$p; \
	done