correction.
[AROS-Ports.git] / game / interlogic / mmakefile.src
blobdb191c1f5fbfcfdd79eb6bfc1bf985c9215010eb
1 # $Id$
3 include $(SRCDIR)/config/aros-contrib.cfg
5 #MM- ports-game : ports-game-interlogic
7 #MM- ports-game-interlogic : includes linklibs contrib-sdl \
8 #MM  contrib-sdl-sdl-image contrib-sdl-sdl-mixer ports-game-interlogic-cpy \
9 #MM  ports-game-interlogic-fetch
11 #MM- ports-game-interlogic-quick : ports-game-interlogic-fetch
13 REPOSITORIES := sf://interlogic
14 ARCHBASE     := interLOGIC-src-0.30
15 TARGETDIR    := $(AROS_CONTRIB)/Games/Puzzle/InterLogic
16 SDL_PREFIX   := $(AROS_DEVELOPER)
18 NOWARN_FLAGS := $(NOWARN_MISLEADING_INDENTATION) $(NOWARN_DISCARDED_QUALIFIERS)
19 USER_CFLAGS  := $(NOWARN_FLAGS) $(shell $(SDL_PREFIX)/bin/sdl-config --prefix=$(SDL_PREFIX) --cflags)
20 USER_INCLUDES:= -I$(AROS_CONTRIB_INCLUDES)
21 USER_LDFLAGS := -L$(AROS_CONTRIB_LIB)
23 ifneq ("","$(strip $(WARN_ERROR))")
24 CONFIG_CFLAGS := $(subst $(WARN_ERROR),,$(CONFIG_CFLAGS))
25 endif
27 FILES := \
28     $(PORTSDIR)/interlogic/interlogic/src/password \
29     $(PORTSDIR)/interlogic/interlogic/src/credits \
30     $(PORTSDIR)/interlogic/interlogic/src/levels \
31     $(PORTSDIR)/interlogic/interlogic/src/splash \
32     $(PORTSDIR)/interlogic/interlogic/src/interlogic \
33     $(PORTSDIR)/interlogic/interlogic/src/mainmenu
35 %build_prog mmake=ports-game-interlogic progname=InterLogic \
36     files=$(FILES) targetdir=$(TARGETDIR) \
37     uselibs="SDL_image png jpeg SDL_mixer vorbisfile vorbis ogg SDL z"
39 %fetch mmake=ports-game-interlogic-fetch archive=$(ARCHBASE) destination=$(PORTSDIR)/interlogic \
40     location=$(PORTSSOURCEDIR) archive_origins=$(REPOSITORIES) suffixes="tar.gz"
42 CPYFILES := README
44 %copy_files_q mmake=ports-game-interlogic-cpy files=$(CPYFILES) src=$(PORTSDIR)/interlogic/interlogic \
45     dst=$(TARGETDIR)
47 %common