1119N/A--- Makefile.~1~ 2012-05-17 07:05:54.000000000 -0700
1119N/A+++ Makefile 2012-09-06 17:26:51.006475447 -0700
1119N/A@@ -4,25 +4,26 @@
97N/A # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
97N/A
97N/A # Your platform. See PLATS for possible values.
97N/A-PLAT= none
97N/A+PLAT= solaris
97N/A
97N/A # Where to install. The installation starts in the src and doc directories,
1119N/A # so take care if INSTALL_TOP is not an absolute path. See the local target.
1119N/A # You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
1119N/A # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h.
97N/A-INSTALL_TOP= /usr/local
97N/A+INSTALL_TOP= $(ROOT)/usr
97N/A INSTALL_BIN= $(INSTALL_TOP)/bin
97N/A INSTALL_INC= $(INSTALL_TOP)/include
97N/A INSTALL_LIB= $(INSTALL_TOP)/lib
97N/A-INSTALL_MAN= $(INSTALL_TOP)/man/man1
97N/A+INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
1119N/A INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
1119N/A INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
97N/A+INSTALL_DOC= $(INSTALL_TOP)/share/doc/lua
97N/A
1119N/A # How to install. If your install program does not support "-p", then
1119N/A # you may have to run ranlib on the installed liblua.a.
97N/A-INSTALL= install -p
97N/A-INSTALL_EXEC= $(INSTALL) -m 0755
97N/A-INSTALL_DATA= $(INSTALL) -m 0644
97N/A+INSTALL= ginstall -p
97N/A+INSTALL_EXEC= $(INSTALL) -m 0555
97N/A+INSTALL_DATA= $(INSTALL) -m 0444
97N/A #
1119N/A # If you don't have "install" you can use "cp" instead.
97N/A # INSTALL= cp -p
1119N/A@@ -36,13 +37,14 @@
1119N/A # == END OF USER SETTINGS -- NO NEED TO CHANGE ANYTHING BELOW THIS LINE =======
97N/A
97N/A # Convenience platforms targets.
97N/A-PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
97N/A+PLATS= solaris
97N/A
97N/A # What to install.
97N/A TO_BIN= lua luac
1119N/A-TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
97N/A-TO_LIB= liblua.a
97N/A+TO_INC= lua.h luaconf.h lualib.h lauxlib.h
97N/A+TO_LIB= liblua.so
97N/A TO_MAN= lua.1 luac.1
1119N/A+TO_DOC= contents.html osi-certified-72x60.png logo.gif lua.css manual.css manual.html readme.html
97N/A
97N/A # Lua version and release.
1119N/A V= 5.2
1119N/A@@ -58,11 +60,13 @@
1119N/A src/lua -v
97N/A
97N/A install: dummy
97N/A- cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
97N/A+ cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_DOC) $(INSTALL_MAN) $(INSTALL_TEST)
97N/A cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
97N/A cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
97N/A- cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
97N/A+ cd src && $(INSTALL_EXEC) $(TO_LIB) $(INSTALL_LIB)
97N/A cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
97N/A+ cd doc && $(INSTALL_DATA) $(TO_DOC) $(INSTALL_DOC)
1119N/A+
97N/A
1119N/A uninstall:
1119N/A cd src && cd $(INSTALL_BIN) && $(RM) $(TO_BIN)