# build *.html files from parts *.cpp and *.shtml (partial HTML)
# reference pages are *.shtml
# the main pages are is summary.html summary_one.html
# the *.shtml are to be edited and then build _*.html
# vhdl_top.shtml contains top of *.html file
# vhdl_other.shtml contains "go to top" and links
# *.cpp pull together the files to make the *.html files
CPP=/usr/ccs/lib/cpp
all: cs411.tar \
summary_one.html summary.html \
design.html \
sequential.html \
concurrent.html \
types.html \
declare.html \
misc.html \
reserved.html \
operator.html \
attribute.html \
stdpkg.html
chmod go+rx *
rm -f *~
rm -f *.bak
chmod go+rx vhdl/*
chmod go+rx packages/*
chmod go+rx ashenden/*
chmod go+rx bruno/*
chmod go+rx IEEE/*
chmod go+rx ieee754/*
chmod go+rx p1076/*
chmod go+rx proj/*
rm -f samples/*~
rm -f samples/*.bak
chmod go+rx samples/*
chmod go+rx scalar/*
chmod go+rx cds_ic-qsr/*
chgrp -R cseeweb *
summary_one.html: summary_one.cpp summary.shtml vhdl_other.shtml \
design.shtml sequential.shtml concurrent.shtml \
types.shtml declare.shtml misc.shtml \
reserved.shtml operator.shtml attribute.shtml \
stdpkg.shtml
$(CPP) -P -C summary_one.cpp > summary_one.html
summary.html: summary.cpp summary.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C summary.cpp > summary.html
design.html: design.cpp design.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C design.cpp > design.html
sequential.html: sequential.cpp sequential.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C sequential.cpp > sequential.html
concurrent.html: concurrent.cpp concurrent.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C concurrent.cpp > concurrent.html
types.html: types.cpp types.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C types.cpp > types.html
declare.html: declare.cpp declare.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C declare.cpp > declare.html
misc.html: misc.cpp misc.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C misc.cpp > misc.html
reserved.html: reserved.cpp reserved.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C reserved.cpp > reserved.html
operator.html: operator.cpp operator.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C operator.cpp > operator.html
attribute.html: attribute.cpp attribute.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C attribute.cpp > attribute.html
stdpkg.html: stdpkg.cpp stdpkg.shtml vhdl_other.shtml vhdl_top.shtml
$(CPP) -P -C stdpkg.cpp > stdpkg.html
cs411.tar: vhdl/vhdl_cshrc vhdl/hdl.var vhdl/cds.lib \
vhdl/add32_test.vhdl vhdl/add32_test.run \
vhdl/Makefile.cadence vhdl/vhdl_lib
tar -cvf cs411.tar vhdl
clean:
rm -f *~
rm -f *.bak
rm -f junk*