/* Imakefile for Xconq kernel. */

/* Prevent unix.o -> 1.o mapping by cpp. */

#ifdef unix
#undef unix
#endif

#include "../Local.config"

DEFINES = -DUNIX -DXCONQDATA=\"$(DATADIR)\"

INCLUDES = -I. -I../kernel

CONQLOW_LIBRARIES = ../kernel/libconqlow.a

CONQ_LIBRARIES = ../kernel/libconq.a $(CONQLOW_LIBRARIES)

OBJS = \
	init.o \
	cmdline.o \
	ai.o \
	mplayer.o \
	actions.o \
	move.o \
	combat.o \
	run.o \
	run2.o \
	supply.o \
	score.o \
	world.o \
	history.o \
	module.o \
	write.o \
	read.o \
	read2.o \
	mkterr.o \
	mkunits.o \
	mkrivers.o \
	mkroads.o \
	mknames.o \
	side.o \
	unit.o \
	plan.o \
	task.o \
	nlang.o \
	ui.o \
	cmd.o \
	ps.o \
	tp.o \
	obstack.o \
	help.o \
	copying.o

LOBJS = \
	imf.o \
	lisp.o \
	util.o \
	unix.o

GOBJS =	generic.o \
	types.o \
	tables.o

CONQOBJS = $(OBJS) $(GOBJS)

NormalLibraryTarget(conq,$(CONQOBJS))

NormalLibraryTarget(conqlow,$(LOBJS))

NormalProgramTarget(skelconq, skelconq.o, $(CONQ_LIBRARIES), $(CONQ_LIBRARIES), )

NormalProgramTarget(imf2imf, imf2imf.o, $(CONQLOW_LIBRARIES), $(CONQLOW_LIBRARIES), )
