forked from AuroraMiddleware/gtk
d836a52b68
Use the common automake module from the previous commit in the Makefile.am's, which means that the Makefile.am's in gdk/ and gtk/ can be cleaned up as a result. As a side effect, the property sheet that is used to "install" the build results and headers can now be generated in terms of the listing of headers to copy during 'make dist', where we can acquire most of the list of headers to "install", so that we can largely avoid the situation where the property sheet files are not updated in time for this, causing missing headers when this build of GTK+ is being used. Also use the Visual Studio Project file generation for the following projects: gtk3-demo gtk3-demo-application gtk3-icon-browser gdk-win32 gdk-broadway gail-util So that the maintenace of these project files can be simplified as well. https://bugzilla.gnome.org/show_bug.cgi?id=681965
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
AM_CPPFLAGS = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/gdk \
|
|
-I$(top_builddir)/gdk \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
LDADD = \
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
|
bin_PROGRAMS = gtk3-icon-browser
|
|
|
|
desktopdir = $(datadir)/applications
|
|
dist_desktop_DATA = gtk3-icon-browser.desktop
|
|
|
|
gtk3_icon_browser_SOURCES = \
|
|
main.c \
|
|
iconbrowserapp.c iconbrowserapp.h \
|
|
iconbrowserwin.c iconbrowserwin.h \
|
|
iconstore.c iconstore.h \
|
|
resources.c
|
|
|
|
BUILT_SOURCES = \
|
|
resources.c
|
|
|
|
resources.c: iconbrowser.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/iconbrowser.gresource.xml)
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/iconbrowser.gresource.xml \
|
|
--target=$@ --sourcedir=$(srcdir) --generate-source
|
|
|
|
EXTRA_DIST = \
|
|
app-menu.ui \
|
|
iconbrowser.gresource.xml \
|
|
window.ui
|
|
|
|
# ------------------- MSVC Build Items ----------------
|
|
MSVCPROJS = gtk3-icon-browser
|
|
|
|
gtk3_icon_browser_FILES = $(gtk3_icon_browser_SOURCES)
|
|
gtk3_icon_browser_EXCLUDES = dummy
|
|
|
|
include $(top_srcdir)/build/Makefile.msvcproj
|
|
|
|
dist-hook: $(top_builddir)/build/win32/vs9/gtk3-icon-browser.vcproj
|
|
|
|
-include $(top_srcdir)/git.mk
|