mirror of
https://gitlab.gnome.org/GNOME/eog
synced 2024-10-19 14:34:42 +00:00
644141838c
2005-06-18 Tor Lillqvist <tml@novell.com> * shell/main.c (get_installation_subdir, eog_get_datadir, eog_get_icondir, eog_get_localedir): [Win32] New functions, used to implement run-time lookup of DATADIR, ICONDIR and LOCALEDIR, instead of using configure-time paths. Use them by redefining the macros. * shell/util.h: [Win32] Declare eog_get_datadir() and eog_get_icondir(). * shell/eog-preferences.c * shell/eog-window.c: Use them here, too. * shell/Makefile.am (INCLUDES): Pass also $prefix to the compilation. * libeog/Makefile.am (INCLUDES): Remove unused GNOMELOCALEDIR and EOG_DATADIR definitions.
142 lines
3 KiB
Makefile
142 lines
3 KiB
Makefile
SUBDIRS = cursors
|
|
|
|
if ENABLE_JPEG
|
|
jpeg_LIB = -L$(top_builddir)/jpegutils -leog-jpegutils
|
|
jpeg_DEPS = $(top_builddir)/jpegutils/libeog-jpegutils.a
|
|
endif
|
|
|
|
INCLUDES = \
|
|
-DG_LOG_DOMAIN=\"Eog\" \
|
|
-DHAVE_COLLECTION \
|
|
-I$(srcdir) -I$(top_srcdir) \
|
|
-I$(top_srcdir)/src \
|
|
-I$(top_srcdir)/jpegutils \
|
|
-I$(top_builddir) \
|
|
$(EOG_CFLAGS) \
|
|
$(WARN_CFLAGS)
|
|
|
|
libeog-marshal.h: libeog-marshal.list $(GLIB_GENMARSHAL)
|
|
echo "genmarshal h" && \
|
|
$(GLIB_GENMARSHAL) $< --header --prefix=libeog_marshal > $@
|
|
|
|
libeog-marshal.c: libeog-marshal.list $(GLIB_GENMARSHAL)
|
|
echo "genmarshal c" && \
|
|
$(GLIB_GENMARSHAL) $< --body --prefix=libeog_marshal > $@
|
|
|
|
MARSHAL_OUTPUT = \
|
|
libeog-marshal.h \
|
|
libeog-marshal.c
|
|
|
|
noinst_LIBRARIES = libeog.a
|
|
|
|
noinst_PROGRAMS = test-eog-job test-image-load
|
|
|
|
libeog_a_SOURCES = \
|
|
$(MARSHAL_OUTPUT) \
|
|
access.c \
|
|
access.h \
|
|
accessible-image-view-factory.h \
|
|
accessible-image-view-factory.c \
|
|
accessible-image-view.h \
|
|
accessible-image-view.c \
|
|
eog-file-selection.h \
|
|
eog-file-selection.c \
|
|
eog-full-screen.h \
|
|
eog-full-screen.c \
|
|
eog-pixbuf-util.h \
|
|
eog-pixbuf-util.c \
|
|
eog-transform.h \
|
|
eog-transform.c \
|
|
eog-image.c \
|
|
eog-image.h \
|
|
eog-image-private.h \
|
|
eog-image-jpeg.c \
|
|
eog-image-jpeg.h \
|
|
eog-image-save-info.c \
|
|
eog-image-save-info.h \
|
|
eog-thumbnail.h \
|
|
eog-thumbnail.c \
|
|
eog-save-dialog-helper.h \
|
|
eog-save-dialog-helper.c \
|
|
eog-save-as-dialog-helper.h \
|
|
eog-save-as-dialog-helper.c \
|
|
eog-image-cache.h \
|
|
eog-image-cache.c \
|
|
eog-image-list.c \
|
|
eog-image-list.h \
|
|
eog-job-manager.c \
|
|
eog-job-manager.h \
|
|
eog-job.c \
|
|
eog-job.h \
|
|
eog-uri-converter.h \
|
|
eog-uri-converter.c \
|
|
eog-scroll-view.c \
|
|
eog-scroll-view.h \
|
|
eog-info-view.c \
|
|
eog-info-view.h \
|
|
eog-info-view-detail.h \
|
|
eog-info-view-detail.c \
|
|
eog-info-view-file.h \
|
|
eog-info-view-file.c \
|
|
eog-info-view-exif.h \
|
|
eog-info-view-exif.c \
|
|
eog-metadata-reader.h \
|
|
eog-metadata-reader.c \
|
|
eog-hig-dialog.h \
|
|
eog-hig-dialog.c \
|
|
eog-horizontal-splitter.c \
|
|
eog-horizontal-splitter.h \
|
|
eog-vertical-splitter.c \
|
|
eog-vertical-splitter.h \
|
|
eog-config-keys.h \
|
|
eog-wrap-list.h \
|
|
eog-wrap-list.c \
|
|
eog-collection-item.h \
|
|
eog-collection-item.c \
|
|
eog-canvas-pixbuf.h \
|
|
eog-canvas-pixbuf.c \
|
|
eog-util.h \
|
|
eog-util.c \
|
|
uta.c \
|
|
uta.h \
|
|
cursors.c \
|
|
cursors.h \
|
|
zoom.c \
|
|
zoom.h
|
|
|
|
BUILT_SOURCES = \
|
|
$(MARSHAL_OUTPUT)
|
|
|
|
test_eog_job_DEPENDENCIES = libeog.a
|
|
|
|
test_eog_job_SOURCES = test-eog-job.c
|
|
|
|
test_eog_job_LDADD = \
|
|
-L$(top_builddir)/libeog \
|
|
-leog \
|
|
$(jpeg_LIB) \
|
|
$(X_LIBS) \
|
|
$(EOG_LIBS) \
|
|
$(LIBJPEG)
|
|
|
|
|
|
|
|
test_image_load_DEPENDENCIES = libeog.a
|
|
|
|
test_image_load_SOURCES = test-image-load.c
|
|
|
|
test_image_load_LDADD = \
|
|
-L$(top_builddir)/libeog \
|
|
-leog \
|
|
$(jpeg_LIB) \
|
|
$(X_LIBS) \
|
|
$(EOG_LIBS) \
|
|
$(LIBJPEG)
|
|
|
|
CLEANFILES = $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST = libeog-marshal.list
|
|
|
|
dist-hook:
|
|
cd $(distdir); rm -f $(BUILT_SOURCES)
|