[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some help please with makefile
From: |
Billy N. Patton |
Subject: |
Some help please with makefile |
Date: |
Fri, 25 Apr 2008 06:03:36 -0500 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070221) |
I'm trying to get my makefile to work in order to convert from a cadence
database to a gds
Here are the results of my execution
game03 % make
create /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/6lm/RULE_96B5_PASS_6LM.gds
from
create /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/7lm/RULE_96B5_PASS_7LM.gds
from
create /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/8lm/RULE_96B5_PASS_8LM.gds
from
I would have thought the it should have list only the ones in the FILES
variable from the rule without 6,7,8lm
From the command line I have verified the my find is working properly
find REGRESSION -follow -maxdepth 1 -name 'RULE_*' -exec basename {} \; -exec
grep -v 'RULE_*[678]LM' {} \;
If I uncomment the rhs the 3 rules for 6lm, 7lm and 8lm work properly,
commented they don't work
${DROP_ZONE}/%.${OUTSUFFIX} : #${CADENCEDB}/%${CADSUFFUX}
I have removed a gds file from each of the 4 directories
The report should read
create /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/RULE_96B1_PASS.gds
from /data/phy_ver10/regressionData/c014/C014.M/REGRESSION/RULE_96B1_PASS
create 6lm /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/6lm/RULE_96B5_PASS_6LM.gds
from 6lm
/data/phy_ver10/regressionData/c014/C014.M/REGRESSION/RULE_96B5_PASS_6LM
create 7lm /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/7lm/RULE_96B5_PASS_7LM.gds
from 7lm
/data/phy_ver10/regressionData/c014/C014.M/REGRESSION/RULE_96B5_PASS_7LM
create 8lm /data/phy_ver10/DROP_ZONE/c014/C014.M/drc/8lm/RULE_96B5_PASS_8LM.gds
from 8lm
/data/phy_ver10/regressionData/c014/C014.M/REGRESSION/RULE_96B5_PASS_8LM
I know I still have more work to do to accomplish all the tasks written in the
comments at the beginning of the makefile
FYI
my REGRESSION data base has all RULE_* flat
my DROP_ZONE his the data more structured
DROP_ZONE/6lm/RULE_*_6LM*
DROP_ZONE/7lm/RULE_*_7LM*
DROP_ZONE/8lm/RULE_*_7LM*
DROP_ZONE/RULE_* >>>> NOT *_6LM* or *_7LM* or *_8LM*
Here is my makefile in it's entirety. ( except the pod documentation )
__BEGIN__
#######################################################################
## Purpose : 1. To control the extraction of data from cadence
## 2. Move data to the DROP_ZONE
## 3. Run regression tests against data in DROP_ZONE
## 4. create jpeg images from the gds
## Author : Billy N. Patton
##
#######################################################################
TECHNOLOGY := c014
PROCESS := C014.M
DROP_ZONE := /data/phy_ver10/DROP_ZONE/${TECHNOLOGY}/${PROCESS}/drc
CADENCEDB :=
/data/phy_ver10/regressionData/${TECHNOLOGY}/${PROCESS}/REGRESSION
PRINTF := printf
PERL := /usr/local/bin/perl
CD := cd
BSUB := /usr/local/lsf/bin/bsub
BJOBS := /usr/local/lsf/bin/bjobs
POD2TEXT := /usr/local/bin/pod2text
OUTSUFFIX := gds
CADSUFFIX := /layout/layout.cdb
CELLTORUN :=
GROUPTORUN :=
RULETORUN :=
RM := /bin/rm -rf
MV := /bin/mv
TIMESTAMP := ${shell date +%G.%m.%e_%H.%M.%S}
PVKIT := /apps/ame/bin/pvkit
FILES := ${addprefix ${DROP_ZONE}/,${addsuffix .${OUTSUFFIX},${shell
find ${CADENCEDB} -maxdepth 1 -follow -name 'RULE_*' -exec basename {} \; -exec
grep -v '.*/RULE_.*_[678]LM.*' {} \;}}}
FILES_6LM := ${addprefix ${DROP_ZONE}/6lm/,${addsuffix
.${OUTSUFFIX},${notdir ${wildcard ${CADENCEDB}/RULE_*_6LM*}}}}
FILES_7LM := ${addprefix ${DROP_ZONE}/7lm/,${addsuffix
.${OUTSUFFIX},${notdir ${wildcard ${CADENCEDB}/RULE_*_7LM*}}}}
FILES_8LM := ${addprefix ${DROP_ZONE}/8lm/,${addsuffix
.${OUTSUFFIX},${notdir ${wildcard ${CADENCEDB}/RULE_*_8LM*}}}}
all : ${FILES_6LM} ${FILES_7LM} ${FILES_8LM} ${FILES}
${DROP_ZONE}/%.${OUTSUFFIX} : #${CADENCEDB}/%${CADSUFFUX}
@echo "create $@"
@echo "from $<"
${DROP_ZONE}/6lm/%.${OUTSUFFIX} : ${CADENCEDB}/%${CADSUFFUX}
@echo "create 6lm $@"
@echo "from 6lm $<"
${DROP_ZONE}/7lm/%.${OUTSUFFIX} : ${CADENCEDB}/%${CADSUFFUX}
@echo "create 7lm $@"
@echo "from 7lm $<"
${DROP_ZONE}/8lm/%.${OUTSUFFIX} : ${CADENCEDB}/%${CADSUFFUX}
@echo "create 8lm $@"
@echo "from 8lm $<"
__END__
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Some help please with makefile,
Billy N. Patton <=