Diff for /capa/capa51/pProj/Makefile between versions 1.6 and 1.10

version 1.6, 2000/06/27 18:28:48 version 1.10, 2000/07/07 18:33:03
Line 1 Line 1
 # ==================================================================  # ==================================================================
 #     Makefile for CAPA 5.1  #     Makefile for CAPA 5.1
 # ==================================================================  # ==================================================================
   #  Copyright (C) 1992-2000 Michigan State University
   #
   #  The CAPA system is free software; you can redistribute it and/or
   #  modify it under the terms of the GNU Library General Public License as
   #  published by the Free Software Foundation; either version 2 of the
   #  License, or (at your option) any later version.
   #
   #  The CAPA system 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
   #  Library General Public License for more details.
   #
   #  You should have received a copy of the GNU Library General Public
   #  License along with the CAPA system; see the file COPYING.  If not,
   #  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   #
   #  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 = 1
Line 18  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 49  LinuxFLAG=-g -Wall $(DEF) Line 72  LinuxFLAG=-g -Wall $(DEF)
   
 CFLAG=$($(ARCH)FLAG)  CFLAG=$($(ARCH)FLAG)
   
 PAR_SRC = capaCommon.c capaLexerFun.c capaParserFun.c capaFunction.c \  PAR_SRC = capaLexerFun.c capaParserFun.c capaFormulaParser.c capaFunction.c \
   capaParserUtils.c capaMapExpr.c capaUnit.c com.c linpack.c ranlib.c \    capaParserUtils.c capaMapExpr.c capaUnit.c com.c linpack.c ranlib.c \
           capaCgiUtils.c capaSubjective.c capaRQO.c capaFormulaLexer.c \            capaCgiUtils.c capaSubjective.c capaRQO.c capaFormulaLexer.c \
   capaFormulaParser.c $(TTH_SRC)    capaFormulaParser.c capaCommon.c $(TTH_SRC)
   
 PAR_OBJ = $(PAR_SRC:.c=.o)  PAR_OBJ = $(PAR_SRC:.c=.o)
   
 ARCH_OBJ = $(ARCH)/capaCommon.o $(ARCH)/capaLexerFun.o $(ARCH)/capaParserFun.o \  ARCH_OBJ = $(ARCH)/capaFormulaParser.o $(ARCH)/capaLexerFun.o $(ARCH)/capaParserFun.o \
    $(ARCH)/capaFunction.o $(ARCH)/capaParserUtils.o $(ARCH)/capaMapExpr.o \     $(ARCH)/capaFunction.o $(ARCH)/capaParserUtils.o $(ARCH)/capaMapExpr.o \
    $(ARCH)/capaUnit.o $(ARCH)/com.o $(ARCH)/linpack.o $(ARCH)/ranlib.o \     $(ARCH)/capaUnit.o $(ARCH)/com.o $(ARCH)/linpack.o $(ARCH)/ranlib.o \
            $(ARCH)/capaCgiUtils.o $(ARCH)/capaSubjective.o $(ARCH)/capaRQO.o \             $(ARCH)/capaCgiUtils.o $(ARCH)/capaSubjective.o $(ARCH)/capaRQO.o \
    $(ARCH)/capaFormulaLexer.o $(ARCH)/capaFormulaParser.o $(TTH_OBJ)     $(ARCH)/capaFormulaLexer.o $(ARCH)/capaCommon.o $(TTH_OBJ)
 ## ===================================================================  ## ===================================================================
   
 #  conditional macros in alpha   #  conditional macros in alpha 
Line 114  $(ARCH)/libcapa$(VER).a: $(ARCH_OBJ) $(P Line 137  $(ARCH)/libcapa$(VER).a: $(ARCH_OBJ) $(P
 binclean:  binclean:
  $(RM) $(ARCH)/*.o $(ARCH)/*.a   $(RM) $(ARCH)/*.o $(ARCH)/*.a
   
 $(ARCH)/%.o: %.c capaToken.h  $(ARCH)/%.o: %.c capaToken.h 
  $(CC) $(CFLAG) -c $< -o $@ $(DEF)   $(CC) $(CFLAG) -c $< -o $@ $(DEF)
   
 $(ARCH)/tthfunc.o: $(TTH_SRC)  $(ARCH)/tthfunc.o: $(TTH_SRC)
Line 123  $(ARCH)/tthfunc.o: $(TTH_SRC) Line 146  $(ARCH)/tthfunc.o: $(TTH_SRC)
 $(ARCH)/convert: $(ARCH)libcapa($VER).a $(ARCH)/convert.o  $(ARCH)/convert: $(ARCH)libcapa($VER).a $(ARCH)/convert.o
  $(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: capaParserFun.c  capaToken.h: capaGrammarDef.y
    $(YACC) -d $< --output=capaParserFun.c
    mv capaParserFun.h capaToken.h
   
   capaForumla.h: capaFormula.y
    $(YACC) -d $< -p fml_ --output=$@
    mv capaFormulaParser.h capaFormula.h
   
 capaParserFun.c: capaGrammarDef.y  capaParserFun.c: capaGrammarDef.y
  $(YACC) -d $< --output=$@   $(YACC) -d $< --output=$@
Line 134  capaLexerFun.c: capaLexerDef.flex capaTo Line 163  capaLexerFun.c: capaLexerDef.flex capaTo
   
 capaFormulaParser.c: capaFormula.y  capaFormulaParser.c: capaFormula.y
  $(YACC) -d $< -p fml_ --output=$@   $(YACC) -d $< -p fml_ --output=$@
    mv capaFormulaParser.h capaFormula.h
   
 clean:  clean:
  rm -f $(ARCH)/*.o   rm -f $(ARCH)/*.o
  rm -f $(ARCH)/libcapa$(VER).a   rm -f $(ARCH)/libcapa$(VER).a
  rm -f capaToken.h   rm -f capaToken.h capaParserFun.c capaLexerFun.c capaFormula.h \
  rm -f capaParserFun.c   capaFormulaParser.c
  rm -f capaLexerFun.c  
   

Removed from v.1.6  
changed lines
  Added in v.1.10


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>