summaryrefslogtreecommitdiffstats
path: root/app/gui/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
commite42129241681dde7adae7d20697e7b421682fbb4 (patch)
treeaf1fe815a5e639e68e59fabd8395ec69458b3e5e /app/gui/Makefile.am
parentInitial commit. (diff)
downloadgimp-e42129241681dde7adae7d20697e7b421682fbb4.tar.xz
gimp-e42129241681dde7adae7d20697e7b421682fbb4.zip
Adding upstream version 2.10.22.upstream/2.10.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'app/gui/Makefile.am')
-rw-r--r--app/gui/Makefile.am80
1 files changed, 80 insertions, 0 deletions
diff --git a/app/gui/Makefile.am b/app/gui/Makefile.am
new file mode 100644
index 0000000..579cd63
--- /dev/null
+++ b/app/gui/Makefile.am
@@ -0,0 +1,80 @@
+## Process this file with automake to produce Makefile.in
+
+if PLATFORM_OSX
+xobjective_c = "-xobjective-c"
+xobjective_cxx = "-xobjective-c++"
+xnone = "-xnone"
+endif
+
+AM_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"Gimp-GUI\" \
+ -DGIMP_COMMAND=\"@GIMP_COMMAND@\" \
+ -I$(top_builddir) \
+ -I$(top_srcdir) \
+ -I$(top_builddir)/app \
+ -I$(top_srcdir)/app \
+ $(GIO_UNIX_CFLAGS) \
+ $(GEGL_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(GTK_MAC_INTEGRATION_CFLAGS) \
+ -I$(includedir)
+
+AM_CFLAGS = \
+ $(xobjective_c)
+
+AM_CXXFLAGS = \
+ $(xobjective_cxx)
+
+AM_LDFLAGS = \
+ $(xnone)
+
+noinst_LIBRARIES = libappgui.a
+
+libappgui_a_sources = \
+ gimpdbusservice.c \
+ gimpdbusservice.h \
+ gimpuiconfigurer.c \
+ gimpuiconfigurer.h \
+ gui.c \
+ gui.h \
+ gui-message.c \
+ gui-message.h \
+ gui-unique.c \
+ gui-unique.h \
+ gui-vtable.c \
+ gui-vtable.h \
+ gui-types.h \
+ icon-themes.c \
+ icon-themes.h \
+ session.c \
+ session.h \
+ splash.c \
+ splash.h \
+ themes.c \
+ themes.h
+
+libappgui_a_built_sources = \
+ gimpdbusservice-generated.c \
+ gimpdbusservice-generated.h
+
+libappgui_a_SOURCES = $(libappgui_a_built_sources) $(libappgui_a_sources)
+
+BUILT_SOURCES = $(libappgui_a_built_sources)
+
+EXTRA_DIST = \
+ dbus-service.xml
+
+#
+# rules to generate built sources
+#
+# setup autogeneration dependencies
+gen_sources = $(libappgui_a_built_sources)
+CLEANFILES = $(gen_sources)
+
+$(srcdir)/gimpdbusservice.c: $(libappgui_a_built_sources)
+
+$(libappgui_a_built_sources): $(srcdir)/dbus-service.xml
+ $(GDBUS_CODEGEN) --interface-prefix org.gimp.GIMP. \
+ --generate-c-code gimpdbusservice-generated \
+ --c-namespace GimpDBusService \
+ $(srcdir)/dbus-service.xml