summaryrefslogtreecommitdiff
path: root/games/xblast-beta/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/xblast-beta/files/patch-aa')
-rw-r--r--games/xblast-beta/files/patch-aa81
1 files changed, 81 insertions, 0 deletions
diff --git a/games/xblast-beta/files/patch-aa b/games/xblast-beta/files/patch-aa
new file mode 100644
index 000000000000..ac39c1a44b83
--- /dev/null
+++ b/games/xblast-beta/files/patch-aa
@@ -0,0 +1,81 @@
+--- Imakefile.orig Sun Sep 24 21:09:20 2000
++++ Imakefile Tue Dec 26 16:18:02 2000
+@@ -3,6 +3,10 @@
+ *
+ * $Id: Imakefile.sound,v 1.21 2000/09/24 19:03:27 xblast Exp $
+ */
++
++#define IHaveSubdirs
++SUBDIRS=bitmap image level sounds
++
+ XBLASTDIR=$(LIBDIR)/xblast
+
+ /*
+@@ -10,10 +14,10 @@
+ * (The Solaris setting is very conservative)
+ */
+ #ifdef SOLARIS
+-DEPLIBS=$(DEPXTOOLLIB) $(DEPXLIB)
++DEPLIBS1=$(DEPXTOOLLIB) $(DEPXLIB)
+ LOCAL_LIBRARIES=$(XTOOLLIB) $(XLIB) -lSM -lICE
+ #else
+-DEPLIBS=$(DEPXLIB)
++DEPLIBS1=$(DEPXLIB)
+ LOCAL_LIBRARIES=$(XLIB)
+ #endif
+
+@@ -23,9 +27,14 @@
+ # CDEBUGFLAGS=-g -O2
+ # CCOPTIONS=-ansi -Wall -pedantic
+ EXTRA_DEFINES=-DXBLASTDIR=\"$(XBLASTDIR)\" -DAPPLOADDIR=\"$(XAPPLOADDIR)\" \
+- -DDEBUG # -DDEBUG_PIXMAP
++ -DXBLAST_SOUND # -DDEBUG -DDEBUG_PIXMAP
++/*
++ * all programs to be build
++ */
++PROGRAMS=xblast xbsndsrv
++
+
+-SRCS=xblast.c util.c str_util.c intro.c introdat.c map.c sprite.c \
++SRCS1=xblast.c util.c str_util.c intro.c introdat.c map.c sprite.c \
+ color.c status.c player.c action.c bomb.c event.c image.c \
+ shrink.c func.c game.c info.c ini_file.c atom.c scramble.c \
+ demo.c debug.c \
+@@ -43,7 +52,7 @@
+ x11_common.c x11_event.c x11_atom.c x11_config.c x11_msgbox.c\
+ x11c_init.c x11c_image.c x11c_text.c x11c_tile.c x11c_sprite.c \
+ x11c_pixmap.c x11_sound.c
+-OBJS=xblast.o util.o str_util.o intro.o introdat.o map.o sprite.o \
++OBJS1=xblast.o util.o str_util.o intro.o introdat.o map.o sprite.o \
+ color.o status.o player.o bomb.o action.o event.o image.o \
+ shrink.o func.o game.o info.o ini_file.o atom.o scramble.o \
+ demo.o debug.o \
+@@ -62,5 +71,26 @@
+ x11c_init.o x11c_image.o x11c_text.o x11c_tile.o x11c_sprite.o \
+ x11c_pixmap.o x11_sound.o
+
+-AllTarget(xblast)
+-ComplexProgramTarget(xblast)
++ComplexProgramTarget_1(xblast,$(LOCAL_LIBRARIES),NullParameter)
++
++/*
++ * Part 2: rules for XBlast Sound Server
++ */
++
++/*
++ * source and object files for XBlast Sound Server
++ */
++SRCS2 = xbsndsrv.c
++OBJS2 = xbsndsrv.o
++
++NormalProgramTarget(xbsndsrv,$(OBJS2),,,)
++InstallProgram(xbsndsrv,$(BINDIR))
++
++/*
++ * Part 3: install Application Defaults
++ */
++InstallAppDefaults(XBlast)
++
++/*
++ * end of Imakefile.sound
++ */