added nowarn flags to get it to compile with gcc-6.3.0 for m68k.
[AROS-Ports.git] / graphics / zuneview / mmakefile.src
blobb4e86a6dbfdf285318a9cb3b84506cf640a300e9
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-graphics : ports-graphics-zuneview
7 #MM  ports-graphics-zuneview : \
8 #MM    includes linklibs ports-graphics-zuneview-fetch \
9 #MM    ports-graphics-zuneview-cpy ports-graphics-zuneview-catalogs
11 #MM  ports-graphics-zuneview-quick : ports-graphics-zuneview-fetch
13 REPOSITORIES := sf://zunetools
14 ARCHBASE     := ZuneView_v0.37
15 TARGETDIR    := $(AROS_CONTRIB)/MultiMedia/Gfx/ZuneView
17 NOWARN_FLAGS := $(NOWARN_INT_CONVERSION) $(NOWARN_MISLEADING_INDENTATION) $(NOWARN_FORMAT)
18 USER_CFLAGS  := $(NOWARN_FLAGS) -DZUNEVIEW -DAROS_ABI_V1
19 USER_INCLUDES:= -I$(PORTSDIR)/zuneview/$(ARCHBASE)/ZuneView/src
21 FILES := \
22     SupportFunctions \
23     ListTreeHooks \
24     Picture_Filter \
25     Picture_Quantize \
26     Picture_Artistic \
27     Picture_Geometry \
28     Picture_IO \
29     Picture_Color \
30     Quant_Neu \
31     Quant_Yer \
32     Quant_Octree \
33     FilterFunctions \
34     mcc_Pictdisp \
35     Win_BCG \
36     Win_Color \
37     Win_Conv \
38     Win_Resize \
39     Win_Barrel \
40     Win_Save \
41     Win_Stat \
42     Win_Art \
43     Win_Polar \
44     Win_Rotation \
45     Win_Vigneting \
46     Win_Quantize \
47     Win_ZVSetting \
48     Win_Rename \
49     Win_Icon \
50     Win_Batch \
51     mcc_Thumbdisp \
52     mcc_Thumbnail \
53     mcc_Thumbgroup \
54     mcc_ScrollerPict \
55     mcc_Matrix \
56     mcc_Histdisp \
57     exif \
58     locale \
59     Picture_Masks \
60     Picture_Paint \
61     ZuneView
63 FILES := $(addprefix $(PORTSDIR)/zuneview/$(ARCHBASE)/ZuneView/src/,$(FILES))
65 %build_prog mmake=ports-graphics-zuneview progname=ZuneView \
66     files=$(FILES) targetdir=$(TARGETDIR) \
67     uselibs="jpeg png mui"
69 %fetch mmake=ports-graphics-zuneview-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/zuneview/$(ARCHBASE) \
70     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="zip" \
71     patches_specs=zuneview_v0.37-aros.diff:$(ARCHBASE):-p1
73 CPFILES := ZuneView.info
75 %copy_files_q mmake=ports-graphics-zuneview-cpy files=$(CPFILES) src=$(PORTSDIR)/zuneview/$(ARCHBASE)/ZuneView \
76     dst=$(TARGETDIR)
78 %copy_dir_recursive mmake=ports-graphics-zuneview-catalogs src=$(PORTSDIR)/zuneview/$(ARCHBASE)/ZuneView/catalogs \
79     dst=$(TARGETDIR)/Catalogs
81 %common