mirror of https://github.com/GNOME/gimp.git
137 lines
2.5 KiB
Makefile
137 lines
2.5 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
if OS_WIN32
|
|
gimp_exp = gimp.exp
|
|
|
|
gimp.exp : gimp.def
|
|
dlltool --output-exp $@ --input-def gimp.def
|
|
|
|
gimp.def: gimp.sym
|
|
echo EXPORTS >$@
|
|
cat $< >>$@
|
|
|
|
mwindows = -mwindows
|
|
|
|
endif
|
|
|
|
SUBDIRS = \
|
|
paint-funcs \
|
|
base \
|
|
core \
|
|
config \
|
|
paint \
|
|
text \
|
|
vectors \
|
|
xcf \
|
|
file \
|
|
plug-in \
|
|
tools \
|
|
widgets \
|
|
gui \
|
|
display \
|
|
pdb
|
|
|
|
scriptdata =
|
|
|
|
bin_PROGRAMS = gimp-1.3
|
|
|
|
##
|
|
## stuff which is about to be replaced by new subsystems
|
|
##
|
|
bye_sources = \
|
|
ops_buttons.c \
|
|
ops_buttons.h \
|
|
path.c \
|
|
path.h \
|
|
pathP.h \
|
|
path_transform.h
|
|
|
|
##
|
|
## stuff
|
|
##
|
|
stuff_sources = \
|
|
appenv.h \
|
|
app_procs.c \
|
|
app_procs.h \
|
|
main.c \
|
|
batch.c \
|
|
batch.h \
|
|
errors.c \
|
|
errors.h \
|
|
gimp-intl.h \
|
|
libgimp_glue.c \
|
|
libgimp_glue.h
|
|
|
|
gimp_1_3_SOURCES = \
|
|
$(bye_sources) \
|
|
$(stuff_sources)
|
|
|
|
EXTRA_DIST = \
|
|
makefile.msc \
|
|
gimp.rc \
|
|
gimp.sym \
|
|
wilber.ico \
|
|
arch/i386/mmx/detect_mmx.S \
|
|
arch/i386/mmx/paint_funcs_mmx.S
|
|
|
|
if HAVE_GLIBC_REGEX
|
|
REGEXREPL =
|
|
else
|
|
REGEXREPL = $(top_builddir)/regexrepl/libregex.a
|
|
endif
|
|
|
|
gimp_1_3_LDFLAGS = -export-dynamic -export-symbols $(srcdir)/gimp.sym $(mwindows)
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Gimp\" \
|
|
-DGIMP_APP_GLUE_COMPILATION \
|
|
@GIMP_THREAD_FLAGS@ \
|
|
@GIMP_MP_FLAGS@
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
$(GTK_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
gimp_1_3_LDADD = \
|
|
$(gimp_exp) \
|
|
config/libappconfig.a \
|
|
gui/libappgui.a \
|
|
display/libappdisplay.a \
|
|
tools/libapptools.a \
|
|
widgets/libappwidgets.a \
|
|
core/libappcore.a \
|
|
pdb/libapppdb.a \
|
|
paint/libapppaint.a \
|
|
text/libapptext.a \
|
|
vectors/libappvectors.a \
|
|
xcf/libappxcf.a \
|
|
file/libappfile.a \
|
|
plug-in/libappplug-in.a \
|
|
paint-funcs/libapppaint-funcs.a \
|
|
base/libappbase.a \
|
|
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
|
|
$(top_builddir)/libgimpmath/libgimpmath-$(LT_RELEASE).la \
|
|
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
|
|
$(top_builddir)/libgimpmodule/libgimpmodule-$(LT_RELEASE).la \
|
|
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(LT_RELEASE).la \
|
|
$(GTK_LIBS) \
|
|
$(PANGOFT2_LIBS) \
|
|
$(LIBART_LIBS) \
|
|
$(GIMP_THREAD_LIBS) \
|
|
$(GIMP_MP_LIBS) \
|
|
$(INTLLIBS) \
|
|
$(REGEXREPL)
|
|
|
|
install-exec-hook:
|
|
if DEFAULT_BINARY
|
|
cd $(DESTDIR)$(bindir) \
|
|
&& rm -f gimp$(EXEEXT) \
|
|
&& $(LN_S) gimp-1.3$(EXEEXT) gimp$(EXEEXT)
|
|
endif
|
|
|
|
uninstall-local:
|
|
if DEFAULT_BINARY
|
|
rm -f $(DESTDIR)$(bindir)/gimp$(EXEEXT)
|
|
endif
|