1997-11-25 06:05:25 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
2005-01-26 03:11:26 +08:00
|
|
|
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
|
|
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
|
|
|
|
libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
|
|
|
|
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
|
|
|
|
libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
|
|
|
|
|
2005-02-13 23:08:08 +08:00
|
|
|
|
2001-11-27 11:52:11 +08:00
|
|
|
SUBDIRS = \
|
|
|
|
paint-funcs \
|
2003-07-09 18:16:50 +08:00
|
|
|
composite \
|
2001-11-27 11:52:11 +08:00
|
|
|
base \
|
2007-12-29 09:35:04 +08:00
|
|
|
gegl \
|
2001-11-27 11:52:11 +08:00
|
|
|
config \
|
2003-09-10 10:56:01 +08:00
|
|
|
core \
|
2002-02-15 03:31:16 +08:00
|
|
|
paint \
|
2003-01-30 06:20:09 +08:00
|
|
|
text \
|
|
|
|
vectors \
|
2001-11-27 11:52:11 +08:00
|
|
|
plug-in \
|
2006-10-27 21:52:40 +08:00
|
|
|
file \
|
2006-04-27 17:30:55 +08:00
|
|
|
xcf \
|
|
|
|
pdb \
|
2001-11-27 11:52:11 +08:00
|
|
|
widgets \
|
2002-03-21 03:25:14 +08:00
|
|
|
display \
|
2006-04-27 17:30:55 +08:00
|
|
|
tools \
|
2004-09-13 23:15:23 +08:00
|
|
|
dialogs \
|
2004-04-19 22:54:24 +08:00
|
|
|
actions \
|
2004-05-06 15:41:53 +08:00
|
|
|
menus \
|
2006-04-27 17:30:55 +08:00
|
|
|
gui
|
2001-01-22 05:58:16 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2008-10-09 16:28:39 +08:00
|
|
|
bin_PROGRAMS = gimp-2.7 gimp-console-2.7
|
2003-09-10 10:56:01 +08:00
|
|
|
else
|
2008-10-09 16:28:39 +08:00
|
|
|
bin_PROGRAMS = gimp-2.7
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-07-13 06:34:37 +08:00
|
|
|
app_sources = \
|
2005-12-29 04:45:52 +08:00
|
|
|
about.h \
|
2007-02-02 22:27:16 +08:00
|
|
|
app.c \
|
|
|
|
app.h \
|
2003-07-04 08:31:05 +08:00
|
|
|
batch.c \
|
|
|
|
batch.h \
|
|
|
|
errors.c \
|
|
|
|
errors.h \
|
2007-02-02 22:27:16 +08:00
|
|
|
main.c \
|
2004-03-30 19:32:21 +08:00
|
|
|
sanity.c \
|
|
|
|
sanity.h \
|
2008-10-14 03:32:33 +08:00
|
|
|
signals.c \
|
|
|
|
signals.h \
|
2008-07-11 17:08:07 +08:00
|
|
|
unique.c \
|
|
|
|
unique.h \
|
2003-11-16 06:53:28 +08:00
|
|
|
units.c \
|
|
|
|
units.h \
|
2008-02-26 22:02:44 +08:00
|
|
|
version.c \
|
|
|
|
version.h \
|
2007-11-15 18:57:53 +08:00
|
|
|
gimp-log.c \
|
|
|
|
gimp-log.h \
|
2003-11-16 06:53:28 +08:00
|
|
|
gimp-intl.h
|
2001-11-12 02:35:25 +08:00
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_2_7_SOURCES = $(app_sources)
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2004-07-12 22:32:31 +08:00
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
EXTRA_DIST = \
|
2003-07-04 08:31:05 +08:00
|
|
|
makefile.msc \
|
|
|
|
gimp.rc \
|
2004-11-06 19:39:42 +08:00
|
|
|
fileicon.ico \
|
2003-07-04 08:31:05 +08:00
|
|
|
wilber.ico
|
2001-07-12 08:58:39 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if OS_WIN32
|
2008-08-07 08:36:47 +08:00
|
|
|
win32_ldflags = -mwindows $(WIN32_LARGE_ADDRESS_AWARE)
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2006-08-06 05:21:01 +08:00
|
|
|
|
2006-02-20 01:44:57 +08:00
|
|
|
if USE_BINRELOC
|
2005-11-06 09:06:41 +08:00
|
|
|
munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib'
|
|
|
|
endif
|
1999-05-05 06:59:54 +08:00
|
|
|
|
2004-08-01 23:28:32 +08:00
|
|
|
if HAVE_WINDRES
|
|
|
|
GIMPICONRC = gimprc.o
|
|
|
|
endif
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2002-12-04 20:26:39 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp\" \
|
2007-06-25 20:41:59 +08:00
|
|
|
-DGIMP_APP_GLUE_COMPILATION
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
2005-02-13 23:08:08 +08:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GTK_CFLAGS) \
|
2008-10-27 01:39:55 +08:00
|
|
|
$(PANGOCAIRO_CFLAGS) \
|
2007-01-19 22:50:13 +08:00
|
|
|
$(DBUS_GLIB_CFLAGS) \
|
2007-12-20 23:49:54 +08:00
|
|
|
$(GEGL_CFLAGS) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(includedir)
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2008-05-17 01:35:19 +08:00
|
|
|
AM_LDFLAGS = \
|
2008-05-21 05:41:47 +08:00
|
|
|
$(munix) \
|
|
|
|
$(CARBON_LDFLAGS) \
|
|
|
|
-u $(SYMPREFIX)xcf_init \
|
|
|
|
-u $(SYMPREFIX)internal_procs_init \
|
2008-10-19 02:46:15 +08:00
|
|
|
-u $(SYMPREFIX)gimp_coords_interpolate_bezier \
|
2008-05-21 05:41:47 +08:00
|
|
|
-u $(SYMPREFIX)gimp_curve_map_pixels \
|
|
|
|
-u $(SYMPREFIX)gimp_image_map_config_get_type \
|
2007-04-18 23:06:05 +08:00
|
|
|
-u $(SYMPREFIX)gimp_plug_in_manager_restore
|
2004-02-09 22:14:08 +08:00
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_2_7_LDFLAGS = $(AM_LDFLAGS) $(win32_ldflags)
|
2008-02-26 22:02:44 +08:00
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_2_7_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gui/libappgui.a \
|
2004-09-20 06:48:18 +08:00
|
|
|
actions/libappactions.a \
|
2004-09-13 23:15:23 +08:00
|
|
|
dialogs/libappdialogs.a \
|
2004-05-06 15:41:53 +08:00
|
|
|
menus/libappmenus.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
display/libappdisplay.a \
|
|
|
|
tools/libapptools.a \
|
|
|
|
widgets/libappwidgets.a \
|
2006-08-06 02:27:56 +08:00
|
|
|
pdb/libappinternal-procs.a \
|
2006-08-06 05:21:01 +08:00
|
|
|
xcf/libappxcf.a \
|
2006-10-27 21:52:40 +08:00
|
|
|
file/libappfile.a \
|
2006-08-06 05:21:01 +08:00
|
|
|
plug-in/libappplug-in.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
pdb/libapppdb.a \
|
2004-09-20 06:48:18 +08:00
|
|
|
core/libappcore.a \
|
2007-01-31 06:06:55 +08:00
|
|
|
vectors/libappvectors.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
paint/libapppaint.a \
|
|
|
|
text/libapptext.a \
|
2004-09-20 06:48:18 +08:00
|
|
|
config/libappconfig.a \
|
2007-12-29 09:35:04 +08:00
|
|
|
gegl/libappgegl.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
paint-funcs/libapppaint-funcs.a \
|
|
|
|
composite/libappcomposite.a \
|
|
|
|
base/libappbase.a \
|
|
|
|
$(libgimpwidgets) \
|
|
|
|
$(libgimpmodule) \
|
|
|
|
$(libgimpcolor) \
|
|
|
|
$(libgimpthumb) \
|
|
|
|
$(libgimpmath) \
|
2005-01-26 03:11:26 +08:00
|
|
|
$(libgimpconfig) \
|
2005-03-20 05:05:42 +08:00
|
|
|
$(libgimpbase) \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(GTK_LIBS) \
|
2008-10-27 01:39:55 +08:00
|
|
|
$(PANGOCAIRO_LIBS) \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(FONTCONFIG_LIBS) \
|
|
|
|
$(FREETYPE_LIBS) \
|
2007-01-19 22:50:13 +08:00
|
|
|
$(DBUS_GLIB_LIBS) \
|
2007-12-20 23:49:54 +08:00
|
|
|
$(GEGL_LIBS) \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(RT_LIBS) \
|
2004-08-01 23:28:32 +08:00
|
|
|
$(INTLLIBS) \
|
|
|
|
$(GIMPICONRC)
|
2002-02-03 16:03:21 +08:00
|
|
|
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2004-07-12 22:32:31 +08:00
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_console_2_7_SOURCES = $(app_sources)
|
2004-07-12 22:32:31 +08:00
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_console_2_7_CPPFLAGS = \
|
2004-07-12 22:32:31 +08:00
|
|
|
$(AM_CPPFLAGS) \
|
|
|
|
-DGIMP_CONSOLE_COMPILATION
|
|
|
|
|
2008-10-09 16:28:39 +08:00
|
|
|
gimp_console_2_7_LDADD = \
|
2004-07-11 04:29:11 +08:00
|
|
|
widgets/widgets-enums.o \
|
|
|
|
display/display-enums.o \
|
|
|
|
display/gimpdisplayoptions.o \
|
2006-08-06 02:27:56 +08:00
|
|
|
pdb/libappinternal-procs.a \
|
2006-08-06 05:21:01 +08:00
|
|
|
xcf/libappxcf.a \
|
2006-10-27 21:52:40 +08:00
|
|
|
file/libappfile.a \
|
2006-08-06 05:21:01 +08:00
|
|
|
plug-in/libappplug-in.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
pdb/libapppdb.a \
|
2004-02-09 22:14:08 +08:00
|
|
|
core/libappcore.a \
|
2007-01-31 06:06:55 +08:00
|
|
|
vectors/libappvectors.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
paint/libapppaint.a \
|
|
|
|
text/libapptext.a \
|
2004-09-20 06:48:18 +08:00
|
|
|
config/libappconfig.a \
|
2007-12-29 09:35:04 +08:00
|
|
|
gegl/libappgegl.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
paint-funcs/libapppaint-funcs.a \
|
|
|
|
composite/libappcomposite.a \
|
2004-02-09 22:14:08 +08:00
|
|
|
base/libappbase.a \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(libgimpmodule) \
|
|
|
|
$(libgimpcolor) \
|
|
|
|
$(libgimpthumb) \
|
|
|
|
$(libgimpmath) \
|
2005-01-26 03:11:26 +08:00
|
|
|
$(libgimpconfig) \
|
2005-03-20 05:05:42 +08:00
|
|
|
$(libgimpbase) \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(GDK_PIXBUF_LIBS) \
|
2008-05-09 07:35:53 +08:00
|
|
|
$(CAIRO_LIBS) \
|
2008-10-27 01:39:55 +08:00
|
|
|
$(PANGOCAIRO_LIBS) \
|
2004-01-22 11:51:46 +08:00
|
|
|
$(FONTCONFIG_LIBS) \
|
|
|
|
$(FREETYPE_LIBS) \
|
2007-12-20 23:49:54 +08:00
|
|
|
$(GEGL_LIBS) \
|
2008-11-28 03:21:03 +08:00
|
|
|
$(GLIB_LIBS) \
|
2004-02-09 22:14:08 +08:00
|
|
|
$(RT_LIBS) \
|
2004-08-01 23:28:32 +08:00
|
|
|
$(INTLLIBS) \
|
|
|
|
$(GIMPICONRC)
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
|
|
|
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2002-02-03 16:03:21 +08:00
|
|
|
install-exec-hook:
|
|
|
|
if DEFAULT_BINARY
|
|
|
|
cd $(DESTDIR)$(bindir) \
|
2002-12-26 10:08:28 +08:00
|
|
|
&& rm -f gimp$(EXEEXT) \
|
2004-01-22 11:51:46 +08:00
|
|
|
&& $(LN_S) gimp-$(GIMP_APP_VERSION)$(EXEEXT) gimp$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
|
|
|
cd $(DESTDIR)$(bindir) \
|
|
|
|
&& rm -f gimp-console$(EXEEXT) \
|
2004-01-22 11:51:46 +08:00
|
|
|
&& $(LN_S) gimp-console-$(GIMP_APP_VERSION)$(EXEEXT) gimp-console$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2002-02-03 16:03:21 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
if DEFAULT_BINARY
|
2002-12-26 10:08:28 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/gimp$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2004-01-14 19:10:35 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/gimp-console$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2002-02-03 16:03:21 +08:00
|
|
|
endif
|
2003-10-14 06:55:25 +08:00
|
|
|
|
|
|
|
|
2004-07-13 01:14:02 +08:00
|
|
|
# require gimp-console when making dist
|
|
|
|
#
|
|
|
|
if ENABLE_GIMP_CONSOLE
|
|
|
|
dist-check-gimp-console:
|
|
|
|
else
|
|
|
|
dist-check-gimp-console:
|
|
|
|
@echo "*** gimp-console must be enabled in order to make dist"
|
|
|
|
@false
|
|
|
|
endif
|
2003-10-14 06:55:25 +08:00
|
|
|
|
2004-07-13 01:14:02 +08:00
|
|
|
|
|
|
|
# hook to assure that the system gimprc and the gimprc manpage are
|
|
|
|
# uptodate when a release is made
|
|
|
|
#
|
|
|
|
dist-dump-gimprc: gimp-console-$(GIMP_APP_VERSION)$(EXEEXT)
|
2005-07-02 01:22:14 +08:00
|
|
|
./$< --dump-gimprc-system > gimprc.tmp \
|
2007-09-04 00:03:36 +08:00
|
|
|
&& sed -e "s/num-processors [0-9]*/num-processors 1/" \
|
|
|
|
gimprc.tmp > gimprc.tmp2 \
|
|
|
|
&& (cmp -s gimprc.tmp2 $(top_srcdir)/etc/gimprc || \
|
|
|
|
cp gimprc.tmp2 $(top_srcdir)/etc/gimprc) \
|
|
|
|
&& rm gimprc.tmp gimprc.tmp2
|
2005-07-02 01:22:14 +08:00
|
|
|
./$< --dump-gimprc-manpage > gimprc.tmp \
|
2007-09-04 00:03:36 +08:00
|
|
|
&& sed -e "s/num-processors [0-9]*/num-processors 1/" \
|
|
|
|
gimprc.tmp > gimprc.tmp2 \
|
|
|
|
&& (cmp -s gimprc.tmp2 $(top_srcdir)/docs/gimprc.5.in ||\
|
|
|
|
cp gimprc.tmp2 $(top_srcdir)/docs/gimprc.5.in) \
|
|
|
|
&& rm gimprc.tmp gimprc.tmp2
|
2004-07-13 01:14:02 +08:00
|
|
|
|
|
|
|
dist-hook: dist-check-gimp-console dist-dump-gimprc
|
2004-08-01 23:28:32 +08:00
|
|
|
|
|
|
|
gimprc.o:
|
|
|
|
$(WINDRES) gimp.rc gimprc.o
|