summaryrefslogtreecommitdiffstats
path: root/plug-ins/twain/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:13:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 03:13:10 +0000
commit3c57dd931145d43f2b0aef96c4d178135956bf91 (patch)
tree3de698981e9f0cc2c4f9569b19a5f3595e741f6b /plug-ins/twain/Makefile.am
parentInitial commit. (diff)
downloadgimp-3c57dd931145d43f2b0aef96c4d178135956bf91.tar.xz
gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.zip
Adding upstream version 2.10.36.upstream/2.10.36
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plug-ins/twain/Makefile.am')
-rw-r--r--plug-ins/twain/Makefile.am61
1 files changed, 61 insertions, 0 deletions
diff --git a/plug-ins/twain/Makefile.am b/plug-ins/twain/Makefile.am
new file mode 100644
index 0000000..4e094a5
--- /dev/null
+++ b/plug-ins/twain/Makefile.am
@@ -0,0 +1,61 @@
+## Process this file with automake to produce Makefile.in
+
+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
+
+libexecdir = $(gimpplugindir)/plug-ins/twain
+
+libexec_PROGRAMS = twain
+
+
+if OS_WIN32
+twain_LDFLAGS = -mwindows -luser32
+
+twainplatform = tw_win.c
+endif
+
+if HAVE_WINDRES
+include $(top_srcdir)/build/windows/gimprc-plug-ins.rule
+twain_RC = twain.rc.o
+endif
+
+
+twain_SOURCES = \
+ tw_func.c \
+ tw_func.h \
+ tw_util.c \
+ tw_util.h \
+ twain.c \
+ twain.h \
+ tw_local.h \
+ tw_platform.h \
+ $(twainplatform)
+
+EXTRA_DIST = \
+ README \
+ gimp-twain.png \
+ tw_dump.c \
+ tw_dump.h \
+ tw_win.c
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ $(GTK_CFLAGS) \
+ $(GEGL_CFLAGS) \
+ -I$(includedir)
+
+LDADD = \
+ $(libgimp) \
+ $(libgimpcolor) \
+ $(libgimpbase) \
+ $(GLIB_LIBS) \
+ $(GEGL_LIBS) \
+ $(RT_LIBS) \
+ $(INTLLIBS) \
+ $(twain_LIBS) \
+ $(twain_RC)