1###############################################################################
2# Makefile for mpfs demo
3#
4# Copyright 2006,2007 Nintendo. All rights reserved.
5#
6# These coded instructions, statements, and computer programs contain
7# proprietary information of Nintendo of America Inc. and/or Nintendo
8# Company Ltd., and are protected by Federal copyright law.  They may
9# not be disclosed to third parties or copied or duplicated in any form,
10# in whole or in part, without the prior written consent of Nintendo.
11#
12# $Id: makefile,v 1.4 2007/05/14 11:37:17 hatamoto_minoru Exp $
13###############################################################################
14
15all:    install
16
17include $(REVOLUTION_EXT_ROOT)/build/buildtools/commondefs
18include $(REVOLUTION_EXT_ROOT)/build/demos/share/commondefs.demoshare
19
20MODULENAME  = mpfsdemo
21DEMO        = TRUE
22REX_NETDEMO = TRUE
23
24LCF_FILE    = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf
25
26BINNAMES    = mpfssimple
27COMMONSRCS  = download.c fsserver.c
28CSRCS       = $(COMMONSRCS) $(addsuffix .c, $(BINNAMES))
29
30# DS program registration information has become a requirement with RevoEX1.0plus and later versions.
31CSRCS      += registration.c
32src/registration.c: $(wildcard $(REVOLUTION_EXT_ROOT)/build/demos/mpfsdemo/dvddata/*.srl)
33	$(REVOLUTION_EXT_ROOT)/X86/bin/regds.exe -o $@ $^
34
35REX_DVDROOT = $$(REVOLUTION_EXT_ROOT)/build/demos/mpfsdemo/dvddata
36
37include $(REVOLUTION_EXT_ROOT)/build/buildtools/modulerules
38include $(REVOLUTION_EXT_ROOT)/build/demos/share/modulerules.demoshare
39
40$(FULLBIN_ROOT)/mpfssimple$(BINSUFFIX): download.o fsserver.o mpfssimple.o registration.o $(REX_DEMOSHARE_OBJS) $(REVOLUTION_LIBS) $(REX_LIBS)
41
42
43#======== End of makefile ========#
44