Makefile.am 1.94 KB
Newer Older
1 2
## Process this file with automake to produce Makefile.in

3
libgdkincludedir = $(includedir)/gtk-2.0/gdk
4

5 6
INCLUDES = @STRIP_BEGIN@ 		\
	-DG_LOG_DOMAIN=\"Gdk\"		\
Manish Singh's avatar
Manish Singh committed
7
	-DGDK_COMPILATION		\
8 9 10 11 12
	-I$(top_srcdir)			\
	-I$(top_srcdir)/gdk		\
	-I$(top_builddir)/gdk		\
	-DG_DISABLE_DEPRECATED		\
	-DGDK_PIXBUF_DISABLE_DEPRECATED	\
Manish Singh's avatar
Manish Singh committed
13
	-DGDK_DISABLE_DEPRECATED	\
14 15
	@GTK_DEBUG_FLAGS@ 		\
	@GDK_DEP_CFLAGS@		\
16 17
@STRIP_END@

18 19
LDADDS = @STRIP_BEGIN@ 		\
	@GDK_DEP_LIBS@		\
20 21 22 23
@STRIP_END@

noinst_LTLIBRARIES = libgdk-x11.la

24 25 26 27 28
if XINPUT_XFREE
xinput_sources =	   \
	gdkinput-x11.c	   \
	gdkinput-xfree.c
else
29
xinput_sources =	   \
30 31 32
	gdkinput-none.c
endif

33 34 35 36
libgdk_x11_la_SOURCES =    	\
	MwmUtil.h	   	\
	gdkcolor-x11.c	   	\
	gdkcursor-x11.c	   	\
37
	gdkdisplay-x11.c	\
38
	gdkdisplay-x11.h	\
39 40
	gdkdnd-x11.c	   	\
	gdkdrawable-x11.c  	\
41
	gdkdrawable-x11.h	\
42 43 44 45 46 47 48 49
	gdkevents-x11.c	   	\
	gdkfont-x11.c	   	\
	gdkgc-x11.c 	   	\
	gdkgeometry-x11.c  	\
	gdkglobals-x11.c   	\
	gdkim-x11.c	   	\
	gdkimage-x11.c	   	\
	gdkinput.c	   	\
Havoc Pennington's avatar
Havoc Pennington committed
50
	gdkkeys-x11.c		\
51
	gdkmain-x11.c	   	\
52
	gdkpango-x11.c		\
53
	gdkpixmap-x11.c	   	\
54
	gdkpixmap-x11.h		\
55
	gdkproperty-x11.c  	\
56
	gdkscreen-x11.c		\
57
	gdkscreen-x11.h		\
58 59 60
	gdkselection-x11.c 	\
	gdkvisual-x11.c	   	\
	gdkwindow-x11.c    	\
61
	gdkwindow-x11.h		\
62 63 64 65
	gdkxid.c	   	\
	gdkx.h		   	\
	gdkprivate-x11.h   	\
	gdkinputprivate.h  	\
66 67 68 69
	xsettings-client.h	\
	xsettings-client.c	\
	xsettings-common.h	\
	xsettings-common.c	\
70
	$(xinput_sources)
71

72
libgdkinclude_HEADERS = 	\
73 74
	gdkx.h

Owen Taylor's avatar
Owen Taylor committed
75 76 77 78 79 80
# We need to include all these C files here since the conditionals
# don't seem to be correctly expanded for the dist files.
EXTRA_DIST = 			\
	gdkinput-x11.c		\
	gdkinput-xfree.c	\
	gdkinput-none.c
81 82 83 84 85

###########################################
# Hack to get gdkenumtypes.h built first
###########################################
                                       
86
$(libgdk_x11_la_OBJECTS): $(top_srcdir)/gdk/gdkenumtypes.h
87

88
$(top_srcdir)/gdk/gdkenumtypes.h:
89
	@cd $(top_builddir)/gdk && make $(AM_MAKEFLAGS) gdkenumtypes.h