3 include $(SRCDIR)/config/aros-contrib.cfg
6 # Makefile for AMP2 (030415)
11 AROSFILES = aros/arossupport
13 AMIGAOS = amigaos/aga amigaos/cgfx amigaos/video amigaos/req amigaos/font
15 AUDIO=audio/ahi audio/audio_main audio/paula audio/paula_int
17 COMMON = common/amp common/find_plugin common/core common/ampio
19 MAIN = main/main main/prefs main/plugin main/types main/keyfile main/buffer \
20 main/version main/mpegio main/mount
22 REFRESH = refresh/refresh refresh/osd refresh/subtitle \
23 refresh/yuv2ham6 refresh/yuv2ham8 refresh/yuv2aga refresh/yuv2rgb \
24 refresh/yuv2gray refresh/yuv2lut refresh/yuv2win refresh/yuv2overlay \
25 refresh/argb2ham6 refresh/argb2ham8 refresh/argb2aga refresh/argb2rgb \
26 refresh/argb2gray refresh/argb2lut refresh/argb2win refresh/argb2overlay \
27 refresh/lut2aga refresh/lut2rgb refresh/lut2gray refresh/lut2lut \
28 refresh/lut2win refresh/lut2overlay
30 DVD = parser/dvd/dvdnav/decoder parser/dvd/dvdnav/dvdnav parser/dvd/dvdnav/vm \
31 parser/dvd/dvdnav/vmcmd parser/dvd/dvdnav/read_cache parser/dvd/dvdnav/navigation \
32 parser/dvd/dvdnav/highlight parser/dvd/dvdnav/searching parser/dvd/dvdnav/settings \
33 parser/dvd/dvdread/ifo_read parser/dvd/dvdread/nav_read parser/dvd/dvdread/dvd_udf \
34 parser/dvd/dvdread/dvd_reader \
35 parser/dvd/dvdcss/decss parser/dvd/dvdcss/dvd parser/dvd/dvdcss/css-auth \
36 parser/dvd/dvdcss/findkey \
37 parser/dvd/dvd_main parser/dvd/spu
39 PARSER = parser/rm/rm parser/avi/avi parser/stream/stream parser/mpeg/mpeg \
41 parser/qt/quicktime parser/qt/atom parser/qt/mdat parser/qt/moov parser/qt/mvhd \
42 parser/qt/matrix parser/qt/trak parser/qt/stco parser/qt/stsz parser/qt/stsc \
43 parser/qt/mdia parser/qt/tkhd parser/qt/edts parser/qt/minf parser/qt/hdlr \
44 parser/qt/mdhd parser/qt/vmhd parser/qt/smhd parser/qt/dinf parser/qt/stbl \
45 parser/qt/stsd parser/qt/stts parser/qt/stss parser/qt/udta parser/qt/ctab \
46 parser/qt/elst parser/qt/dref parser/qt/stsdtable parser/qt/util parser/qt/qt
48 OBJS = $(MAIN) $(AROSFILES) $(AMIGAOS) $(COMMON) $(AUDIO) $(REFRESH) $(DVD) $(PARSER)
50 EXEDIR := $(AROS_CONTRIB)/MultiMedia/AMP2
52 USER_CFLAGS := -I$(SRCDIR)/$(CURDIR)/aros -I$(SRCDIR)/$(CURDIR)/amigaos -I$(SRCDIR)/$(CURDIR)/audio -I$(SRCDIR)/$(CURDIR)/common -I$(SRCDIR)/$(CURDIR)/main -I$(SRCDIR)/$(CURDIR)/parser -I$(SRCDIR)/$(CURDIR)/parser/dvd -I$(SRCDIR)/$(CURDIR)/parser/dvd/dvdnav -I$(SRCDIR)/$(CURDIR)/parser/dvd/dvdread -I$(SRCDIR)/$(CURDIR)/parser/mpeg -I$(SRCDIR)/$(CURDIR)/parser/vcd -I$(SRCDIR)/$(CURDIR)/parser/qt -I$(SRCDIR)/$(CURDIR)/plugin -Irefresh
54 #MM contrib-mmedia-amp2 : includes linklibs workbench-libs-cgxvideo-includes contrib-mmedia-amp2-plugins
56 %build_prog mmake=contrib-mmedia-amp2 progname=AMP targetdir=$(EXEDIR) files=$(OBJS) uselibs="z"