44 # |
44 # |
45 |
45 |
46 INSTALL_DIR = $INSTALL_DIR |
46 INSTALL_DIR = $INSTALL_DIR |
47 HOST = $HOST |
47 HOST = $HOST |
48 |
48 |
49 # make variables |
|
50 __EOF__ |
49 __EOF__ |
51 |
50 |
52 # platform |
51 # platform |
|
52 |
53 if [ $OS = SunOS ]; then |
53 if [ $OS = SunOS ]; then |
54 echo "SUNOS = true" >> config.mk |
54 CCONF=suncc.mk |
|
55 PLATFORM=solaris.mk |
55 fi |
56 fi |
56 |
57 |
57 if [ $OS = Linux ]; then |
58 if [ $OS = Linux ]; then |
58 echo "LINUX = true" >> config.mk |
59 CCONF=gcc.mk |
|
60 PLATFORM=linux.mk |
59 fi |
61 fi |
60 |
62 |
61 if [ $OS = Darwin ]; then |
63 if [ $OS = Darwin ]; then |
62 echo "OSX = true" >> config.mk |
64 CCONF=gcc.mk |
|
65 |
63 fi |
66 fi |
|
67 |
|
68 echo " |
|
69 include \$(BUILD_ROOT)/make/$CCONF |
|
70 include \$(BUILD_ROOT)/make/$PLATFORM |
|
71 " >> config.mk |
64 |
72 |
65 |
73 |
66 |
74 |