# Imakefile for AthenaTools Moitif 1.1.* library on Project Athena

# Destination directories for the library, include files, and man
# pages.  These should be changed to the directories where you
# want to install the plotter widget library, include files, and man
# pages. 

#if defined(MipsArchitecture)
MACHINE = decmips
PROTO = -D_NO_PROTO
CDEBUGFLAGS = 	-g
#endif
#include "../../Imake.cds"
CC = acc
ATLIBDIR =	/mit/atdev/$(MACHINE)lib
ATINCDIR =	/mit/atdev/include
ATMANDIR =	/mit/atdev/man

# Cpp define for the font metrics path.  This should be changed to the
# path to the Postscript font metrics files on your system.  Don't get
# rid of the quoted "s -- they're very important!

AFMPATH =	\"/usr/athena/lib/ps\"

INCLUDES = 	-I. -I/usr/tmp/joe/cds/motif
DEFINES	= 	-D_AtDevelopment_ -DAFMPATH=$(AFMPATH) -DX11R4_INTRINSICS\
$(PROTO)
TOP_INCLUDES =

# Header files for the library.

HEADERS = \
	FontFamily.h\
	FontFamilyP.h\
	Text.h\
	Label.h\
	LabelP.h\
	Plotter.h\
	PlotterP.h\
	Axis.h\
	AxisP.h\
	Plot.h\
	PlotP.h\
	XYPlot.h\
	XYPlotP.h\
	Scale.h\
	TextPlot.h\
	TextPlotP.h\
	Barchart.h\
	BarchartP.h\
	XYErrorPlot.h\
	XYErrorPlotP.h\
	ContourPlot.h\
	ContourPlotP.h\
	Layout.h\
	LayoutP.h\
	Help.h\
	HelpP.h\
	dialog.h\
	MuMenu.h\
	MuMenuP.h\
	AtConverters.h\
	Parameter.h\
	ParameterP.h\
	Cli.h\
	CliP.h\
	MessgeLine.h\
	MessageLineP.h\
	Help.h\
	HelpP.h\
	dialog.h

# Source files in the library.

SRCS = \
	FontFamily.c\
	FontFamilyPS.c\
	Text.c\
	TextPS.c\
	Label.c\
	Plotter.c\
	PlotterPS.c\
	Axis.c\
	AxisPS.c\
	Plot.c\
	XYPlot.c\
	Scale.c\
	TextPlot.c\
	Barchart.c\
	FBarchart.c\
	XYErrorPlot.c\
	ContourPlot.c\
	Layout.c\
	Help.c\
	dialog.c\
	MuMenu.c\
	AtConverters.c\
	Parameter.c\
	Cli.c\
	MessageLine.c\

# Object files for the library.

OBJS = \
	FontFamily.o\
	FontFamilyPS.o\
	Text.o\
	TextPS.o\
	Label.o\
	Plotter.o\
	PlotterPS.o\
	Axis.o\
	AxisPS.o\
	Plot.o\
	XYPlot.o\
	Scale.o\
	TextPlot.o\
	Barchart.o\
	FBarchart.o\
	XYErrorPlot.o\
	ContourPlot.o\
	Layout.o\
	Help.o\
	dialog.o\
	MuMenu.o\
	AtConverters.o\
	Parameter.o\
	Cli.o\
	MessageLine.o



# Rules for library build.

NormalLibraryObjectRule()
NormalLibraryTarget(At,$(OBJS))

MakeDirectories(install, $(ATLIBDIR))

install::
	-mv $(ATLIBDIR)/libAt.a $(ATLIBDIR)/libAt.old.a
	-mv $(ATLIBDIR)/libAt_d.a $(ATLIBDIR)/libAt_d.old.a

InstallLibrary(At, $(ATLIBDIR))
InstallLibrary(At_d, $(ATLIBDIR))



# Rule for makedepend

DependTarget()


