/* 
 * Program XBLAST V2.5.5 
 * 1993-1997 (C) by Oliver Vogel (e-mail: vogel@ikp.uni-koeln.de)
 *
 * File: Imakefile
 * March 28th, 1997
 * started August 1993
 */

/*
 * common part 
 */

#define IHaveSubdirs
SUBDIRS=bitmap image sounds

XBLASTDIR=$(LIBDIR)/xblast
/*
 * If you want to have sound, comment the following line
 * Set SOUND_DIR to the directory, where the sounds can be found
 */
EXTRA_DEFINES=-DXBLASTDIR=\"$(XBLASTDIR)\" -DXBLAST_SOUND 

/*
 * all programs to be build
 */
PROGRAMS=xblast xbsndsrv

/*
 * Part 1: rules for  XBlast
 */

/*
 * Libraries needed for XBlast 
 * (The Solaris setting is very conservative)
 */
#ifdef SOLARIS
DEPLIBS1=$(DEPXTOOLLIB) $(DEPXLIB)
XBLAST_LIBRARIES=$(XTOOLLIB) $(XLIB) -lSM -lICE
#else
DEPLIBS1=$(DEPXLIB)
XBLAST_LIBRARIES=$(XLIB)
#endif

/*
 * source and object files for XBlast
 */
SRCS1 = bomb.c data.c demo.c event.c func.c graphics.c image.c info.c intro.c \
	main.c map.c maze.c mystring.c player.c pipe.c setup.c shrink.c sound.c \
	sprite.c status.c util.c 
OBJS1 = bomb.o data.o demo.o event.o func.o graphics.o image.o info.o intro.o \
	main.o map.o maze.o mystring.o player.o pipe.o setup.o shrink.o sound.o \
	sprite.o status.o util.o 

ComplexProgramTarget_1(xblast,$(XBLAST_LIBRARIES),NullParameter)


/*
 * Part 2: rules for  XBlast Sound Server
 */

/*
 * source and object files for XBlast Sound Server
 */
SRCS2  = xbsndsrv.c
OBJS2  = xbsndsrv.o

ComplexProgramTarget_2(xbsndsrv,NullParameter,NullParameter)

/*
 * Part 3: install Application Defaults
 */
InstallAppDefaults(XBlast)

/*
 * end of Imakefile.sound
 */





