mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
57f0d6a21f
2004-07-04 Anders Carlsson <andersca@gnome.org> * demos/gtk-demo/Makefile.am: * demos/gtk-demo/gnome-fs-directory.png: * demos/gtk-demo/gnome-fs-regular.png: * demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store), (sort_func), (create_store), (item_activated), (up_clicked), (home_clicked), (do_iconview): Add a simple file browser based on the icon view. * gtk/gtk.h: Add gtk/gtkiconview.h * gtk/gtkiconview.c: (gtk_icon_view_layout), (gtk_icon_view_item_new), (gtk_icon_view_item_activated): Fix a few bugs discovered while writing the demo.
88 lines
1.9 KiB
Makefile
88 lines
1.9 KiB
Makefile
## Makefile.am for gtk+/demos
|
|
|
|
democodedir=$(datadir)/gtk-2.0/demo
|
|
|
|
## These should be in the order you want them to appear in the
|
|
## demo app, which means alphabetized by demo title, not filename
|
|
demos = \
|
|
appwindow.c \
|
|
button_box.c \
|
|
changedisplay.c \
|
|
colorsel.c \
|
|
dialog.c \
|
|
drawingarea.c \
|
|
editable_cells.c \
|
|
entry_completion.c \
|
|
expander.c \
|
|
hypertext.c \
|
|
iconview.c \
|
|
images.c \
|
|
list_store.c \
|
|
menus.c \
|
|
panes.c \
|
|
pixbufs.c \
|
|
sizegroup.c \
|
|
stock_browser.c \
|
|
textview.c \
|
|
tree_store.c \
|
|
ui_manager.c
|
|
|
|
INCLUDES = \
|
|
-DDEMOCODEDIR="\"$(democodedir)\"" \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
LDADDS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
bin_PROGRAMS = gtk-demo
|
|
|
|
BUILT_SOURCES = demos.h
|
|
|
|
EXTRA_DIST = \
|
|
$(IMAGEFILES)
|
|
|
|
demos.h: @REBUILD@ $(demos) geninclude.pl
|
|
(here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
|
|
|
gtk_demo_SOURCES = \
|
|
$(demos) \
|
|
demo-common.h \
|
|
main.c \
|
|
demos.h
|
|
|
|
gtk_demo_DEPENDENCIES = $(DEPS)
|
|
gtk_demo_LDADD = $(LDADDS)
|
|
|
|
IMAGEFILES= alphatest.png \
|
|
apple-red.png \
|
|
background.jpg \
|
|
floppybuddy.gif \
|
|
gnome-applets.png \
|
|
gnome-calendar.png \
|
|
gnome-fs-directory.png \
|
|
gnome-fs-regular.png \
|
|
gnome-foot.png \
|
|
gnome-gimp.png \
|
|
gnome-gmush.png \
|
|
gnome-gsame.png \
|
|
gnu-keys.png \
|
|
gtk-logo-rgb.gif
|
|
|
|
democode_DATA = $(demos) $(IMAGEFILES)
|
|
|
|
DISTCLEANFILES = demos.h
|