3 include $(SRCDIR)/config/aros.cfg
5 USER_CFLAGS := -DABIV1 -DMIN_OS_VERSION=39 $(BASE_CFLAGS) -DCATCOMP_NUMBERS -D__NOLIBBASE__ -DUSE_FLAC -DUSE_MPG123 -DUSE_VORBIS -DUSE_WAVPACK
6 USER_INCLUDES := -I$(AROS_INCLUDES)/SDI \
7 -I$(SRCDIR)/$(CURDIR)/../include -I$(SRCDIR)/$(CURDIR)/../dms
8 USER_LDFLAGS := -static
10 TARGETDIR := $(AROS_DEVS)/DiskImage
12 #MM- workbench-devs-diskimage-plugins : \
13 #MM workbench-devs-diskimage-ccd \
14 #MM workbench-devs-diskimage-ciso \
15 #MM workbench-devs-diskimage-cpc \
16 #MM workbench-devs-diskimage-daa \
17 #MM workbench-devs-diskimage-dax \
18 #MM workbench-devs-diskimage-dmg \
19 #MM workbench-devs-diskimage-dms \
20 #MM workbench-devs-diskimage-gi \
21 #MM workbench-devs-diskimage-mds \
22 #MM workbench-devs-diskimage-nrg \
23 #MM workbench-devs-diskimage-uif
25 # CUE needs things from contrib
26 # #MM workbench-devs-diskimage-cue
28 # FID has GPL license, so we don't build it by default
29 # #MM workbench-devs-diskimage-fdi
31 #MM workbench-devs-diskimage-ccd : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
32 #MM workbench-devs-diskimage-cpc : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
33 #MM workbench-devs-diskimage-cue : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
34 #MM workbench-devs-diskimage-dms : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
35 #MM workbench-devs-diskimage-fdi : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
36 #MM workbench-devs-diskimage-gi : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
37 #MM workbench-devs-diskimage-mds : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
38 #MM workbench-devs-diskimage-nrg : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
39 #MM workbench-devs-diskimage-xad : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
40 #MM workbench-devs-diskimage-xpk : includes linklibs workbench-devs-diskimage-device workbench-devs-diskimage-support
42 #MM- workbench-devs-diskimage-plugins-quick : \
43 #MM workbench-devs-diskimage-ccd-quick \
44 #MM workbench-devs-diskimage-cpc-quick \
45 #MM workbench-devs-diskimage-dms-quick \
46 #MM workbench-devs-diskimage-gi-quick \
47 #MM workbench-devs-diskimage-mds-quick \
48 #MM workbench-devs-diskimage-nrg-quick
50 #MM- workbench-devs-diskimage-plugins-clean : \
51 #MM workbench-devs-diskimage-ccd-clean \
52 #MM workbench-devs-diskimage-cpc-clean \
53 #MM workbench-devs-diskimage-cue-clean \
54 #MM workbench-devs-diskimage-daa-clean \
55 #MM workbench-devs-diskimage-dax-clean \
56 #MM workbench-devs-diskimage-dmg-clean \
57 #MM workbench-devs-diskimage-dms-clean \
58 #MM workbench-devs-diskimage-fdi-clean \
59 #MM workbench-devs-diskimage-gi-clean \
60 #MM workbench-devs-diskimage-mds-clean \
61 #MM workbench-devs-diskimage-nrg-clean \
62 #MM workbench-devs-diskimage-uif-clean \
63 #MM workbench-devs-diskimage-xad-clean \
64 #MM workbench-devs-diskimage-xpk-clean
67 %build_prog mmake=workbench-devs-diskimage-ccd progname=CCD files="stub_aros ccd" \
68 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
70 %build_prog mmake=workbench-devs-diskimage-ciso progname=CISO files="stub_aros ciso" \
71 targetdir=$(TARGETDIR) uselibs="diskimagesupport z" usestartup=no
73 %build_prog mmake=workbench-devs-diskimage-cpc progname=CPC files="stub_aros cpc" \
74 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
76 CFILES := cue/cue cue/flac cue/wavpack audio/aiff audio/flac \
77 audio/mp3_mpg123 audio/vorbis audio/wave audio/wavpack cue/malloc \
78 cue/fdio cue/string cue/stdio cue/select
80 %build_prog mmake=workbench-devs-diskimage-cue progname=CUE files="stub_aros $(CFILES)" \
81 targetdir=$(TARGETDIR) uselibs="mpg123 FLAC wavpack vorbisfile vorbis ogg diskimagesupport" usestartup=no
83 %build_prog mmake=workbench-devs-diskimage-daa progname=DAA files="stub_aros daa" \
84 targetdir=$(TARGETDIR) uselibs="diskimagesupport z" usestartup=no
86 %build_prog mmake=workbench-devs-diskimage-dax progname=DAX files="stub_aros dax" \
87 targetdir=$(TARGETDIR) uselibs="diskimagesupport z" usestartup=no
89 CFILES := dmg/dmg dmg/base64 dmg/adc
91 %build_prog mmake=workbench-devs-diskimage-dmg progname=DMG files="stub_aros $(CFILES)" \
92 targetdir=$(TARGETDIR) uselibs="diskimagesupport z bz2 expat" usestartup=no
94 CFILES := ../dms/crc_csum ../dms/getbits ../dms/tables ../dms/maketbl ../dms/u_init \
95 ../dms/u_deep ../dms/u_heavy ../dms/u_medium ../dms/u_quick ../dms/u_rle
97 %build_prog mmake=workbench-devs-diskimage-dms progname=DMS files="stub_aros dms $(CFILES)" \
98 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
100 %build_prog mmake=workbench-devs-diskimage-fdi progname=FDI files="stub_aros fdi/fdi fdi/fdi2raw" \
101 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
103 %build_prog mmake=workbench-devs-diskimage-gi progname=GI files="stub_aros gi" \
104 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
106 %build_prog mmake=workbench-devs-diskimage-mds progname=MDS files="stub_aros mds" \
107 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
109 %build_prog mmake=workbench-devs-diskimage-nrg progname=NRG files="stub_aros nrg" \
110 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
112 %build_prog mmake=workbench-devs-diskimage-uif progname=UIF files="stub_aros uif" \
113 targetdir=$(TARGETDIR) uselibs="diskimagesupport z" usestartup=no
115 %build_prog mmake=workbench-devs-diskimage-xad progname=XAD files="stub_aros xad" \
116 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no
118 %build_prog mmake=workbench-devs-diskimage-xpk progname=XPK files="stub_aros xpk" \
119 targetdir=$(TARGETDIR) uselibs="diskimagesupport" usestartup=no