#
#       Imakefile for the AthenaTools Plotter Widget Set V6.0
#

# Set the following as desired.

# Where to put At include files and library...
ATDIR = ../../../qusage/plotter-6.0pl7/At
ATDEST = .

INSTALLFLAGS = $(INSTINCFLAGS)

# Define this if your C library is missing strcasecmp and strncasecmp.
/*#define NEED_STRCASECMP*/

# Other cpp defines.
#
# DEBUG enables checking of widget classes passed to member functions etc.
#       This should probably be left defined
#
# TRACE gives verbose output of the decision making to stderr.
#       And I mean verbose.  Don't define it!
#
# USE_SMALLER_FONTS for changing font selection algorithm to use smaller fonts.
#
# DFLT_FONTFAMILY=\"font_family\" for using another font family
#       than the  default family "new century schoolbook".
DEFINES = -DUSE_SMALLER_FONTS -DDFLT_FONTFAMILY=\"helvetica\" -DAFMPATH=$(AFMPATH)

# Where to look for the header files while building
EXTRA_INCLUDES = -I.

#################################################################
#
#  You shouldn't need to edit from here on
#
#################################################################

all:: libAt.a

# Header files for the library.
HDRS = \
	At.h\
	AxisCore.h\
	AxisCoreP.h\
	FrameAxis.h\
	FrameAxisP.h\
	Axis.h\
	AxisP.h\
	LabelAxis.h\
	LabelAxisP.h\
	XYAxis.h\
	XYAxisP.h\
	Plot.h\
	PlotP.h\
	SPlot.h\
	SPlotP.h\
	LinePlot.h\
	LinePlotP.h\
	BarPlot.h\
	BarPlotP.h\
	XYPlot.h\
	XYPlotP.h\
	XYLinePlot.h\
	XYLinePlotP.h\
	TextPlot.h\
	TextPlotP.h\
	Plotter.h\
	PlotterP.h\
	Scale.h\
	Shading.h\
	FontFamily.h\
	FontFamilyP.h\
	Text.h\
	AtConverters.h\
	patchlevel.h

#ifdef NEED_STRCASECMP
STRCASECMP_C = strcasecmp.c
STRCASECMP_O = strcasecmp.o
#endif

SRCS = \
	AtConverters.c\
	AxisCore.c\
	FrameAxis.c\
	Axis.c\
	LabelAxis.c\
	XYAxis.c\
	Plot.c\
	SPlot.c\
	LinePlot.c\
	BarPlot.c\
	XYPlot.c\
	XYLinePlot.c\
	TextPlot.c\
	Plotter.c\
	Scale.c\
	Shading.c\
	FontFamily.c\
	Text.c\
	PlotterPS.c\
	TextPS.c\
	FontFamilyPS.c\
	$(STRCASECMP_C)

OBJS = \
	AtConverters.o\
	AxisCore.o\
	FrameAxis.o\
	Axis.o\
	LabelAxis.o\
	XYAxis.o\
	Plot.o\
	SPlot.o\
	LinePlot.o\
	BarPlot.o\
	XYPlot.o\
	XYLinePlot.o\
	TextPlot.o\
	Plotter.o\
	Scale.o\
	Shading.o\
	FontFamily.o\
	Text.o\
	PlotterPS.o\
	TextPS.o\
	FontFamilyPS.o\
	$(STRCASECMP_O)

#################################################################
#
# Rules for library build.
#
#################################################################

depend:: $(SRCS)

LinkSourceFile(AtConverters.c, $(ATDIR))
LinkSourceFile(AxisCore.c, $(ATDIR))
LinkSourceFile(FrameAxis.c, $(ATDIR))
LinkSourceFile(Axis.c, $(ATDIR))
LinkSourceFile(LabelAxis.c, $(ATDIR))
LinkSourceFile(XYAxis.c, $(ATDIR))
LinkSourceFile(Plot.c, $(ATDIR))
LinkSourceFile(SPlot.c, $(ATDIR))
LinkSourceFile(LinePlot.c, $(ATDIR))
LinkSourceFile(BarPlot.c, $(ATDIR))
LinkSourceFile(XYPlot.c, $(ATDIR))
LinkSourceFile(XYLinePlot.c, $(ATDIR))
LinkSourceFile(TextPlot.c, $(ATDIR))
LinkSourceFile(Plotter.c, $(ATDIR))
LinkSourceFile(Scale.c, $(ATDIR))
LinkSourceFile(Shading.c, $(ATDIR))
LinkSourceFile(FontFamily.c, $(ATDIR))
LinkSourceFile(Text.c, $(ATDIR))
LinkSourceFile(PlotterPS.c, $(ATDIR))
LinkSourceFile(TextPS.c, $(ATDIR))
LinkSourceFile(FontFamilyPS.c, $(ATDIR))

NormalLibraryTarget(At,$(OBJS))

#################################################################
#
# Rule for makedepend
#
#################################################################

DependTarget()

CleanTarget()

#
#       End of Imakefile
#
