OLD | NEW |
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 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 BUILD_DIR=${SRC_DIR} | 5 BUILD_DIR=${SRC_DIR} |
6 EXECUTABLES="src/lua src/luac" | 6 EXECUTABLES="src/lua src/luac" |
7 | 7 |
8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 8 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" |
9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" | 9 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 InstallStep() { | 28 InstallStep() { |
29 LogExecute make "CC=${NACLCC}" "PLAT=generic" \ | 29 LogExecute make "CC=${NACLCC}" "PLAT=generic" \ |
30 "INSTALL_TOP=${DESTDIR}/${PREFIX}" install | 30 "INSTALL_TOP=${DESTDIR}/${PREFIX}" install |
31 ChangeDir src | 31 ChangeDir src |
32 if [ "${NACL_ARCH}" = pnacl ]; then | 32 if [ "${NACL_ARCH}" = pnacl ]; then |
33 # Just do the x86-64 version for now. | 33 # Just do the x86-64 version for now. |
34 TranslateAndWriteLauncherScript lua x86-64 lua.x86-64.nexe lua.sh | 34 TranslateAndWriteLauncherScript lua x86-64 lua.x86-64.nexe lua.sh |
35 TranslateAndWriteLauncherScript luac x86-64 luac.x86-64.nexe luac.sh | 35 TranslateAndWriteLauncherScript luac x86-64 luac.x86-64.nexe luac.sh |
36 fi | 36 fi |
37 } | 37 } |
38 | |
39 PublishStep() { | |
40 PublishByArchForDevEnv | |
41 } | |
OLD | NEW |