added nowarn flags for the time being to get it to compile with gcc-6.3.0. zunepaint...
[AROS-Ports.git] / graphics / zunepaint / mmakefile.src
blobfaeb84fb0d938bb45a38cd18fdcb33bb339bc335
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-graphics : ports-graphics-zunepaint
7 #MM  ports-graphics-zunepaint : \
8 #MM    includes linklibs ports-graphics-zunepaint-fetch \
9 #MM    ports-graphics-zunepaint-cpy ports-graphics-zunepaint-catalogs
11 #MM  ports-graphics-zunepaint-quick : ports-graphics-zunepaint-fetch
13 REPOSITORIES := sf://zunetools
14 ARCHBASE     := ZunePaint_v0.11
15 TARGETDIR    := $(AROS_CONTRIB)/MultiMedia/Gfx/ZunePaint
17 NOWARN_FLAGS := $(NOWARN_INT_CONVERSION) $(NOWARN_MISLEADING_INDENTATION)
19 USER_CFLAGS  := $(NOWARN_FLAGS) -DZUNEPAINT -DAROS_ABI_V1
20 USER_INCLUDES:= -I$(PORTSDIR)/zunepaint/$(ARCHBASE)/zunepaint/src
22 FILES := \
23     SupportFunctions \
24     Picture_Filter \
25     Picture_Artistic \
26     Picture_Geometry \
27     Picture_IO \
28     Picture_Color \
29     FilterFunctions \
30     mcc_Pictdisp \
31     mcc_Histdisp \
32     Picture_GradientFill \
33     Picture_Quantize \
34     Quant_Neu \
35     Quant_Yer \
36     Quant_Octree \
37     mcc_Graddisp \
38     mcc_Matrix \
39     mcc_ScrollerPict \
40     locale \
41     Picture_Paint \
42     Win_BCG \
43     Win_Conv \
44     Win_Stat \
45     Win_Art \
46     Win_Polar \
47     Win_Color \
48     Win_Resize \
49     Win_Barrel \
50     Win_Vigneting \
51     Win_Rotation \
52     Win_Quantize \
53     Win_Save \
54     Win_ColorSel \
55     Win_GenPal \
56     Win_New \
57     Win_ZPSetting \
58     Win_GradDef \
59     mcc_GradEdit \
60     brushes \
61     ZunePaint_Tabs \
62     Picture_Masks \
63     ZunePaint
66 FILES := $(addprefix $(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint/src/,$(FILES))
68 %build_prog mmake=ports-graphics-zunepaint progname=ZunePaint \
69     files=$(FILES) targetdir=$(TARGETDIR) \
70     uselibs="jpeg png z mui"
72 %fetch mmake=ports-graphics-zunepaint-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/zunepaint/$(ARCHBASE) \
73     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="zip" \
74     patches_specs=zunepaint_v0.11-aros.diff:$(ARCHBASE):-p1
76 CPFILES := ZunePaint.info
78 %copy_files_q mmake=ports-graphics-zunepaint-cpy files=$(CPFILES) src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint \
79     dst=$(TARGETDIR)
81 %copy_dir_recursive mmake=ports-graphics-zunepaint-catalogs src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint//catalogs/french \
82     dst=$(TARGETDIR)/Catalogs/french
84 %common