version 1.7, 2000/06/30 21:36:16
|
version 1.11, 2000/07/14 19:22:50
|
Line 16
|
Line 16
|
# You should have received a copy of the GNU Library General Public |
# You should have received a copy of the GNU Library General Public |
# License along with the CAPA system; see the file COPYING. If not, |
# License along with the CAPA system; see the file COPYING. If not, |
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
# |
# Boston, MA 02111-1307, USA. |
# Boston, MA 02111-1307, USA. |
|
# As a special exception, you have permission to link this program |
|
# with the TtH/TtM library and distribute executables, as long as you |
|
# follow the requirements of the GNU GPL in regard to all of the |
|
# software in the executable aside from TtH/TtM. |
|
|
|
|
|
|
VER = 5.1 |
VER = 5.1 |
BUGFIX = 1 |
BUGFIX = 2 |
#CC = i486-linuxlibc1-gcc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y'`\" |
#CC = i486-linuxlibc1-gcc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y'`\" |
CC = cc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y-%H:%M'`\" |
CC = cc -DCAPA_VER=\"$(VER).$(BUGFIX)\" -DCOMPILE_DATE=\"`date +'%b-%d-%Y-%H:%M'`\" |
DEF = -DUSE_DYNAMIC_SYMBOLS $(TTH_DEF) #-DLEX_DBUG |
DEF = -DUSE_DYNAMIC_SYMBOLS $(TTH_DEF) #-DLEX_DBUG |
Line 35 LEXFLAG = -v
|
Line 41 LEXFLAG = -v
|
|
|
# OSF1, SunOS, Linux, NEXTSTEP, HP-UX, IRIX |
# OSF1, SunOS, Linux, NEXTSTEP, HP-UX, IRIX |
|
|
#TTH_SRC= |
TTH_SRC= |
TTH_SRC=../../tth/tthdynamic/tthfunc.c |
#TTH_SRC=../../tth/tthdynamic/tthfunc.c |
#TTH_OBJ= |
TTH_OBJ= |
TTH_OBJ=$(ARCH)/tthfunc.o |
#TTH_OBJ=$(ARCH)/tthfunc.o |
#TTH_DEF= |
TTH_DEF= |
TTH_DEF=-DTTH |
#TTH_DEF=-DTTH |
|
|
ARCH = $(shell uname) |
ARCH = $(shell uname) |
Linux = /usr/lib/libncurses.a |
Linux = /usr/lib/libncurses.a |
Line 141 $(ARCH)/convert: $(ARCH)libcapa($VER).a
|
Line 147 $(ARCH)/convert: $(ARCH)libcapa($VER).a
|
$(CC) $(CFLAG) $(DEF) -o $@ $(ARCH)/convert.o -L$(ARCH) -lcapa$(VER) $(P_FLAGS) |
$(CC) $(CFLAG) $(DEF) -o $@ $(ARCH)/convert.o -L$(ARCH) -lcapa$(VER) $(P_FLAGS) |
|
|
capaToken.h: capaGrammarDef.y |
capaToken.h: capaGrammarDef.y |
$(YACC) -d $< --output=$@ |
$(YACC) -d $< --output=capaParserFun.c |
mv capaParserFun.h capaToken.h |
mv capaParserFun.h capaToken.h |
|
|
capaForumla.h: capaFormula.y |
capaForumla.h: capaFormula.y |