/[eiffelstudio]/trunk/Delivery/scripts/unix/compile_libraries
ViewVC logotype

Contents of /trunk/Delivery/scripts/unix/compile_libraries

Parent Directory Parent Directory | Revision Log Revision Log


Revision 50423 - (show annotations)
Tue Apr 26 04:05:43 2005 UTC (14 years, 10 months ago) by manus
File size: 1952 byte(s)
Adapted to new platform name.

1 #!/bin/sh
2
3 INITIAL_DIR=`pwd`
4
5 remtrace Compile the C libraries C code
6 remtrace expat
7 cd C_library/expat
8 make
9 mac_ranlib $INITIAL_DIR/C_library/expat/xmlparse/libexpat.a
10 remtrace libpng
11 cd $INITIAL_DIR/C_library/libpng
12 if echo "$ISE_PLATFORM" | grep "linux" >/dev/null 2>&1; then
13 cp scripts/makefile.linux .
14 make -f makefile.linux
15 elif echo "$ISE_PLATFORM" | grep "solaris" >/dev/null 2>&1; then
16 cp scripts/makefile.solaris .
17 make -f makefile.solaris
18 elif echo "$ISE_PLATFORM" | grep "sgi" >/dev/null 2>&1; then
19 cp scripts/makefile.sgi .
20 make -f makefile.sgi
21 elif [ "$ISE_PLATFORM" = "hpux-11" ]; then
22 cp scripts/makefile.hpux .
23 make -f makefile.hpux
24 elif [ "$ISE_PLATFORM" = "alpha" ]; then
25 cp scripts/makefile.dec .
26 make -f makefile.dec
27 elif [ "$ISE_PLATFORM" = "freebsd" ]; then
28 cp scripts/makefile.gcc .
29 make -f makefile.gcc
30 elif [ "$ISE_PLATFORM" = "macosx" ]; then
31 cp scripts/makefile.gcc .
32 make -f makefile.gcc
33 else
34 rep=$ISE_PLATFORM
35 if [ ! -f "scripts/makefile.$rep" ]; then
36 echo Here are the available makefiles:
37 ls scripts
38 echo "What is the extension of the makefile that should be used?"
39 while [ ! -f "scripts/makefile.$rep" ]; do
40 echo "scripts/makefile.$rep doesn't exist... Try another one"
41 read rep
42 done
43 fi
44 cp scripts/makefile.$rep .
45 make -f makefile.$rep
46 fi
47
48 remtrace zlib
49 cd $INITIAL_DIR/C_library/zlib
50 make
51
52
53 remtrace Compile the Eiffel libraries C code
54 remtrace event
55 cd $INITIAL_DIR/library/event/Clib
56 default_make
57 if [ -d "$INITIAL_DIR/library/exml" ]; then
58 remtrace exml
59 cd $INITIAL_DIR/library/exml/compiler_specific/ise/clib
60 default_make
61 fi
62 remtrace net
63 cd $INITIAL_DIR/library/net/Clib
64 default_make
65 mac_ranlib $INITIAL_DIR/library/net/spec/$ISE_PLATFORM/lib/libnet.a
66 remtrace vision2
67 cd $INITIAL_DIR/library/vision2/Clib
68 default_make
69 cd $INITIAL_DIR/library/vision2/implementation/gtk/Clib
70 default_make
71 cd $INITIAL_DIR

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23