home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
pc.louisiana.edu/pub/unix/
/
Louisiana_UNIX.tar
/
Louisiana_UNIX
/
xspread3.0.zoo
/
Imakefile.dist
< prev
next >
Wrap
Text File
|
1994-08-18
|
3KB
|
89 lines
/*
* Copyright (C) 1992 Board of Regents of the University of Wisconsin
* on behalf of the Department of Electrical Engineering and Computer
* Science, University of Wisconsin-Milwaukee, Milwaukee, WI 53201.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* The programs in this directory were developed by software engineering
* teams as part of the course "Introduction to Software Engineering"
* under the supervision of Professor G. Davida.
* This is a modification of a program written or modified by
* others. The original copyrights, as per GNU General Public License,
* may still be applicable. The UWM copyright is applicable only
* the those parts generated at UWM.
*
* Please send all changes, enhancements, and other comments about this
* software to
* soft-eng@cs.uwm.edu
*
* No Warranty, expressed or implied, comes with this software.
* This software is intended to be used by not-for-profit
* organizations or by individuals for personal HOME use.
* This software, or any of its parts, may not be used by for-profit
* organization, regardless of application or intended product or
* customer, without the permission of the Board of Regents of the
* University of Wisconsin is strictly forbidden.
*
* Contact: soft-eng@cs.uwm.edu
* or
*
* Software Engineering Coordinator
* Computer Science
* Department of EECS
* University of Wisconsin - Milwaukee
* Milwaukee, WI 53201
* 414-229-4677
*
* HISTORY,CLAIMS and CONTRIBUTIONS
*/
# I use the latest gcc to find bugs..
#CC=gcc2.3.3
CC=gcc
# All of the source files
# psc.c - Convert ascii input to SC/XSpread format.
SRCS = cmds.c crypt.c format.c gram.c graphic_main.c help.c interp.c lex.c \
matrix.c plot_XY.c plot_bar.c plot_line.c plot_pie.c plot_stk_bar.c \
sc.c range.c screen.c scXstuff.c utils.c vi.c vmtbl.c xmalloc.c \
version.c
OBJS = cmds.o crypt.o format.o gram.o graphic_main.o help.o interp.o lex.o \
matrix.o plot_XY.o plot_bar.o plot_line.o plot_pie.o plot_stk_bar.o \
sc.o range.o screen.o scXstuff.o utils.o vi.o vmtbl.o xmalloc.o \
version.o
HDRS = config.h experres.h graphic_gvar.h pattern.h plot.h sc.h scXstuff.h \
statres.h y.tab.h
# For OSF(DEC Alpha things) add -ldnet_stub
EXTRA_LIBRARIES = $(XLIB) -lm
DEPEND=$(HDRS)
ComplexProgramTarget(xspread)
SpecialObjectRule($(OBJS).o, $(DEPEND), $(LOCAL_DEFINES))
InstallProgram(xspread,$(BINDIR))
InstallManPage(xspread,$(MANDIR))
gram.o: sc.h y.tab.h gram.c
$(CC) ${CFLAGS} -c gram.c
sed<gram.y >experres.h -f eres.sed;sed < gram.y > statres.h -f sres.sed
gram.c: gram.y
$(YACC) -d gram.y; mv y.tab.c gram.c