AM_CPPFLAGS = -I$(top_srcdir)/headers -I$(top_srcdir) -I$(top_srcdir)/files \
	-I$(top_srcdir)/imagewin -I$(top_srcdir)/audio -I$(top_srcdir)/shapes/shapeinf \
	-I$(top_srcdir)/data -I$(top_srcdir)/usecode -I$(top_srcdir)/objs \
	$(SDL_CFLAGS) $(PNG_CFLAGS) $(FREETYPE2_INCLUDES) \
	$(INCDIRS) $(WINDOWING_SYSTEM) $(DEBUG_LEVEL) $(OPT_LEVEL) $(WARNINGS) $(CPPFLAGS)

if BUILD_SHAPES
SUBDIRS = shapeinf
else
SUBDIRS =
endif

noinst_LTLIBRARIES = libshapes.la

libshapes_la_SOURCES = \
	pngio.cc \
	pngio.h \
	vgafile.cc \
	vgafile.h

if BUILD_SHAPES
libshapes_la_SOURCES += \
	baseinf.h \
	data_utils.h \
	font.cc \
	font.h \
	fontgen.cc \
	fontgen.h \
	fontvga.cc \
	fontvga.h \
	items.cc \
	items.h \
	miscinf.cc \
	miscinf.h \
	ready.h \
	shapeinf.cc \
	shapeinf.h \
	shapevga.cc \
	shapevga.h \
	shapewrite.cc \
	u7drag.cc \
	u7drag.h
endif

CLEANFILES = *~
