summaryrefslogtreecommitdiffstats
path: root/plug-ins/selection-to-path/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plug-ins/selection-to-path/Makefile.am73
1 files changed, 73 insertions, 0 deletions
diff --git a/plug-ins/selection-to-path/Makefile.am b/plug-ins/selection-to-path/Makefile.am
new file mode 100644
index 0000000..e27d85e
--- /dev/null
+++ b/plug-ins/selection-to-path/Makefile.am
@@ -0,0 +1,73 @@
+## Process this file with automake to produce Makefile.in
+
+if OS_WIN32
+mwindows = -mwindows
+else
+libm = -lm
+endif
+
+libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la
+libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
+libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
+libgimp = $(top_builddir)/libgimp/libgimp-$(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 HAVE_WINDRES
+include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
+selection_to_path_RC = selection-to-path.rc.o
+endif
+
+AM_LDFLAGS = $(mwindows)
+
+libexecdir = $(gimpplugindir)/plug-ins/selection-to-path
+
+libexec_PROGRAMS = selection-to-path
+
+selection_to_path_SOURCES = \
+ bitmap.h \
+ bounding-box.h \
+ curve.c \
+ curve.h \
+ edge.c \
+ edge.h \
+ fit.c \
+ fit.h \
+ global.h \
+ math.c \
+ pxl-outline.c \
+ pxl-outline.h \
+ selection-to-path.c \
+ selection-to-path.h \
+ selection-to-path-dialog.c \
+ spline.c \
+ spline.h \
+ types.h \
+ vector.c \
+ vector.h
+
+EXTRA_DIST = \
+ README \
+ README.limn
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ $(GTK_CFLAGS) \
+ $(GEGL_CFLAGS) \
+ -I$(includedir)
+
+LDADD = \
+ $(libm) \
+ $(libgimpui) \
+ $(libgimpwidgets) \
+ $(libgimpconfig) \
+ $(libgimpmath) \
+ $(libgimp) \
+ $(libgimpcolor) \
+ $(libgimpbase) \
+ $(GTK_LIBS) \
+ $(GEGL_LIBS) \
+ $(RT_LIBS) \
+ $(INTLLIBS) \
+ $(selection_to_path_RC)