1## Process this file with automake to produce Makefile.in 2 3if OS_WIN32 4mwindows = -mwindows 5else 6libm = -lm 7endif 8 9libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la 10libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la 11libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la 12libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la 13libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la 14libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la 15libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la 16 17if HAVE_WINDRES 18include $(top_srcdir)/build/windows/gimprc-plug-ins.rule 19metadata_editor_RC = metadata-editor.rc.o 20metadata_viewer_RC = metadata-viewer.rc.o 21endif 22 23AM_LDFLAGS = $(mwindows) 24 25me_libexecdir = $(gimpplugindir)/plug-ins/metadata-editor 26mv_libexecdir = $(gimpplugindir)/plug-ins/metadata-viewer 27 28me_libexec_PROGRAMS = metadata-editor 29mv_libexec_PROGRAMS = metadata-viewer 30 31metadata_editor_SOURCES = \ 32 metadata-editor.c \ 33 metadata-editor.h \ 34 metadata-impexp.c \ 35 metadata-impexp.h \ 36 metadata-misc.h \ 37 metadata-tags.c \ 38 metadata-tags.h \ 39 metadata-xml.c \ 40 metadata-xml.h 41 42metadata_viewer_SOURCES = \ 43 metadata-viewer.c \ 44 metadata-tags.c \ 45 metadata-tags.h 46 47AM_CPPFLAGS = \ 48 -I$(top_srcdir) \ 49 $(GTK_CFLAGS) \ 50 $(GEGL_CFLAGS) \ 51 -I$(includedir) 52 53metadata_viewer_LDADD = \ 54 $(libm) \ 55 $(libgimpui) \ 56 $(libgimpwidgets) \ 57 $(libgimpconfig) \ 58 $(libgimp) \ 59 $(libgimpcolor) \ 60 $(libgimpmath) \ 61 $(libgimpbase) \ 62 $(GTK_LIBS) \ 63 $(GEXIV2_LIBS) \ 64 $(RT_LIBS) \ 65 $(INTLLIBS) \ 66 $(metadata_viewer_RC) 67 68metadata_editor_LDADD = \ 69 $(libm) \ 70 $(libgimpui) \ 71 $(libgimpwidgets) \ 72 $(libgimpconfig) \ 73 $(libgimp) \ 74 $(libgimpcolor) \ 75 $(libgimpmath) \ 76 $(libgimpbase) \ 77 $(GTK_LIBS) \ 78 $(GEXIV2_LIBS) \ 79 $(RT_LIBS) \ 80 $(INTLLIBS) \ 81 $(metadata_editor_RC) 82 83