]> Pileus Git - ~andy/gtk/blob - gdk/win32/Makefile.am
Fix gdkenumtypes.h hack
[~andy/gtk] / gdk / win32 / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 libgdkincludedir = $(includedir)/gtk-2.0/gdk
4
5 INCLUDES = @STRIP_BEGIN@        \
6         -DG_LOG_DOMAIN=\"Gdk\"  \
7         -DINSIDE_GDK_WIN32      \
8         -I$(top_srcdir)         \
9         -I$(top_srcdir)/gdk     \
10         -I$(top_builddir)/gdk   \
11         @GTK_DEBUG_FLAGS@       \
12         @GDK_DEP_CFLAGS@        \
13         @GDK_WIN32_EXTRA_CFLAGS@\
14         -DGDK_COMPILATION       \
15 @STRIP_END@
16
17 LDADDS = @STRIP_BEGIN@          \
18         @GDK_DEP_LIBS@          \
19 @STRIP_END@
20
21 if HAVE_WINTAB
22 libwntab32x_a = .libs/libwntab32x.a
23
24 .libs/libwntab32x.a: @WINTAB_LIB@
25         cp $< $@
26 endif
27
28 if HAVE_IE55
29 libie55uuid_a = .libs/libie55uuid.a
30
31 .libs/libie55uuid.a: @IE55_UUID_LIB@
32         cp $< $@
33 endif
34
35 noinst_DATA = $(libwntab32x_a) $(libie55uuid_a)
36
37 noinst_LTLIBRARIES = libgdk-win32.la
38
39 SUBDIRS=rc
40
41 EXTRA_DIST = \
42         bdfcursor.c \
43         makefile.mingw  \
44         makefile.msc    \
45         libie55uuid.la  \
46         libwntab32x.la
47
48 libgdk_win32_la_SOURCES = \
49         xcursors.h \
50         gdkcolor-win32.c \
51         gdkcursor-win32.c \
52         gdkdisplay-win32.c \
53         gdkdnd-win32.c \
54         gdkdrawable-win32.c \
55         gdkdrawable-win32.h \
56         gdkevents-win32.c \
57         gdkfont-win32.c \
58         gdkgc-win32.c \
59         gdkgeometry-win32.c \
60         gdkglobals-win32.c \
61         gdkim-win32.c \
62         gdkimage-win32.c \
63         gdkinput.c \
64         gdkinput-win32.c \
65         gdkinput-win32.h \
66         gdkkeys-win32.c \
67         gdkmain-win32.c \
68         gdkpango-win32.c \
69         gdkpixmap-win32.c \
70         gdkpixmap-win32.h \
71         gdkprivate-win32.h \
72         gdkproperty-win32.c \
73         gdkscreen-win32.c \
74         gdkselection-win32.c \
75         gdkvisual-win32.c \
76         gdkwin32.h \
77         gdkwin32id.c \
78         gdkwindow-win32.c \
79         gdkwindow-win32.h
80
81 libgdkinclude_HEADERS =         \
82         gdkwin32.h
83
84 libgdk_win32_la_LIBADD = rc/gdk-win32res.lo
85
86 ###########################################
87 # Hack to get gdkenumtypes.h built first
88 ###########################################
89                                        
90 $(libgdk_win32_la_OBJECTS): $(top_srcdir)/gdk/gdkenumtypes.h
91
92 $(top_srcdir)/gdk/gdkenumtypes.h:
93         @cd $(top_builddir)/gdk && make $(AM_MAKEFLAGS) gdkenumtypes.h