/[TIS-4000 Rel T60]/scripts/buildudb
ViewVC logotype

Contents of /scripts/buildudb

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Tue Apr 10 18:56:32 2001 UTC (22 years, 5 months ago) by tis4000
Branch: MAIN
CVS Tags: SPR801, Duluth_baseline, HEAD
Changes since 1.2: +4 -5 lines
SPR 801
Do not reverence /usr/include. - zigalov

1 #!/bin/csh
2 #
3 # The "programs" directory contains all user written udb programs
4 # The "programs" directory also contains the udbStubs.c program
5 # The "tasks" directory contains all TIS4000 programs and utilities
6 # The "compilers" directory contains all required udb compilers
7 # The "headers" directory contains all the TIS4000 header files
8 #
9 #
10 #
11 set tis4000 = /tis4000 # TIS4000 Root directory
12 set tasks = $tis4000/tasks
13 set udb = $tis4000/udb # TIS4000 udb Directory Root
14 set programs = $udb/programs
15 set headers = $tasks/headers
16 # set c_headers = /usr/include
17 set c_headers = $tasks/headers
18 set compilers = $tasks/compilers/M30
19 set apple = $tis4000/apple
20 #
21 #
22 pushd $udb > /dev/console # Let's move to the proper udb directory
23 # and remember our CWD
24 #
25 $compilers/gcc -B$compilers -c -nostdinc \
26 -I$headers \
27 -I$c_headers \
28 -I$programs \
29 -DCPU=MC68030 $programs/$1.c
30 #
31 # Move the compiled sudb program into the proper ioc directory
32 #
33 'mv' $1.o $apple/$2
34 #
35 popd > /dev/console # Let's go back to the orginal working directory

  ViewVC Help
Powered by ViewVC 1.1.30