correction.
[AROS-Ports.git] / graphics / zunepaint / mmakefile.src
blob1581d21474318c5fd5b447ee0a84e3220735ea5d
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-graphics : ports-graphics-$(AROS_TARGET_CPU)
7 #MM- ports-graphics-i386 : ports-graphics-zunepaint
8 #MM- ports-graphics-m68k : ports-graphics-zunepaint
9 #MM- ports-graphics-ppc : ports-graphics-zunepaint
10 #MM- ports-graphics-arm : ports-graphics-zunepaint
11 #MM- ports-graphics-x86_64 : ports-graphics-zunepaint
13 #MM  ports-graphics-zunepaint : \
14 #MM    includes linklibs ports-graphics-zunepaint-fetch \
15 #MM    ports-graphics-zunepaint-cpy ports-graphics-zunepaint-catalogs
17 #MM  ports-graphics-zunepaint-quick : ports-graphics-zunepaint-fetch
19 REPOSITORIES := sf://zunetools
20 ARCHBASE     := ZunePaint_v0.14
21 TARGETDIR    := $(AROS_CONTRIB)/MultiMedia/Gfx/ZunePaint
23 NOWARN_FLAGS :=
24 USER_CFLAGS  := $(NOWARN_FLAGS) -DZUNEPAINT -DAROS_ABI_V1
25 USER_INCLUDES:= -I$(PORTSDIR)/zunepaint/$(ARCHBASE)/zunepaint/src
27 FILES := \
28     SupportFunctions \
29     Picture_Filter \
30     Picture_Artistic \
31     Picture_Geometry \
32     Picture_IO \
33     Picture_Color \
34     FilterFunctions \
35     mcc_Pictdisp \
36     mcc_Histdisp \
37     Picture_GradientFill \
38     Picture_Quantize \
39     Quant_Neu \
40     Quant_Yer \
41     Quant_Octree \
42     mcc_Graddisp \
43     mcc_Matrix \
44     mcc_ScrollerPict \
45     locale \
46     Picture_Paint \
47     Win_BCG \
48     Win_Conv \
49     Win_Stat \
50     Win_Art \
51     Win_Polar \
52     Win_Color \
53     Win_Resize \
54     Win_Barrel \
55     Win_Vigneting \
56     Win_Rotation \
57     Win_Quantize \
58     Win_Save \
59     Win_ColorSel \
60     Win_GenPal \
61     Win_New \
62     Win_ZPSetting \
63     Win_GradDef \
64     mcc_GradEdit \
65     brushes \
66     ZunePaint_Tabs \
67     Picture_Masks \
68     WriteILBM \
69     ZunePaint
71 FILES := $(addprefix $(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint/src/,$(FILES))
73 ##DISABLED ZUNEPAINT_PATCHSPECS := $(ARCHBASE)-aros.diff:ZunePaint:-f,-p1
75 %build_prog mmake=ports-graphics-zunepaint progname=ZunePaint \
76     files=$(FILES) targetdir=$(TARGETDIR) \
77     uselibs="jpeg png z mui"
79 %fetch mmake=ports-graphics-zunepaint-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/zunepaint/$(ARCHBASE) \
80     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="zip"
81 ##DISABLED patches_specs=$(ZUNEPAINT_PATCHSPECS)
83 %create_patch mmake=ports-graphics-zunepaint-create-patch archive=$(ARCHBASE) srcdir=ZunePaint suffixes="zip" destination=$(PORTSDIR)/zunepaint/$(ARCHBASE)
85 CPFILES := ZunePaint.info
87 %copy_files_q mmake=ports-graphics-zunepaint-cpy files=$(CPFILES) src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint \
88     dst=$(TARGETDIR)
90 %copy_dir_recursive mmake=ports-graphics-zunepaint-catalogs src=$(PORTSDIR)/zunepaint/$(ARCHBASE)/ZunePaint//catalogs/french \
91     dst=$(TARGETDIR)/Catalogs/french
93 %common