Makefile.am 12.5 KB
Newer Older
1
## Makefile.am for gtk+/gdk
2
include $(top_srcdir)/Makefile.decl
3
-include $(INTROSPECTION_MAKEFILE)
Johan Dahlin's avatar
Johan Dahlin committed
4
INTROSPECTION_GIRS =
LRN's avatar
LRN committed
5 6
INTROSPECTION_SCANNER_ENV = \
   CC="$(CC)"
Johan Dahlin's avatar
Johan Dahlin committed
7
INTROSPECTION_SCANNER_ARGS = \
8 9
	--add-include-path=../gdk \
	--warn-all
Johan Dahlin's avatar
Johan Dahlin committed
10 11
INTROSPECTION_COMPILER_ARGS = \
   --includedir=$(srcdir) \
12
   --includedir=.
Elliot Lee's avatar
Elliot Lee committed
13

14
SUBDIRS = $(GDK_BACKENDS) .
15

16
DIST_SUBDIRS = win32 x11 quartz broadway wayland
Tor Lillqvist's avatar
Tor Lillqvist committed
17

18 19
CLEANFILES =

20
EXTRA_DIST += 			\
21
	keynames.txt		\
22
	keynames-translate.txt	\
23
	keyname-table.h		\
24
	gdkkeynames.c		\
25
	gen-keyname-table.pl	\
26
	gdkconfig.h.win32	\
27
	gdkconfig.h.win32_broadway	\
28
	gdkkeysyms-update.pl	\
29
	gdkmarshalers.list	\
30
	gdkwindowimpl.h		\
31
	makefile.msc		\
32 33
	gdkenumtypes.c.template	\
	gdkenumtypes.h.template	\
34
	gdkversionmacros.h.in
35

36
AM_CPPFLAGS = 				\
Owen Taylor's avatar
Owen Taylor committed
37
	-DG_LOG_DOMAIN=\"Gdk\"		\
Manish Singh's avatar
Manish Singh committed
38
	-DGDK_COMPILATION		\
39
	-I$(top_builddir)		\
Owen Taylor's avatar
Owen Taylor committed
40
	-I$(top_builddir)/gdk		\
41
	-I$(top_srcdir)			\
42
	$(GTK_DEBUG_FLAGS)		\
43
	$(GDK_DEP_CFLAGS)
44

Tor Lillqvist's avatar
Tor Lillqvist committed
45 46 47 48
if PLATFORM_WIN32
no_undefined = -no-undefined
endif

49
# libtool stuff: set version and export symbols for resolving
50 51
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
52 53 54 55 56
LDADD = 					\
	$(GTK_LINK_FLAGS)			\
	-version-info $(LT_VERSION_INFO)	\
	-export-dynamic 			\
	-rpath $(libdir) 			\
57
	$(no_undefined)
58

59 60 61
#
# setup source file variables
#
Owen Taylor's avatar
Owen Taylor committed
62
#
63
# GDK header files for public installation (non-generated)
Owen Taylor's avatar
Owen Taylor committed
64
#
Matthias Clasen's avatar
Matthias Clasen committed
65
#
66
gdk_public_h_sources = 				\
67
	gdk.h					\
68
	gdkapplaunchcontext.h			\
69
	gdkcairo.h				\
70
	gdkcursor.h				\
71 72
	gdkdevice.h				\
	gdkdevicemanager.h			\
73
	gdkdisplay.h				\
74
	gdkdisplaymanager.h			\
75 76
	gdkdnd.h				\
	gdkevents.h				\
77
	gdkframetimings.h			\
78
	gdkkeys.h				\
79
	gdkkeysyms.h				\
80
	gdkkeysyms-compat.h			\
81
	gdkmain.h				\
82
	gdkpango.h				\
Owen W. Taylor's avatar
Owen W. Taylor committed
83
	gdkframeclock.h				\
84
	gdkpixbuf.h				\
85
	gdkprivate.h				\
86
	gdkproperty.h				\
87
	gdkrectangle.h				\
88
	gdkrgba.h				\
89
	gdkscreen.h				\
90
	gdkselection.h				\
91
	gdktestutils.h				\
92
	gdkthreads.h				\
93 94
	gdktypes.h				\
	gdkvisual.h				\
95
	gdkwindow.h
96

Matthias Clasen's avatar
Matthias Clasen committed
97 98 99 100 101 102 103
deprecated_h_sources =				\
	deprecated/gdkcolor.h

gdk_h_sources =					\
	$(gdk_public_h_sources)			\
	$(deprecated_h_sources)

104
gdk_private_headers = 				\
105
	gdkapplaunchcontextprivate.h		\
106
	gdkcursorprivate.h			\
107
	gdkdevicemanagerprivate.h		\
108
	gdkdeviceprivate.h			\
109 110 111
	gdkdisplaymanagerprivate.h		\
	gdkdisplayprivate.h			\
	gdkdndprivate.h				\
Owen W. Taylor's avatar
Owen W. Taylor committed
112
	gdkframeclockidle.h			\
113
	gdkframeclockprivate.h			\
114 115
	gdkscreenprivate.h			\
	gdkinternals.h				\
116
	gdkintl.h				\
117
	gdkkeysprivate.h			\
118 119
	gdkvisualprivate.h			\
	gdkx.h
120

Matthias Clasen's avatar
Matthias Clasen committed
121 122 123
deprecated_c_sources =				\
	deprecated/gdkcolor.c

124
gdk_c_sources = 				\
Matthias Clasen's avatar
Matthias Clasen committed
125
	$(deprecated_c_sources)			\
126 127 128 129
	gdk.c					\
	gdkapplaunchcontext.c			\
	gdkcairo.c				\
	gdkcursor.c				\
130
	gdkdeprecated.c				\
131 132 133 134 135 136
	gdkdevice.c				\
	gdkdevicemanager.c			\
	gdkdisplay.c				\
	gdkdisplaymanager.c			\
	gdkdnd.c				\
	gdkevents.c     			\
137
	gdkframetimings.c			\
138 139 140 141
	gdkglobals.c				\
	gdkkeys.c				\
	gdkkeyuni.c				\
	gdkoffscreenwindow.c			\
Owen W. Taylor's avatar
Owen W. Taylor committed
142 143
	gdkframeclock.c				\
	gdkframeclockidle.c			\
144 145
	gdkpango.c				\
	gdkpixbuf-drawable.c			\
146
	gdkproperty.c				\
147 148 149 150 151 152
	gdkrectangle.c				\
	gdkrgba.c				\
	gdkscreen.c				\
	gdkselection.c				\
	gdkvisual.c				\
	gdkwindow.c				\
153
	gdkwindowimpl.c
154

155
gdk_built_sources = 				\
156
	gdkenumtypes.h				\
157 158 159
	gdkenumtypes.c				\
	gdkmarshalers.h 			\
	gdkmarshalers.c				\
160
	gdkversionmacros.h
161

162
#
163
# setup GDK sources and their dependencies
164
#
165

166
gdkincludedir = $(includedir)/gtk-3.0/gdk
167
gdkinclude_HEADERS = $(gdk_public_h_sources) gdkenumtypes.h gdkversionmacros.h
168
nodist_gdkinclude_HEADERS = gdkconfig.h
169

Matthias Clasen's avatar
Matthias Clasen committed
170 171 172
deprecatedincludedir = $(includedir)/gtk-3.0/gdk/deprecated
deprecatedinclude_HEADERS = $(deprecated_h_sources)

Matthias Clasen's avatar
Matthias Clasen committed
173 174 175
common_sources = 		\
	$(gdk_private_headers)	\
	$(gdk_c_sources)	\
176
	gdkenumtypes.c		\
177
	gdkmarshalers.c		\
178
	gdkmarshalers.h
179

Matthias Clasen's avatar
Matthias Clasen committed
180
libgdk_3_la_SOURCES = $(common_sources)
181
libgdk_3_la_CFLAGS = $(AM_CFLAGS) $(GDK_HIDDEN_VISIBILITY_CFLAGS)
Matthias Clasen's avatar
Matthias Clasen committed
182 183
libgdk_3_la_LIBADD = $(GDK_DEP_LIBS)
libgdk_3_la_LDFLAGS = $(LDADD)
184

185
if USE_X11
Matthias Clasen's avatar
Matthias Clasen committed
186
libgdk_3_la_LIBADD += x11/libgdk-x11.la
187 188 189
endif # USE_X11

if USE_QUARTZ
Benjamin Otte's avatar
Benjamin Otte committed
190
libgdk_3_la_CFLAGS += -xobjective-c
Matthias Clasen's avatar
Matthias Clasen committed
191
libgdk_3_la_LIBADD += quartz/libgdk-quartz.la
192
endif # USE_QUARTZ
193

194
if USE_WIN32
Matthias Clasen's avatar
Matthias Clasen committed
195 196
libgdk_3_la_SOURCES += gdkkeynames.c
libgdk_3_la_LIBADD += win32/libgdk-win32.la
LRN's avatar
LRN committed
197 198
libgdk_3_la_DEPENDENCIES = win32/libgdk-win32.la win32/rc/gdk-win32-res.o
libgdk_3_la_LDFLAGS += -Wl,win32/rc/gdk-win32-res.o
199
endif # USE_WIN32
Anders Carlsson's avatar
Anders Carlsson committed
200

201
if USE_BROADWAY
202
libgdk_3_la_LIBADD += broadway/libgdk-broadway.la
203
endif # USE_BROADWAY
204

Kristian Høgsberg's avatar
Kristian Høgsberg committed
205
if USE_WAYLAND
206
libgdk_3_la_LIBADD += wayland/libgdk-wayland.la
Kristian Høgsberg's avatar
Kristian Høgsberg committed
207 208
endif

209 210
if HAVE_INTROSPECTION

Matthias Clasen's avatar
Matthias Clasen committed
211
introspection_files = 		\
Matthias Clasen's avatar
Matthias Clasen committed
212
	$(filter-out gdkkeysyms-compat.h, $(gdk_h_sources))	\
Matthias Clasen's avatar
Matthias Clasen committed
213 214
	$(gdk_c_sources)	\
        gdkenumtypes.c		\
215
        gdkenumtypes.h
216

Matthias Clasen's avatar
Matthias Clasen committed
217
Gdk-3.0.gir: libgdk-3.la Makefile
218 219
Gdk_3_0_gir_SCANNERFLAGS = 	\
	--c-include="gdk/gdk.h"
220
Gdk_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 cairo-1.0
Matthias Clasen's avatar
Matthias Clasen committed
221
Gdk_3_0_gir_LIBS = libgdk-3.la
222
Gdk_3_0_gir_FILES = $(introspection_files)
223
Gdk_3_0_gir_CFLAGS = $(AM_CPPFLAGS)
224
Gdk_3_0_gir_EXPORT_PACKAGES = gdk-3.0
225
INTROSPECTION_GIRS += Gdk-3.0.gir
LRN's avatar
LRN committed
226 227 228
if OS_WIN32
Gdk_3_0_gir_CFLAGS += -I$(srcdir)/win32 -I$(srcdir)
endif
229
if USE_X11
Matthias Clasen's avatar
Matthias Clasen committed
230 231 232 233
x11_introspection_files = 		\
	x11/gdkapplaunchcontext-x11.c	\
	x11/gdkasync.c			\
	x11/gdkcursor-x11.c		\
234 235
	x11/gdkdevice-core-x11.c	\
	x11/gdkdevicemanager-core-x11.c	\
Matthias Clasen's avatar
Matthias Clasen committed
236
	x11/gdkdevicemanager-x11.c	\
237
	x11/gdkdevicemanager-xi2.c	\
Matthias Clasen's avatar
Matthias Clasen committed
238 239
	x11/gdkdevice-xi2.c		\
	x11/gdkdisplay-x11.c		\
240
	x11/gdkdisplaymanager-x11.c	\
Matthias Clasen's avatar
Matthias Clasen committed
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
	x11/gdkdnd-x11.c		\
	x11/gdkeventsource.c		\
	x11/gdkeventtranslator.c	\
	x11/gdkgeometry-x11.c		\
	x11/gdkkeys-x11.c		\
	x11/gdkmain-x11.c		\
	x11/gdkproperty-x11.c		\
	x11/gdkscreen-x11.c		\
	x11/gdkselection-x11.c		\
	x11/gdksettings.c		\
	x11/gdktestutils-x11.c		\
	x11/gdkvisual-x11.c		\
	x11/gdkwindow-x11.c		\
	x11/gdkxftdefaults.c		\
	x11/gdkxid.c			\
	x11/xsettings-client.c		\
257
	x11/gdkx.h			\
258
	x11/gdkx11applaunchcontext.h	\
259
	x11/gdkx11cursor.h		\
260 261 262 263 264 265
	x11/gdkx11device.h		\
	x11/gdkx11device-core.h		\
	x11/gdkx11device-xi2.h		\
	x11/gdkx11devicemanager.h	\
	x11/gdkx11devicemanager-core.h	\
	x11/gdkx11devicemanager-xi2.h	\
266
	x11/gdkx11display.h		\
267 268 269
	x11/gdkx11displaymanager.h	\
	x11/gdkx11dnd.h			\
	x11/gdkx11keys.h		\
270
	x11/gdkx11property.h		\
271
	x11/gdkx11screen.h		\
272
	x11/gdkx11selection.h		\
273
	x11/gdkx11utils.h		\
274
	x11/gdkx11visual.h		\
275
	x11/gdkx11window.h
276

Matthias Clasen's avatar
Matthias Clasen committed
277
GdkX11-3.0.gir: libgdk-3.la Gdk-3.0.gir Makefile
278
GdkX11_3_0_gir_SCANNERFLAGS = 		\
279
	--identifier-prefix=Gdk		\
280 281
	--c-include="gdk/gdkx.h"	\
	--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
282
GdkX11_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0 xlib-2.0
Matthias Clasen's avatar
Matthias Clasen committed
283
GdkX11_3_0_gir_LIBS = libgdk-3.la
284
GdkX11_3_0_gir_FILES = $(x11_introspection_files)
285
GdkX11_3_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk
286
GdkX11_3_0_gir_EXPORT_PACKAGES = gdk-x11-3.0
287
INTROSPECTION_GIRS += GdkX11-3.0.gir
288

289 290
endif # USE_X11

LRN's avatar
LRN committed
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
if OS_WIN32
w32_introspection_files =		\
	win32/gdkcursor-win32.c		\
	win32/gdkdevicemanager-win32.c	\
	win32/gdkdevice-virtual.c	\
	win32/gdkdevice-win32.c		\
	win32/gdkdevice-wintab.c	\
	win32/gdkdisplaymanager-win32.c	\
	win32/gdkdisplay-win32.c	\
	win32/gdkdnd-win32.c		\
	win32/gdkevents-win32.c		\
	win32/gdkgeometry-win32.c	\
	win32/gdkglobals-win32.c	\
	win32/gdkinput.c		\
	win32/gdkkeys-win32.c		\
	win32/gdkmain-win32.c		\
	win32/gdkproperty-win32.c	\
	win32/gdkscreen-win32.c		\
	win32/gdkselection-win32.c	\
	win32/gdktestutils-win32.c	\
	win32/gdkvisual-win32.c		\
	win32/gdkwin32.h		\
	win32/gdkwin32cursor.h		\
	win32/gdkwin32display.h		\
	win32/gdkwin32displaymanager.h	\
	win32/gdkwin32dnd.h		\
	win32/gdkwin32id.c		\
	win32/gdkwin32keys.h		\
	win32/gdkwin32misc.h		\
	win32/gdkwin32screen.h		\
	win32/gdkwin32window.h		\
	win32/gdkwindow-win32.c


GdkWin32-3.0.gir: libgdk-3.la Gdk-3.0.gir Makefile
GdkWin32_3_0_gir_SCANNERFLAGS = \
	--identifier-prefix=Gdk		\
	--c-include="gdk/gdkwin32.h"	\
	--include-uninstalled=$(top_builddir)/gdk/Gdk-3.0.gir
GdkWin32_3_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0
GdkWin32_3_0_gir_LIBS = libgdk-3.la
GdkWin32_3_0_gir_FILES = $(w32_introspection_files)
GdkWin32_3_0_gir_CFLAGS = $(AM_CPPFLAGS) -L$(top_builddir)/gdk -I$(srcdir)/win32 -I$(srcdir)
INTROSPECTION_GIRS += GdkWin32-3.0.gir

endif # OS_WIN32

338
girdir = $(datadir)/gir-1.0
Javier Jardón's avatar
Javier Jardón committed
339
gir_DATA = $(INTROSPECTION_GIRS)
340

341
typelibsdir = $(libdir)/girepository-1.0
342
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
343

Javier Jardón's avatar
Javier Jardón committed
344
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
345 346

endif # HAVE_INTROSPECTION
347

348
if OS_WIN32
LRN's avatar
LRN committed
349 350 351 352
gdk.def: libgdk-3.la
	echo "LIBRARY libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@" >$@
	echo "EXPORTS" >>$@
	objdump -p .libs/libgdk-$(GTK_MAJOR_VERSION)-@LT_CURRENT_MINUS_AGE@.dll | sed -n -e 's/\t\[\s\+\([0-9]\+\)\]\s\([A-Za-z_][A-Za-z0-9_]\)/\2/p' >>$@
353 354
install-def-file: gdk.def
	mkdir -p $(DESTDIR)$(libdir)
LRN's avatar
LRN committed
355
	$(INSTALL) gdk.def $(DESTDIR)$(libdir)/gdk-win32-3.0.def
356 357 358 359 360 361 362
uninstall-def-file:
	-rm $(DESTDIR)$(libdir)/gdk-win32-3.0.def
else
install-def-file:
uninstall-def-file:
endif

363 364 365
if MS_LIB_AVAILABLE
noinst_DATA = gdk-win32-$(GTK_API_VERSION).lib

366 367
gdk-win32-$(GTK_API_VERSION).lib: libgdk-win32-$(GTK_API_VERSION).la gdk.def
	lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgdk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gdk.def -out:$@
368 369

install-ms-lib:
370
	mkdir -p $(DESTDIR)$(libdir)
371 372 373 374 375 376 377 378 379
	$(INSTALL) gdk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)

uninstall-ms-lib:
	-rm $(DESTDIR)$(libdir)/gdk-win32-$(GTK_API_VERSION).lib
else
install-ms-lib:
uninstall-ms-lib:
endif

Matthias Clasen's avatar
Matthias Clasen committed
380
lib_LTLIBRARIES = libgdk-3.la
381

382
MAINTAINERCLEANFILES = $(gdk_built_sources) stamp-gdkenumtypes.h
383 384 385
EXTRA_DIST += \
	$(gdk_built_sources)	\
	fallback-c89.c
386

387 388
install-exec-hook:
if DISABLE_EXPLICIT_DEPS
Matthias Clasen's avatar
Matthias Clasen committed
389
	$(SHELL) $(top_srcdir)/sanitize-la.sh $(DESTDIR)$(libdir)/libgdk-3.la
390 391
endif

392 393
BUILT_SOURCES = \
	$(gdk_built_sources)			\
394 395 396
	gdkconfig.h

gdkenumtypes.h: stamp-gdkenumtypes.h
397
	@true
Matthias Clasen's avatar
Matthias Clasen committed
398
stamp-gdkenumtypes.h: $(gdk_h_sources) gdkenumtypes.h.template
399
	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.h.template \
Matthias Clasen's avatar
Matthias Clasen committed
400
		$(gdk_h_sources) ) >> xgen-geth \
401
	&& (cmp -s xgen-geth gdkenumtypes.h || cp xgen-geth gdkenumtypes.h ) \
402 403
	&& rm -f xgen-geth \
	&& echo timestamp > $(@F)
Matthias Clasen's avatar
Matthias Clasen committed
404
gdkenumtypes.c: $(gdk_h_sources) gdkenumtypes.c.template
405
	$(AM_V_GEN) ( cd $(srcdir) && $(GLIB_MKENUMS) --template gdkenumtypes.c.template \
Matthias Clasen's avatar
Matthias Clasen committed
406
		$(gdk_h_sources) ) > xgen-getc \
407
	&& cp xgen-getc gdkenumtypes.c  \
408
	&& rm -f xgen-getc
409

410
#
411 412
# Marshaller generation
#
413
gdkmarshalers.h: gdkmarshalers.list
414
	$(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --header > gdkmarshalers-h.tmp \
415 416
	&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
	|| ( rm -f gdkmarshalers-h.tmp && exit 1)
417
gdkmarshalers.c: gdkmarshalers.list
418 419
	$(AM_V_GEN) (echo "#include \"gdkmarshalers.h\""; \
	 $(GLIB_GENMARSHAL) --prefix=_gdk_marshal $(srcdir)/gdkmarshalers.list --body) > gdkmarshalers-c.tmp	\
420 421
	&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
	|| ( rm -f gdkmarshalers-c.tmp && exit 1 )
422

423
gdkconfig.h: stamp-gc-h
424
	$(AM_V_GEN) if test -f gdkconfig.h; then :; \
425
	else rm -f stamp-gc-h; $(MAKE) stamp-gc-h; fi
426
stamp-gc-h: $(top_builddir)/config.status
427
	$(AM_V_at) cd $(top_builddir) && $(SHELL) ./config.status gdk/gdkconfig.h
428 429
	echo timestamp > stamp-gc-h

430
dist-hook: ../build/win32/vs9/gdk.vcproj ../build/win32/vs10/gdk.vcxproj ../build/win32/vs10/gdk.vcxproj.filters
431 432

../build/win32/vs9/gdk.vcproj: ../build/win32/vs9/gdk.vcprojin
433
	for F in `echo $(libgdk_3_la_SOURCES) | tr '/' '\\'`; do \
434 435 436 437 438 439 440
		case $$F in \
		*.c) echo '   <File RelativePath="..\..\..\gdk\'$$F'" />' \
		     ;; \
		esac; \
	done >libgdk.sourcefiles
	$(CPP) -P - <$(top_srcdir)/build/win32/vs9/gdk.vcprojin >$@
	rm libgdk.sourcefiles
441

442
../build/win32/vs10/gdk.vcxproj: ../build/win32/vs10/gdk.vcxprojin
443
	for F in `echo $(libgdk_3_la_SOURCES) | tr '/' '\\'`; do \
444 445 446 447 448 449 450 451 452
		case $$F in \
		*.c) echo '   <ClCompile Include="..\..\..\gdk\'$$F'" />' \
		     ;; \
		esac; \
	done >libgdk.vs10.sourcefiles
	$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk.vcxprojin >$@
	rm libgdk.vs10.sourcefiles

../build/win32/vs10/gdk.vcxproj.filters: ../build/win32/vs10/gdk.vcxproj.filtersin
453
	for F in `echo $(libgdk_3_la_SOURCES) | tr '/' '\\'`; do \
454 455 456 457 458 459 460
		case $$F in \
		*.c) echo '   <ClCompile Include="..\..\..\gdk\'$$F'"><Filter>Source Files</Filter></ClCompile>' \
		     ;; \
		esac; \
	done >libgdk.vs10.sourcefiles.filters
	$(CPP) -P - <$(top_srcdir)/build/win32/vs10/gdk.vcxproj.filtersin >$@
	rm libgdk.vs10.sourcefiles.filters
461

462 463
DISTCLEANFILES = gdkconfig.h stamp-gc-h

464
install-data-local: install-ms-lib install-def-file
Tor Lillqvist's avatar
Tor Lillqvist committed
465

466
uninstall-local: uninstall-ms-lib uninstall-def-file
467 468 469 470 471 472 473 474
	rm -f $(DESTDIR)$(configexecincludedir)/gdkconfig.h

# if srcdir!=builddir, clean out maintainer-clean files from builddir
# this allows dist to pass.
distclean-local:
	if test $(srcdir) != .; then \
	  rm -f $(MAINTAINERCLEANFILES); \
	fi
Tor Lillqvist's avatar
Tor Lillqvist committed
475

Elliot Lee's avatar
Elliot Lee committed
476 477 478 479 480 481
.PHONY: files

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

-include $(top_srcdir)/git.mk