PCmake 1.07 KB
#!smake
# PCǥץ Makefile

include $(ROOT)/usr/include/make/PRdefs

APPDIR	  = threadprofile

TEXTFILES = Makefile audio.c audio.h boot.c cfb.c controller.c \
	    controller.h def.h dram_stack.c far_.c far_.h gfxdlistbuf.c \
	    gfxinit.c gfxperfm.c gfxyield.c graphic.c graphic.h \
	    graphic_00.c lodmodel.c main.c main.h main00.c message.c \
	    message.h middle_.c middle_.h near_.c near_.h nnsched.c \
	    nnsched.h rdp_output.c readme.jp \
	    segment.h spec vram.h zbuf.c

BINFILES  =

SUBDIRS	  = 

ERASELINE = 'install'
ENDLINE   = 'dummy'
LDIRTV	  =

FILES	  = $(TEXTFILES) $(BINFILES)

default:
	$(INSTALL) -m 666 -F /PR/apps.pc/$(APPDIR) $(FILES)
	perl $(ROOT)/PR/apps.released/mkPCmake.pl Makefile > \
		$(ROOT)/PR/apps.pc/$(APPDIR)/Makefile
#	( \
#	cd $(ROOT)/PR/apps.pc/$(APPDIR) ; \
#	for i in $(TEXTFILES) ; do ( \
#		to_dos $$i /tmp/__pctmp ; \
#	        euctosjis /tmp/__pctmp > $$i ;  \
#	        rm -f /tmp/__pctmp )\
#	done ; \
#	)	
	cp $(ROOT)/PR/apps.released/__elfcom.c $(ROOT)/PR/apps.pc/$(APPDIR)

clean clobber:
	rm -rf $(ROOT)/PR/apps.pc/$(APPDIR)