/[eiffelstudio]/branches/Eiffel_61/Delivery/scripts/unix/compile_libraries
ViewVC logotype

Contents of /branches/Eiffel_61/Delivery/scripts/unix/compile_libraries

Parent Directory Parent Directory | Revision Log Revision Log


Revision 71502 - (show annotations)
Thu Dec 13 18:46:10 2007 UTC (11 years, 11 months ago) by manus
File size: 1877 byte(s)
Forgot to compile the C code of cURL.

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