Revision 5

Date:
2014/01/07 19:43:08
Author:
alanb@RISCID.ORG
Revision Log:
Updated to new package format with components
Files:

Legend:

 
Added
 
Removed
 
Modified
  • trunk/!SDLThrust/source/makefile.riscos

     
    3 3 CC=gcc
    4 4 LD=gcc
    5 5
    6 CFLAGS=-O3 -I/SDL:include -DHAVE_CONFIG_H
    7 LDFLAGS=-L/SDL:lib -lSDL
    6 CFLAGS=-O3 -ISDL: -DHAVE_CONFIG_H
    7 LDFLAGS=-LSDL: -lSDL -static
    8 8
    9 TARGET=../SDLThrust
    10 EXE=
    9 TARGET=^.SDLThrust
    10 TARGETELF=sdlthrustelf
    11 11
    12 12 # Common files
    13 13
     
    24 24 datasrc/demomove.c datasrc/level1.c datasrc/level2.c \
    25 25 datasrc/level3.c datasrc/level4.c datasrc/level5.c \
    26 26 datasrc/level6.c datasrc/font.c \
    27 src/sdlkey.c src/sdl.c src/sdlsound.c \
    28 datasrc/icon48.cdatasrc/blip.c \
    27 src/sdlkey.c src/sdl.c src/sdlsound.c \
    28 datasrc/icon48.cdatasrc/blip.c \
    29 29 datasrc/boom.c datasrc/boom2.c datasrc/harp.c datasrc/engine.c \
    30 datasrc/zero.c src/silence.c
    30 datasrc/zero.c
    31 31
    32 32 OBJECTS=src/thrust.o src/fast_gr.o src/hiscore.o \
    33 33 src/conf.o src/things.o src/init.o src/level.o src/font5x5.o \
     
    36 36 datasrc/demomove.o datasrc/level1.o datasrc/level2.o \
    37 37 datasrc/level3.o datasrc/level4.o datasrc/level5.o \
    38 38 datasrc/level6.o datasrc/font.o \
    39 src/sdlkey.o src/sdl.o src/sdlsound.o \
    40 datasrc/icon48.o datasrc/blip.o \
    39 src/sdlkey.o src/sdl.o src/sdlsound.o \
    40 datasrc/icon48.o datasrc/blip.o \
    41 41 datasrc/boom.o datasrc/boom2.o datasrc/harp.o datasrc/engine.o \
    42 datasrc/zero.o src/silence.o
    42 datasrc/zero.o
    43 43
    44 $(TARGET): $(TARGETELF)
    45 elf2aif $(TARGETELF) $(TARGET)
    44 46
    45 $(TARGET)$(EXE): $(OBJECTS)
    46 $(LD) -o $(TARGET)$(EXE) $(LDFLAGS) $(OBJECTS)
    47 $(TARGETELF): $(OBJECTS)
    48 $(LD) -o $(TARGETELF) $(LDFLAGS) $(OBJECTS)
  • trunk/RiscPkg/Control

     
    1 1 Source: sdlthrust
    2 Version: 0.89f-sdl-1
    2 Version: 0.89f-sdl-2
    3 3 Section: Games
    4 4 Priority: Optional
    5 5 Maintainer: Alan Buckley <alan_baa@hotmail.com>
    6 Standards-Version: 0.1.0
    6 Standards-Version: 0.4.0
    7 7 Licence: Free
    8 8 Description: Rewrite of the classic Thrust game
    9 9 The object of the game is to lift the Klystron Pod from the bottom of a cave and return it safely to space.
    10 Components: Apps.Games.!SDLThrust (Movable)
    10 11
    11 12 Package: SDLThrust
    12 13 Depends: SharedUnixLibrary, DRenderer
  • trunk/RiscPkg/Rules

     
    1 VERSION = 0.89f-sdl-1
    1 VERSION = 0.89f-sdl-2
    2 2 PACKAGES = \
    3 3 SDLThrust_$(VERSION)
    4 4 INSTALL_TO=Temp/Apps/Games
     
    13 13 rm -rf Temp
    14 14 mkdir -p Temp/RiscPkg
    15 15 cp RiscPkg/Control Temp/RiscPkg
    16 cp RiscPkg/Copyright Temp/RiscPkg
    16 17 mkdir -p $(INSTALL_TO)
    17 cp -rf !SDLThrust $(INSTALL_TO)/!SDLThrust
    18 svn export !SDLThrust $(INSTALL_TO)/!SDLThrust
    19 cp !SDLThrust/SDLThrust $(INSTALL_TO)/!SDLThrust
    18 20 make -C Temp -f ../RiscPkg/Rules $(PACKAGES)
    19 21 rm -rf Temp
    20 22
     
    24 26 rm -f ../RiscPkg/$@
    25 27 set StoreSuffix <UnixEnv$$zip$$sfix>
    26 28 set UnixEnv$$zip$$sfix \"\"
    27 zip -r ../RiscPkg/$@ * -i@../RiscPkg/$(firstword $(subst _, ,$@)).inc
    29 zip -r ^.RiscPkg.$(subst .,/,$@) * -i@^.RiscPkg.$(firstword $(subst _, ,$@))/inc
    28 30 set UnixEnv$$zip$$sfix <StoreSuffix>
    29 31 unset StoreSuffix
  • trunk/RiscPkg/SDLThrust.inc

     
    1 RiscPkg/*
    2 Apps/Games/!SDLThrust/!*
    3 Apps/Games/!SDLThrust/COPYING
    4 Apps/Games/!SDLThrust/SDLThrust
    5 Apps/Games/!SDLThrust/thrustrc
    1 RiscPkg.*
    2 Apps.Games.!SDLThrust.!*
    3 Apps.Games.!SDLThrust.COPYING
    4 Apps.Games.!SDLThrust.SDLThrust
    5 Apps.Games.!SDLThrust.thrustrc
    6 6