/****************************************************************************
 * Imakefile for drawp3d/doc
 * Author Joel Welling
 * Copyright 1991, Pittsburgh Supercomputing Center, Carnegie Mellon University
 *
 * Permission use, copy, and modify this software and its documentation
 * without fee for personal use or use within your organization is hereby
 * granted, provided that the above copyright notice is preserved in all
 * copies and that that copyright and this permission notice appear in
 * supporting documentation.  Permission to redistribute this software to
 * other organizations or individuals is not granted;  that must be
 * negotiated with the PSC.  Neither the PSC nor Carnegie Mellon
 * University make any representations about the suitability of this
 * software for any purpose.  It is provided "as is" without express or
 * implied warranty.
 *****************************************************************************/
/* This installer should not have to modify this file */

CFLAGS= $(ENV_CFLAGS) $(COPTIONS) -I../

DRAWP3D= ../libdrawp3d.a

#if (WHICH_RENDERER==PAINTER_REN)
#if (sgi || _IBMR2)
LIBS = $(DRAWP3D) -lgl_s -lc_s -lsphere $(DRAWCGM) $(XLIBS) $(LIBOPTIONS)
#else
LIBS = $(DRAWP3D) $(DRAWCGM) $(XLIBS) $(LIBOPTIONS)
#endif
#else /* WHICH_RENDERER==PAINTER_REN */
#if (sgi || _IBMR2)
LIBS = $(DRAWP3D) -lgl_s -lc_s -lsphere $(LIBOPTIONS)
#else
LIBS = $(DRAWP3D) $(LIBOPTIONS)
#endif
#endif /* WHICH_RENDERER==PAINTER_REN */

CSOURCE= example_1.c example_2.c example_3.c example_4.c example_5.c \
	example_6.c example_7.c example_8.c example_9.c

FSOURCE= example_1.f example_2.f example_3.f example_4.f example_5.f \
	example_6.f example_7.f example_8.f example_9.f

DOCS= drawp3d.doc ftn_ref.doc c_ref.doc

OTHER_SOURCE= 

EXECUTABLES= example_1 example_2 example_3 example_4 example_5 example_6 \
	example_7 example_8

INSTALLABLES= 

all:: $(CSOURCE) $(FSOURCE) $(DOCS)

example_1: example_1.o
	 $(CC) -o $@ example_1.o $(LIBS)

example_2: example_2.o
	 $(CC) -o $@ example_2.o $(LIBS)

example_3: example_3.o
	 $(CC) -o $@ example_3.o $(LIBS)

example_4: example_4.o
	 $(CC) -o $@ example_4.o $(LIBS)

example_5: example_5.o
	 $(CC) -o $@ example_5.o $(LIBS)

example_6: example_6.o
	 $(CC) -o $@ example_6.o $(LIBS)

example_7: example_7.o
	 $(CC) -o $@ example_7.o $(LIBS)

example_8: example_8.o
	 $(CC) -o $@ example_8.o $(LIBS)



