version 1.18, 2000/09/14 21:01:17
|
version 1.23, 2010/05/11 01:38:41
|
Line 26
|
Line 26
|
|
|
|
|
VER = 5.1 |
VER = 5.1 |
BUGFIX = 4 |
BUGFIX = 6 |
#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 59 HP-UX = -lcurses -ltermcap
|
Line 59 HP-UX = -lcurses -ltermcap
|
IRIX = -lcurses -ltermcap |
IRIX = -lcurses -ltermcap |
FreeBSD = -lncurses -ltermcap |
FreeBSD = -lncurses -ltermcap |
|
|
P_FLAGS = -ll -lm |
P_FLAGS = -lfl -lm |
|
|
S_FLAGS = $($(ARCH)) $(P_FLAGS) |
S_FLAGS = $($(ARCH)) $(P_FLAGS) |
|
|
Line 133 $(ARCH)/qzparse: qzparse.c $(ARCH)/libca
|
Line 133 $(ARCH)/qzparse: qzparse.c $(ARCH)/libca
|
qzparse: $(ARCH)/qzparse |
qzparse: $(ARCH)/qzparse |
true |
true |
|
|
$(ARCH)/libcapa$(VER).a: $(ARCH_OBJ) $(PAR_SRC) |
$(ARCH)/libcapa$(VER).a: $(ARCH) $(ARCH_OBJ) $(PAR_SRC) |
$(AR) r $(ARCH)/libcapa$(VER).a $(ARCH_OBJ) |
$(AR) r $(ARCH)/libcapa$(VER).a $(ARCH_OBJ) |
|
|
binclean: |
binclean: |
Line 149 $(ARCH)/convert: $(ARCH)libcapa($VER).a
|
Line 149 $(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=capaParserFun.c |
$(YACC) -y -d $< --output=capaParserFun.c |
mv capaParserFun.h capaToken.h |
mv capaParserFun.h capaToken.h |
|
|
capaForumla.h: capaFormula.y |
capaForumla.h: capaFormula.y |
$(YACC) -d $< -p fml_ --output=$@ |
$(YACC) -y -d $< -p fml_ --output=$@ |
mv capaFormulaParser.h capaFormula.h |
mv capaFormulaParser.h capaFormula.h |
|
|
capaParserFun.c: capaGrammarDef.y |
capaParserFun.c: capaGrammarDef.y |
$(YACC) -d $< --output=$@ |
$(YACC) -y -d $< --output=$@ |
mv capaParserFun.h capaToken.h |
mv capaParserFun.h capaToken.h |
|
|
capaLexerFun.c: capaLexerDef.flex capaToken.h |
capaLexerFun.c: capaLexerDef.flex capaToken.h |
$(LEX) -o$@ $< |
$(LEX) -o$@ $< |
|
|
capaFormulaParser.c: capaFormula.y |
capaFormulaParser.c: capaFormula.y |
$(YACC) -d $< -p fml_ --output=$@ |
$(YACC) -y -d $< -p fml_ --output=$@ |
mv capaFormulaParser.h capaFormula.h |
mv capaFormulaParser.h capaFormula.h |
|
|
clean: |
clean: |