2003-07-09 Sven Neumann <sven@gimp.org> * app/composite/tester.c: removed ... * app/composite/test-composite.c: ... and readded under a new name. * app/composite/Makefile.am: added a check target that builds and runs the test program. * app/composite/gimp-composite-generic.c * app/composite/gimp-composite-mmx.c * app/composite/gimp-composite-util.h * app/composite/gimp-composite.[ch] * app/composite/make-gimp-composite-dispatch.py: made it fit better into the GIMP source tree: - do not include any files from headers - don't use types from <sys/types.h> but use what glib provides - coding style ...
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
AM_CPPFLAGS = \
|
|
-DG_LOG_DOMAIN=\"Gimp-Compositing\" \
|
|
@GIMP_THREAD_FLAGS@ \
|
|
@GIMP_MP_FLAGS@
|
|
|
|
AM_CCASFLAGS = \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir) \
|
|
-I$(top_srcdir)/app
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir)/app \
|
|
-I$(top_srcdir)/app/composite \
|
|
$(GLIB_CFLAGS) \
|
|
-I$(includedir)
|
|
|
|
noinst_LIBRARIES = libappcomposite.a
|
|
|
|
libappcomposite_a_sources = \
|
|
gimp-composite.c \
|
|
gimp-composite-generic.c \
|
|
gimp-composite-generic.h \
|
|
gimp-composite.h \
|
|
gimp-composite-mmx.c \
|
|
gimp-composite-mmx.h \
|
|
gimp-composite-util.h
|
|
|
|
libappcomposite_a_built_sources = gimp-composite-dispatch.c
|
|
|
|
libappcomposite_a_SOURCES = $(libappcomposite_a_built_sources) $(libappcomposite_a_sources)
|
|
|
|
|
|
gimp-composite.c: gimp-composite-dispatch.c
|
|
|
|
gimp-composite-dispatch.c: gimp-composite-generic.o make-gimp-composite-dispatch.py
|
|
./make-gimp-composite-dispatch.py gimp-composite-generic.o > gimp-composite-dispatch.c
|
|
|
|
|
|
EXTRA_DIST = \
|
|
make-gimp-composite-dispatch.py \
|
|
ns
|
|
|
|
EXTRA_PROGRAMS = test-composite
|
|
|
|
|
|
#
|
|
# unit tests for GimpComposite
|
|
#
|
|
|
|
TESTS = test-composite
|
|
|
|
test_composite_DEPENDENCIES = $(gimpcomposite_dependencies)
|
|
|
|
test_composite_LDADD = \
|
|
libappcomposite.a \
|
|
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
|
|
$(GLIB_LIBS)
|
|
|
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS)
|