This commit is contained in:
Ludovic Jacomme 2002-04-10 12:51:32 +00:00
parent 0eaa1b6b96
commit a7f31fec2c
2 changed files with 0 additions and 107 deletions

View File

@ -1,53 +0,0 @@
include $(ALLIANCE_TOP)/etc/$(ALLIANCE_OS).mk
include $(ALLIANCE_TOP)/etc/libraries.mk
#TARGET_LIB = $(HOME)/dev/archi/$(ALLIANCE_OS)/lib
#TARGET_INCLUDE = $(HOME)/dev/archi/$(ALLIANCE_OS)/lib
LOCAL_INC = ../include
LOCAL_CFLAGS = $(CFLAGS) -c -g
LOCAL_CPPFLAGS = $(CPPFLAGS) -I$(LOCAL_INC) \
-I$(ALLIANCE_INCLUDE) \
-DMUT_H='<$(MUT_H)>' \
-DBEH_H='<$(BEH_H)>' \
-DBHL_H='<$(BHL_H)>' \
-DBVL_H='<bvl114.h>' \
-DLOG_H='<$(LOG_H)>'
LOCAL_YACCFLAGS = $(YACCFLAGS) -d
LOCAL_LEXFLAGS = $(LEXFLAGS)
LOCAL_ARFLAGS = $(ARFLAGS)
LOCAL_OBJECTS = bvl_globals.o bvl_parse.o bvl_drive.o \
bvl_util.o bvl_yac.o bvl_lex.o
.c.o :
$(CC) $(LOCAL_CFLAGS) $(LOCAL_CPPFLAGS) $<
$(TARGET_LIB)/libBvl114.a : $(LOCAL_OBJECTS)
$(CP) $(LOCAL_INC)/bvl114.h $(TARGET_INCLUDE)
$(AR) $(LOCAL_ARFLAGS) $(TARGET_LIB)/libBvl114.a $(LOCAL_OBJECTS)
-$(RANLIB) $(TARGET_LIB)/libBvl114.a
bvl_lex.c : bvl_bcomp.lex bvl_yac.c
$(LEX) $(LOCAL_LEXFLAGS) bvl_bcomp.lex
$(SED) -e 's/YY/BVL_Y_/g' -e 's/yy/bvl_y_/g' lex.yy.c > bvl_lex.c
$(RM) lex.yy.c
bvl_yac.c : bvl_bcomp.yac
$(YACC) $(LOCAL_YACCFLAGS) bvl_bcomp.yac
$(SED) -e 's/YY/BVL_Y_/g' -e 's/yy/bvl_y_/g' y.tab.c > bvl_yac.c
$(RM) y.tab.c
$(SED) -e 's/YY/BVL_Y_/g' -e 's/yy/bvl_y_/g' y.tab.h > bvl_yac.h
$(RM) y.tab.h
distrib : $(TARGET_LIB)/libBvl114.a
clean :
$(RM) -f bvl_yac.h bvl_yac.c bvl_lex.c
$(RM) -f $(LOCAL_OBJECTS)
realclean : clean
$(RM) -f $(TARGET_LIB)/libBvl114.a $(TARGET_INCLUDE)/bvl114.h

View File

@ -1,54 +0,0 @@
#
# This file is part of the Alliance CAD System
# Copyright (C) Laboratoire LIP6 - Département ASIM
# Universite Pierre et Marie Curie
#
# Home page : http://www-asim.lip6.fr/alliance/
# E-mail support : mailto:alliance-support@asim.lip6.fr
#
# This progam 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.
#
# Alliance VLSI CAD 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 General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with the GNU C Library; see the file COPYING. If not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
include $(ALLIANCE_TOP)/etc/$(ALLIANCE_OS).mk
include $(ALLIANCE_TOP)/etc/libraries.mk
#TARGET_LIB = ../../../archi/$(ALLIANCE_OS)/lib
#TARGET_INCLUDE = ../../../archi/$(ALLIANCE_OS)/include
LOCAL_INC = ../include
LOCAL_CFLAGS = $(CFLAGS) -c -g
LOCAL_CPPFLAGS = $(CPPFLAGS) -I$(LOCAL_INC) -I$(ALLIANCE_INCLUDE) \
-DPAT_H='<pat109.h>' \
-DPHL_H='<phl109.h>' \
-DMUT_H='<$(MUT_H)>'
LOCAL_OBJECTS = pat_debug.o pat_getusage.o
.c.o :
$(CC) $(LOCAL_CFLAGS) $(LOCAL_CPPFLAGS) $<
$(TARGET_LIB)/libPhl109.a : $(LOCAL_OBJECTS)
@$(CP) $(LOCAL_INC)/phl109.h $(TARGET_INCLUDE)
$(AR) $(ARFLAGS) $(TARGET_LIB)/libPhl109.a $(LOCAL_OBJECTS)
-$(RANLIB) $(TARGET_LIB)/libPhl109.a
distrib : $(TARGET_LIB)/libPhl109.a
clean :
$(RM) -f $(LOCAL_OBJECTS)
realclean : clean
$(RM) -f $(TARGET_LIB)/libPhl109.a $(TARGET_INCLUDE)/phl109.h