| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 NACLPORTS_LIBS+=" -lncurses" | 5 NACLPORTS_LIBS+=" -lncurses" |
| 6 EXECUTABLES=src/nano${NACL_EXEEXT} | 6 EXECUTABLES=src/nano${NACL_EXEEXT} |
| 7 | 7 |
| 8 EnableGlibcCompat | 8 EnableGlibcCompat |
| 9 | 9 EnableCliMain |
| 10 NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}" | |
| 11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | |
| 12 | 10 |
| 13 if [ "${NACL_LIBC}" = "newlib" ]; then | 11 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 14 EXTRA_CONFIGURE_ARGS="--enable-tiny" | 12 EXTRA_CONFIGURE_ARGS="--enable-tiny" |
| 15 fi | 13 fi |
| 16 | 14 |
| 17 InstallStep() { | 15 InstallStep() { |
| 18 DefaultInstallStep | 16 DefaultInstallStep |
| 19 # The nano build results in a dangling symlink (symlink doesn't honor the | 17 # The nano build results in a dangling symlink (symlink doesn't honor the |
| 20 # EXEEXT). We don't care about rnano anyway, so just remove it. | 18 # EXEEXT). We don't care about rnano anyway, so just remove it. |
| 21 LogExecute rm ${DESTDIR}${PREFIX}/bin/rnano | 19 LogExecute rm ${DESTDIR}${PREFIX}/bin/rnano |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 | 42 |
| 45 InstallNaClTerm ${PUBLISH_DIR} | 43 InstallNaClTerm ${PUBLISH_DIR} |
| 46 | 44 |
| 47 GenerateManifest ${START_DIR}/manifest.json ${PUBLISH_DIR} | 45 GenerateManifest ${START_DIR}/manifest.json ${PUBLISH_DIR} |
| 48 LogExecute cp ${START_DIR}/icon_16.png ${PUBLISH_DIR} | 46 LogExecute cp ${START_DIR}/icon_16.png ${PUBLISH_DIR} |
| 49 LogExecute cp ${START_DIR}/icon_48.png ${PUBLISH_DIR} | 47 LogExecute cp ${START_DIR}/icon_48.png ${PUBLISH_DIR} |
| 50 LogExecute cp ${START_DIR}/icon_128.png ${PUBLISH_DIR} | 48 LogExecute cp ${START_DIR}/icon_128.png ${PUBLISH_DIR} |
| 51 ChangeDir ${PUBLISH_DIR} | 49 ChangeDir ${PUBLISH_DIR} |
| 52 CreateWebStoreZip nano-${VERSION}.zip . | 50 CreateWebStoreZip nano-${VERSION}.zip . |
| 53 } | 51 } |
| OLD | NEW |