gtk/demos/icon-browser/Makefile.am

48 lines
1.2 KiB
Makefile
Raw Normal View History

AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
LDADD = \
2016-10-07 14:11:26 +00:00
$(top_builddir)/gtk/libgtk-4.la \
$(GTK_DEP_LIBS)
2016-10-07 14:11:26 +00:00
bin_PROGRAMS = gtk4-icon-browser
desktopdir = $(datadir)/applications
2016-10-07 14:11:26 +00:00
dist_desktop_DATA = gtk4-icon-browser.desktop
2016-10-07 14:11:26 +00:00
gtk4_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 = \
menus.ui \
iconbrowser.gresource.xml \
window.ui
# ------------------- MSVC Build Items ----------------
2016-10-07 14:11:26 +00:00
MSVCPROJS = gtk4-icon-browser
2016-10-07 14:11:26 +00:00
gtk4_icon_browser_FILES = $(gtk4_icon_browser_SOURCES)
gtk4_icon_browser_EXCLUDES = dummy
include $(top_srcdir)/build/Makefile.msvcproj
dist-hook: $(top_builddir)/build/win32/vs12/gtk4-icon-browser.vcxproj
-include $(top_srcdir)/git.mk