/* 
 * Program XBLAST V2.2 
 * 1993-1996 (C) by Oliver Vogel (e-mail: vogel@ikp.uni-koeln.de)
 *
 * File: Imakefile
 * December 9th, 1996
 * started August 1993
 */

/*
 * common part 
 */

#define IHaveSubdirs
SUBDIRS=sounds

XBLASTDIR=$(LIBDIR)/xblast
SOUNDDIR=$(XBLASTDIR)/sounds

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

/*
 * 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  = graphics.c main.c maze.c sprite.c block.c expl.c score.c intro.c \
	status.c setup.c data.c func.c info.c event.c shrink.c pipe.c  \
	map.c bomb.c sound.c	
OBJS1  = graphics.o main.o maze.o sprite.o block.o expl.o  score.o intro.o \
	status.o setup.o data.o func.o info.o event.o shrink.o pipe.o  \
	map.o bomb.o sound.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 Applciation Defaults
 */
InstallAppDefaults(XBlast)

/*
 * end of Imakefile.sound
 */





