[comp.windows.x] Imakefiles for XGRAPH

andre@rodan.caltech.edu (Andre Burgoyne) (04/12/89)

I wrote some Imakefiles for the xgraph program that was recently posted on
comp.sources.x.

Andre' Burgoyne
andre@csvax.caltech.edu

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create:
#	Imakefile
#	ux11/Imakefile
#	xtb/Imakefile
# This archive created: Tue Apr 11 20:16:47 1989
export PATH; PATH=/bin:/usr/bin:$PATH
echo shar: "extracting 'Imakefile'" '(626 characters)'
if test -f 'Imakefile'
then
	echo shar: "will not over-write existing file 'Imakefile'"
else
sed 's/^X//' << \SHAR_EOF > 'Imakefile'
X       UX11_LIB = ux11
X      UX11_ARCH = $(UX11_LIB)/libux11.a
X        XTB_LIB = xtb
X       XTB_ARCH = $(XTB_LIB)/libxtb.a
X
X#define IHaveSubdirs
X#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
X
XSUBDIRS = $(UX11_LIB) $(XTB_LIB)
X
XMakeSubdirs($(SUBDIRS))
XDependSubdirs($(SUBDIRS))
X
X       INCLUDES = -I$(TOP) -I$(UX11_LIB) -I$(XTB_LIB)
X  SYS_LIBRARIES = -lm
XLOCAL_LIBRARIES = $(UX11_ARCH) $(XTB_ARCH) $(XLIB)
X
XSRCS=	xgraph.c xgX.c hard_devices.c dialog.c hpgl.c new_ps.c
XOBJS=	xgraph.o xgX.o hard_devices.o dialog.o hpgl.o new_ps.o
X
XComplexProgramTarget(xgraph)
X
Xall:: xgraph xgtest
X
XSingleProgramTarget(xgtest, xgtest.o,,)
SHAR_EOF
if test 626 -ne "`wc -c < 'Imakefile'`"
then
	echo shar: "error transmitting 'Imakefile'" '(should have been 626 characters)'
fi
fi
echo shar: "extracting 'Imakefile'" '(537 characters)'
if test -f 'Imakefile'
then
	echo shar: "will not over-write existing file 'Imakefile'"
else
sed 's/^X//' << \SHAR_EOF > 'Imakefile'
X    STD_DEFINES = LibraryDefines
X    CDEBUGFLAGS = LibraryCDebugFlags
X       INCLUDES = -I. -I$(TOP)
X
XSRCS = \
X	ux11f_watter.c		ux11_open.c \
X	ux11f_gcvals.c		ux11g_value.c		ux11s_vismap.c \
X	ux11f_hints.c		ux11n_font.c		\
X	ux11n_visual.c		ux11f_xa.c		ux11_err.c
X
XOBJS = \
X	ux11f_watter.o		ux11_open.o \
X	ux11f_gcvals.o		ux11g_value.o		ux11s_vismap.o \
X	ux11f_hints.o		ux11n_font.o		\
X	ux11n_visual.o		ux11f_xa.o		ux11_err.o
X
Xall::
X
XNormalLibraryObjectRule()
X
XNormalLibraryTarget(ux11,$(OBJS))
X
XDependTarget()
X
XNormalLintTarget($(SRCS))
SHAR_EOF
if test 537 -ne "`wc -c < 'Imakefile'`"
then
	echo shar: "error transmitting 'Imakefile'" '(should have been 537 characters)'
fi
fi
echo shar: "extracting 'Imakefile'" '(240 characters)'
if test -f 'Imakefile'
then
	echo shar: "will not over-write existing file 'Imakefile'"
else
sed 's/^X//' << \SHAR_EOF > 'Imakefile'
X    STD_DEFINES = LibraryDefines
X    CDEBUGFLAGS = LibraryCDebugFlags
X       INCLUDES = -I. -I$(TOP)
X
XSRCS = xtb.c
X
XOBJS = xtb.o
X
Xall::
X
XNormalLibraryObjectRule()
X
XNormalLibraryTarget(xtb,$(OBJS))
X
XDependTarget()
X
XNormalLintTarget($(SRCS))
SHAR_EOF
if test 240 -ne "`wc -c < 'Imakefile'`"
then
	echo shar: "error transmitting 'Imakefile'" '(should have been 240 characters)'
fi
fi
exit 0
#	End of shell archive