view src/Makefile.am @ 380:5afe77bb563a

Introduce a new struct ViewDir to handle directory views common data. Specific data is now in ViewDirInfoList and ViewDirInfoTree. Type of directory view can be specified with enum DirViewType. This is saved to rc file as layout.dir_view_type, which replace layout.view_as_tree. Code was modified to reflect these changes. This is a first to move to merge common code of view_dir_list.c and view_dir_tree.c and ease the introduction of new types of directory view.
author zas_
date Wed, 16 Apr 2008 14:45:22 +0000
parents 6cb3c072be3f
children 26c6e768bd47
line wrap: on
line source

SUBDIRS = icons
DIST_SUBDIRS = icons

INCLUDES = -I$(srcdir) -I$(builddir)    \
	-I$(top_srcdir) -I$(top_builddir)       \
	-I$(includedir) $(GTK_CFLAGS)

module_SLIK = \
	intl.h		\
	ui_bookmark.c	\
	ui_bookmark.h	\
	ui_fileops.c	\
	ui_fileops.h	\
	ui_help.c	\
	ui_help.h	\
	ui_menu.c	\
	ui_menu.h	\
	ui_misc.c	\
	ui_misc.h	\
	ui_pathsel.c	\
	ui_pathsel.h	\
	ui_spinner.c	\
	ui_spinner.h	\
	ui_tabcomp.c	\
	ui_tabcomp.h	\
	ui_tree_edit.c	\
	ui_tree_edit.h	\
	ui_utildlg.c	\
	ui_utildlg.h

extra_ICONS = \
	ui_spinner.png	\
	ui_tabcomp.png

ICON_PAIRS = \
	icon_spinner		$(srcdir)/ui_spinner.png	\
	icon_tabcomp		$(srcdir)/ui_tabcomp.png

ui_icons.h: $(extra_ICONS) Makefile.in
	@(echo '/* Auto generated file, do not edit */'; echo; \
	 echo '#ifndef UI_ICONS_H'; \
	 echo '#define UI_ICONS_H'; echo; \
	 $(GDK_PIXBUF_CSOURCE) --raw --extern --build-list $(ICON_PAIRS); \
	 echo '#endif /* UI_ICONS_H */') > $@ || echo "!!! Failed to generate $@ !!!"

ui_spinner.o: ui_icons.h


noinst_DATA = ui_icons.h
CLEANFILES = $(noinst_DATA)
                                                                                                                     
extra_SLIK = \
	$(extra_ICONS)

bin_PROGRAMS = geeqie

geeqie_SOURCES = \
	$(module_SLIK)	\
	bar_info.c	\
	bar_info.h	\
	bar_exif.c	\
	bar_exif.h	\
	bar_sort.c	\
	bar_sort.h	\
	cache.c		\
	cache.h		\
	cache-loader.c	\
	cache-loader.h	\
	cache_maint.c	\
	cache_maint.h	\
	cellrenderericon.c	\
	cellrenderericon.h	\
	collect.c	\
	collect.h	\
	collect-dlg.c	\
	collect-dlg.h	\
	collect-io.c	\
	collect-io.h	\
	collect-table.c	\
	collect-table.h	\
	color-man.c	\
	color-man.h	\
	dnd.c		\
	dnd.h		\
	dupe.c		\
	dupe.h		\
	editors.c	\
	editors.h	\
	exif.c		\
	exif.h		\
	exif-int.h	\
	exif-common.c   \
	exiv2.cc	\
	filelist.c	\
	filelist.h	\
	format_canon.c	\
	format_canon.h	\
	format_fuji.c	\
	format_fuji.h	\
	format_nikon.c	\
	format_nikon.h	\
	format_olympus.c	\
	format_olympus.h	\
	format_raw.c	\
	format_raw.h	\
	fullscreen.c	\
	fullscreen.h	\
	globals.c	\
	histogram.c	\
	histogram.h	\
	image.c		\
	image.h		\
	image-load.c	\
	image-load.h	\
	image-overlay.c	\
	image-overlay.h	\
	img-view.c	\
	img-view.h	\
	info.c		\
	info.h		\
	layout.c	\
	layout.h	\
	layout_config.c	\
	layout_config.h	\
	layout_image.c	\
	layout_image.h	\
	layout_util.c	\
	layout_util.h	\
	main.c		\
	main.h		\
	md5-util.c	\
	md5-util.h	\
	menu.c		\
	menu.h		\
	pan-calendar.c	\
	pan-folder.c	\
	pan-grid.c	\
	pan-item.c	\
	pan-timeline.c	\
	pan-types.h	\
	pan-util.c	\
	pan-view.c	\
	pan-view.h	\
	pixbuf-renderer.c	\
	pixbuf-renderer.h	\
	pixbuf_util.c	\
	pixbuf_util.h	\
	preferences.c	\
	preferences.h	\
	print.c		\
	print.h		\
	remote.c	\
	remote.h	\
	rcfile.c	\
	rcfile.h	\
	search.c	\
	search.h	\
	secure_save.c	\
	secure_save.h	\
	similar.c	\
	similar.h	\
	slideshow.c	\
	slideshow.h	\
	typedefs.h	\
	thumb.c		\
	thumb.h		\
	thumb_standard.c	\
	thumb_standard.h	\
	utilops.c	\
	utilops.h	\
	view_dir.c	\
	view_dir.h	\
	view_dir_list.c	\
	view_dir_list.h	\
	view_dir_tree.c	\
	view_dir_tree.h	\
	view_file_list.c	\
	view_file_list.h	\
	view_file_icon.c	\
	view_file_icon.h

geeqie_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(EXIV2_LIBS)

EXTRA_DIST = \
	$(extra_SLIK)