filters: Add generated Nearest Neighbour filter.
[gfxprim.git] / libs / filters / Makefile
blob1470e55c96c0a677cb6543d85bc1b75639679745
1 TOPDIR=../..
3 STATS_FILTERS=GP_Histogram.gen.c
5 POINT_FILTERS=GP_Contrast.gen.c GP_Brightness.gen.c GP_Invert.gen.c\
6 GP_Point.gen.c GP_Noise.gen.c
8 ARITHMETIC_FILTERS=GP_Difference.gen.c GP_Addition.gen.c GP_Min.gen.c\
9 GP_Max.gen.c GP_Multiply.gen.c
11 RESAMPLING_FILTERS=GP_ResizeNN.gen.c
13 GENSOURCES=GP_MirrorV.gen.c GP_Rotate.gen.c GP_FloydSteinberg.gen.c GP_HilbertPeano.gen.c\
14 $(POINT_FILTERS) $(ARITHMETIC_FILTERS) $(STATS_FILTERS) $(RESAMPLING_FILTERS)
16 CSOURCES=$(filter-out $(wildcard *.gen.c),$(wildcard *.c))
17 LIBNAME=filters
18 INCLUDE=core
20 include $(TOPDIR)/pre.mk
21 include $(TOPDIR)/gen.mk
22 include $(TOPDIR)/lib.mk
23 include $(TOPDIR)/post.mk
25 $(POINT_FILTERS) $(ARITHMETIC_FILTERS) $(STATS_FILTERS): $(TEMPLATE_DIR)/filter.c.t
26 $(STATS_FILTERS): $(TEMPLATE_DIR)/filter.stats.c.t
27 $(POINT_FILTERS): $(TEMPLATE_DIR)/filter.point.c.t
28 $(ARITHMETIC_FILTERS): $(TEMPLATE_DIR)/filter.arithmetic.c.t