Diff for /capa/capa51/pProj/Makefile between versions 1.7 and 1.21

version 1.7, 2000/06/30 21:36:16 version 1.21, 2001/07/02 19:44:23
Line 4 Line 4
 #  Copyright (C) 1992-2000 Michigan State University  #  Copyright (C) 1992-2000 Michigan State University
 #  #
 #  The CAPA system is free software; you can redistribute it and/or  #  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  #  modify it under the terms of the GNU General Public License as
 #  published by the Free Software Foundation; either version 2 of the  #  published by the Free Software Foundation; either version 2 of the
 #  License, or (at your option) any later version.  #  License, or (at your option) any later version.
 #  #
 #  The CAPA system is distributed in the hope that it will be useful,  #  The CAPA system is distributed in the hope that it will be useful,
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of  #  but WITHOUT ANY WARRANTY; without even the implied warranty of
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 #  Library General Public License for more details.  #  General Public License for more details.
 #  #
 #  You should have received a copy of the GNU Library General Public  #  You should have received a copy of the GNU 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 = 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 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)
   LONCAPA =
 Linux = /usr/lib/libncurses.a   Linux = /usr/lib/libncurses.a 
 OSF1 = -lcurses #-ltermcap  OSF1 = -lcurses #-ltermcap
 SunOS = /home/capa/source/lib/libncurses.a  SunOS = /home/capa/source/lib/libncurses.a
Line 56  P_FLAGS =  -ll -lm Line 63  P_FLAGS =  -ll -lm
   
 S_FLAGS =  $($(ARCH)) $(P_FLAGS)  S_FLAGS =  $($(ARCH)) $(P_FLAGS)
   
   LONCAPAFLAG = -DLONCAPA -fPIC -Dbool=char -DHAS_BOOL -D_REENTRANT
 OSF1FLAG = -O3 -Olimit 2048  OSF1FLAG = -O3 -Olimit 2048
 AIXFLAG=-O3 -DAIX $(DEF)  AIXFLAG=-O3 -DAIX $(DEF)
 NEXTSTEPFLAG=-arch i386 -arch m68k $(DEF)  NEXTSTEPFLAG=-arch i386 -arch m68k $(DEF)
 SunOSFLAG=-xO3 $(DEF)  SunOSFLAG=-xO3 $(DEF)
 HP-UXFLAG=-O -Ae -Dhpux $(DEF)  HP-UXFLAG=-O -Ae -Dhpux $(DEF)
 IRIXFLAG=-O2 -DIRIX $(DEF)  IRIXFLAG=-O2 -DIRIX $(DEF)
 LinuxFLAG=-g -Wall $(DEF)  LinuxFLAG=-O2 -Wall $(DEF)
   
 CFLAG=$($(ARCH)FLAG)  CFLAG=$($(ARCH)FLAG)
   
Line 125  $(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 141  $(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=$@   $(YACC) -d $< --output=capaParserFun.c
  mv capaParserFun.h capaToken.h   mv capaParserFun.h capaToken.h
   
 capaForumla.h: capaFormula.y  capaForumla.h: capaFormula.y

Removed from v.1.7  
changed lines
  Added in v.1.21


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