summaryrefslogtreecommitdiffstats
path: root/plug-ins/help/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'plug-ins/help/Makefile.am')
-rw-r--r--plug-ins/help/Makefile.am90
1 files changed, 90 insertions, 0 deletions
diff --git a/plug-ins/help/Makefile.am b/plug-ins/help/Makefile.am
new file mode 100644
index 0000000..4e0dd41
--- /dev/null
+++ b/plug-ins/help/Makefile.am
@@ -0,0 +1,90 @@
+## Process this file with automake to produce Makefile.in
+
+if PLATFORM_OSX
+xobjective_c = "-xobjective-c"
+xobjective_cxx = "-xobjective-c++"
+xnone = "-xnone"
+framework_cocoa = -framework Cocoa
+endif
+
+libgimphelp = libgimphelp.a
+libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la
+libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
+libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
+libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
+libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
+
+if OS_WIN32
+mwindows = -mwindows
+endif
+
+if HAVE_WINDRES
+include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
+help_RC = help.rc.o
+endif
+
+AM_CPPFLAGS = \
+ -DDATADIR=\""$(gimpdatadir)"\" \
+ -I$(top_srcdir) \
+ $(CAIRO_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(GEGL_CFLAGS) \
+ $(GDK_PIXBUF_CFLAGS) \
+ -I$(includedir)
+
+AM_CFLAGS = \
+ $(xobjective_c)
+
+AM_CXXFLAGS = \
+ $(xobjective_cxx)
+
+AM_LDFLAGS = \
+ $(mwindows) \
+ $(framework_cocoa) \
+ $(xnone)
+
+noinst_LIBRARIES = libgimphelp.a
+
+libgimphelp_a_SOURCES = \
+ gimphelptypes.h \
+ gimphelp.c \
+ gimphelp.h \
+ gimphelpdomain.c \
+ gimphelpdomain.h \
+ gimphelpitem.c \
+ gimphelpitem.h \
+ gimphelplocale.c \
+ gimphelplocale.h \
+ gimphelpprogress.c \
+ gimphelpprogress.h \
+ gimphelpprogress-private.h
+
+libexecdir = $(gimpplugindir)/plug-ins/help
+
+libexec_PROGRAMS = help
+
+help_SOURCES = help.c
+
+LDADD = \
+ $(libgimphelp) \
+ $(libgimp) \
+ $(libgimpconfig) \
+ $(libgimpcolor) \
+ $(libgimpbase) \
+ $(libgimpmath) \
+ $(CAIRO_LIBS) \
+ $(GIO_LIBS) \
+ $(GDK_PIXBUF_LIBS) \
+ $(RT_LIBS) \
+ $(INTLLIBS) \
+ $(help_RC)
+
+
+noinst_PROGRAMS = gimp-help-lookup
+
+gimp_help_lookup_SOURCES = gimp-help-lookup.c
+
+gimp_help_lookup_LDADD = \
+ $(libgimphelp) \
+ $(libgimpbase) \
+ $(GIO_LIBS)