61:c858850f3d3a | 62:c47e081b6c0f |
---|---|
33 | 33 |
34 OS=`uname -s` | 34 OS=`uname -s` |
35 HOST=`uname -n` | 35 HOST=`uname -n` |
36 INSTALL_DIR=`pwd`/work | 36 INSTALL_DIR=`pwd`/work |
37 | 37 |
38 OPENSSL_CFLAGS=`pkg-config --cflags openssl` | |
39 OPENSSL_LDFLAGS=`pkg-config --libs openssl` | |
40 | |
38 # create config.mk | 41 # create config.mk |
39 echo "generate config.mk" | 42 echo "generate config.mk" |
40 | 43 |
41 cat > config.mk << __EOF__ | 44 cat > config.mk << __EOF__ |
42 # | 45 # |
66 fi | 69 fi |
67 | 70 |
68 echo " | 71 echo " |
69 include \$(BUILD_ROOT)/make/$CCONF | 72 include \$(BUILD_ROOT)/make/$CCONF |
70 include \$(BUILD_ROOT)/make/$PLATFORM | 73 include \$(BUILD_ROOT)/make/$PLATFORM |
74 | |
75 CFLAGS += $OPENSSL_CFLAGS | |
76 LDFLAGS += $OPENSSL_LDFLAGS | |
77 | |
71 " >> config.mk | 78 " >> config.mk |
72 | 79 |
73 | 80 |
74 | 81 |