2003-07-09 07:15:16 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
|
|
|
2003-07-09 07:15:16 +08:00
|
|
|
AM_CPPFLAGS = \
|
2004-01-14 01:48:38 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Composite\" \
|
2005-02-13 23:08:08 +08:00
|
|
|
@GTHREAD_CFLAGS@
|
2003-07-09 07:15:16 +08:00
|
|
|
|
2003-07-09 18:16:50 +08:00
|
|
|
INCLUDES = \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir) \
|
2003-07-21 08:14:37 +08:00
|
|
|
-I$(top_srcdir) \
|
2005-02-27 21:22:01 +08:00
|
|
|
-I$(top_builddir)/app \
|
2003-07-21 08:14:37 +08:00
|
|
|
-I$(top_srcdir)/app \
|
|
|
|
$(GLIB_CFLAGS) \
|
2003-07-09 18:16:50 +08:00
|
|
|
-I$(includedir)
|
|
|
|
|
2005-08-01 12:45:34 +08:00
|
|
|
composite_libraries = \
|
|
|
|
libcomposite3dnow.a \
|
|
|
|
libcompositealtivec.a \
|
|
|
|
libcompositemmx.a \
|
|
|
|
libcompositesse.a \
|
|
|
|
libcompositesse2.a \
|
|
|
|
libcompositevis.a
|
|
|
|
|
|
|
|
noinst_LIBRARIES = $(composite_libraries) libcomposite.a
|
2003-07-09 18:16:50 +08:00
|
|
|
|
2005-08-01 12:45:34 +08:00
|
|
|
libcomposite3dnow_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-3dnow.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-3dnow.h
|
|
|
|
|
|
|
|
libcompositealtivec_a_CFLAGS = $(ALTIVEC_EXTRA_CFLAGS)
|
|
|
|
|
|
|
|
libcompositealtivec_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-altivec.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-altivec.h
|
|
|
|
|
|
|
|
libcompositemmx_a_CFLAGS = $(MMX_EXTRA_CFLAGS)
|
|
|
|
|
|
|
|
libcompositemmx_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-mmx.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-mmx.h
|
|
|
|
|
|
|
|
libcompositesse_a_CFLAGS = $(SSE_EXTRA_CFLAGS)
|
|
|
|
|
|
|
|
libcompositesse_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-sse.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-sse.h
|
|
|
|
|
|
|
|
libcompositesse2_a_CFLAGS = $(SSE_EXTRA_CFLAGS)
|
|
|
|
|
|
|
|
libcompositesse2_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-sse2.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-sse2.h
|
|
|
|
|
|
|
|
libcompositevis_a_SOURCES = \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-vis.c \
|
2005-08-01 12:45:34 +08:00
|
|
|
gimp-composite-vis.h
|
|
|
|
|
|
|
|
libcomposite_a_sources = \
|
|
|
|
gimp-composite-generic.c \
|
|
|
|
gimp-composite-generic.h \
|
|
|
|
gimp-composite-util.h \
|
2004-01-22 11:51:46 +08:00
|
|
|
gimp-composite-x86.h \
|
|
|
|
gimp-composite.c \
|
2003-10-06 03:42:59 +08:00
|
|
|
gimp-composite.h
|
2003-07-09 18:16:50 +08:00
|
|
|
|
2005-08-01 12:45:34 +08:00
|
|
|
libcomposite_a_built_sources = \
|
2003-10-06 03:42:59 +08:00
|
|
|
gimp-composite-3dnow-installer.c \
|
|
|
|
gimp-composite-altivec-installer.c \
|
2003-08-14 15:43:34 +08:00
|
|
|
gimp-composite-generic-installer.c \
|
2003-08-18 19:13:44 +08:00
|
|
|
gimp-composite-mmx-installer.c \
|
|
|
|
gimp-composite-sse-installer.c \
|
|
|
|
gimp-composite-sse2-installer.c \
|
2003-08-27 06:56:30 +08:00
|
|
|
gimp-composite-vis-installer.c
|
2003-07-09 18:16:50 +08:00
|
|
|
|
2005-08-01 12:45:34 +08:00
|
|
|
libcomposite_a_SOURCES = \
|
|
|
|
$(libcomposite_a_built_sources) \
|
|
|
|
$(libcomposite_a_sources)
|
|
|
|
|
|
|
|
## This is a huge hack
|
|
|
|
libappcomposite.a: $(noinst_LIBRARIES)
|
|
|
|
-rm -f libappcomposite.a
|
|
|
|
$(AR) $(ARFLAGS) libappcomposite.a $(libcomposite_a_OBJECTS) \
|
|
|
|
$(libcomposite3dnow_a_OBJECTS) \
|
|
|
|
$(libcompositealtivec_a_OBJECTS) \
|
|
|
|
$(libcompositemmx_a_OBJECTS) \
|
|
|
|
$(libcompositesse_a_OBJECTS) \
|
|
|
|
$(libcompositesse2_a_OBJECTS) \
|
|
|
|
$(libcompositevis_a_OBJECTS)
|
|
|
|
$(RANLIB) libappcomposite.a
|
|
|
|
|
|
|
|
all-local: libappcomposite.a
|
|
|
|
|
|
|
|
clean_libs = libappcomposite.a
|
2003-07-09 18:16:50 +08:00
|
|
|
|
2005-08-01 13:16:44 +08:00
|
|
|
regenerate: gimp-composite-generic.o $(libcomposite3dnow_a_OBJECTS) $(libcompositealtivec_a_OBJECTS) $(libcompositemmx_a_OBJECTS) $(libcompositesse_a_OBJECTS) $(libcompositesse2_a_OBJECTS) $(libcompositevis_a_OBJECTS)
|
2005-08-01 12:45:34 +08:00
|
|
|
$(srcdir)/make-installer.py -f gimp-composite-generic.o
|
2005-08-01 13:16:44 +08:00
|
|
|
$(srcdir)/make-installer.py -f $(libcompositemmx_a_OBJECTS) -t -r 'defined(COMPILE_MMX_IS_OKAY)' -c 'X86_MMX'
|
|
|
|
$(srcdir)/make-installer.py -f $(libcompositesse_a_OBJECTS) -t -r 'defined(COMPILE_SSE_IS_OKAY)' -c 'X86_SSE' -c 'X86_MMXEXT'
|
|
|
|
$(srcdir)/make-installer.py -f $(libcompositesse2_a_OBJECTS) -t -r 'defined(COMPILE_SSE2_IS_OKAY)'-c 'X86_SSE2'
|
|
|
|
$(srcdir)/make-installer.py -f $(libcomposite3dnow_a_OBJECTS) -t -r 'defined(COMPILE_3DNOW_IS_OKAY)' -c 'X86_3DNOW'
|
|
|
|
$(srcdir)/make-installer.py -f $(libcompositealtivec_a_OBJECTS) -t -r 'defined(COMPILE_ALTIVEC_IS_OKAY)' -c 'PPC_ALTIVEC'
|
|
|
|
$(srcdir)/make-installer.py -f $(libcompositevis_a_OBJECTS) -t -r 'defined(COMPILE_VIS_IS_OKAY)'
|
2003-08-18 19:13:44 +08:00
|
|
|
|
2003-07-09 19:52:10 +08:00
|
|
|
EXTRA_DIST = \
|
2003-08-14 15:43:34 +08:00
|
|
|
make-installer.py \
|
2003-12-13 11:59:41 +08:00
|
|
|
makefile.msc \
|
2003-07-21 07:57:07 +08:00
|
|
|
ns.py
|
2003-07-09 19:52:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
#
|
2003-07-13 23:48:41 +08:00
|
|
|
# unit tests and meta tools for GimpComposite
|
2003-07-09 19:52:10 +08:00
|
|
|
#
|
|
|
|
|
2003-08-18 19:13:44 +08:00
|
|
|
TESTS = \
|
2003-10-06 03:42:59 +08:00
|
|
|
gimp-composite-3dnow-test \
|
|
|
|
gimp-composite-altivec-test \
|
2003-08-18 19:13:44 +08:00
|
|
|
gimp-composite-mmx-test \
|
|
|
|
gimp-composite-sse-test \
|
|
|
|
gimp-composite-sse2-test \
|
|
|
|
gimp-composite-vis-test
|
2003-08-18 09:47:10 +08:00
|
|
|
|
2003-11-02 03:51:22 +08:00
|
|
|
EXTRA_PROGRAMS = gimp-composite-test $(TESTS)
|
|
|
|
|
2005-08-01 12:45:34 +08:00
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS) $(clean_libs)
|
2003-11-02 03:51:22 +08:00
|
|
|
|
2003-07-24 19:10:47 +08:00
|
|
|
gimp_composite_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
2003-08-07 21:15:18 +08:00
|
|
|
gimp-composite-regression.h \
|
2003-07-24 19:10:47 +08:00
|
|
|
gimp-composite-test.c
|
|
|
|
|
|
|
|
gimp_composite_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
2003-07-24 16:00:12 +08:00
|
|
|
|
|
|
|
gimp_composite_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-07-24 16:00:12 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
|
2003-08-14 15:43:34 +08:00
|
|
|
gimp_composite_mmx_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-mmx-test.c
|
|
|
|
|
|
|
|
gimp_composite_mmx_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_mmx_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-14 15:43:34 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
gimp_composite_sse_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-sse-test.c
|
|
|
|
|
|
|
|
gimp_composite_sse_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_sse_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-14 15:43:34 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2003-08-18 09:47:10 +08:00
|
|
|
gimp_composite_sse2_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-sse2-test.c
|
|
|
|
|
|
|
|
gimp_composite_sse2_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_sse2_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-18 09:47:10 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
gimp_composite_3dnow_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-3dnow-test.c
|
|
|
|
|
|
|
|
gimp_composite_3dnow_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_3dnow_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-18 09:47:10 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
|
2003-08-14 15:43:34 +08:00
|
|
|
gimp_composite_altivec_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-altivec-test.c
|
|
|
|
|
|
|
|
gimp_composite_altivec_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_altivec_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-14 15:43:34 +08:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
|
|
gimp_composite_vis_test_SOURCES = \
|
|
|
|
gimp-composite-regression.c \
|
|
|
|
gimp-composite-regression.h \
|
|
|
|
gimp-composite-vis-test.c
|
|
|
|
|
|
|
|
gimp_composite_vis_test_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
|
|
|
|
gimp_composite_vis_test_LDADD = \
|
2004-01-22 11:51:46 +08:00
|
|
|
libappcomposite.a \
|
|
|
|
../base/libappbase.a \
|
|
|
|
$(libgimpcolor) \
|
2003-08-14 15:43:34 +08:00
|
|
|
$(GLIB_LIBS)
|