# src/Makefile.am
# Is read by configure

bin_PROGRAMS = Chaos_strikes_back_for_linux
##some_name_LDADD=$(top_builddir)/src/gtksdl-0.2/libgtksdl.la

#
# FIXME: Platform specific files should go here... but I don't know if anything but linux really use this.
#
# Platform=Linux
PLATFORM_SPECIFIC = LinScreen.cpp CSBlinux.cpp LinCSBUI.cpp
#Platform = Macintosh
#PLATFORM_SPECIFIC = MacScreen.cpp
#Platform = Windows
#PLATFORM_SPECIFIC = WinScreen.cpp CSBUI.cpp


INCLUDES = \
	-I. \
	@GTK_CONFIG_CFLAGS@ \
	`$(SDL_CONFIG) --cflags` \
	@ESD_CONFIG_CFLAGS@ \
	@GLIB_CFLAGS@

LIBS = \
	@LINK_EFENCE@ \
	@LINK_HERMES@ \
	@GTK_CONFIG_LIBS@ \
	`$(SDL_CONFIG) --libs` \
	@ESD_CONFIG_CFLAGS@ \
	@GLIB_LIBS@

Chaos_strikes_back_for_linux_headers = \
	CSB.h \
	Data.h \
	Dispatch.h \
	Objects.h \
	stdafx.h \
	UI.h \
	resource.h \
	CSBTypes.h \
	LinuxFileName.inl

Chaos_strikes_back_for_linux_SOURCES = \
	$(PLATFORM_SPECIFIC) \
	AsciiDump.cpp \
	Bitmaps.cpp \
	Attack.cpp \
	CSBCode.cpp \
	Chaos.cpp \
	Character.cpp \
	Code11f52.cpp \
	Code13ea4.cpp \
	Code17818.cpp \
	Code1f9e6.cpp \
	Code222ea.cpp \
	Code390e.cpp \
	Code51a4.cpp \
	Codea59a.cpp \
	Graphics.cpp \
	Hint.cpp \
	Magic.cpp \
	Menu.cpp \
	Monster.cpp \
	Mouse.cpp \
	NewBugs.cpp \
	OldBugs.cpp \
	SaveGame.cpp \
	SmartDiscard.cpp \
	Sound.cpp \
	Stdafx.cpp \
	Timer.cpp \
	VBL.cpp \
	Viewport.cpp \
	data.cpp \
	system.cpp \
	utility.cpp \
	DSA.cpp \
	RC4.cpp \
	$(Chaos_strikes_back_for_linux_headers)
