summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-01 16:32:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-01 16:32:41 -0300
commit7820a47184c0079677c5c430125f0541af05c8b6 (patch)
tree10ffcef30c0fa0a172056529b90176133220159d /makefile
parent88b185ada15b76d6bfe8bb5e2d38935cf32e618a (diff)
downloadlua-7820a47184c0079677c5c430125f0541af05c8b6.tar.gz
lua-7820a47184c0079677c5c430125f0541af05c8b6.tar.bz2
lua-7820a47184c0079677c5c430125f0541af05c8b6.zip
LOCALE support
Diffstat (limited to 'makefile')
-rw-r--r--makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/makefile b/makefile
index 9723ef09..f0e7d118 100644
--- a/makefile
+++ b/makefile
@@ -1,18 +1,25 @@
1# $Id: makefile,v 1.35 1997/06/16 16:50:22 roberto Exp roberto $ 1# $Id: makefile,v 1.36 1997/06/23 18:27:53 roberto Exp roberto $
2 2
3#configuration 3#configuration
4 4
5# define (undefine) POPEN if your system (does not) support piped I/O 5# define (undefine) POPEN if your system (does not) support piped I/O
6#
6# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant 7# define (undefine) _POSIX_SOURCE if your system is (not) POSIX compliant
7#define (undefine) NOSTRERROR if your system does NOT have function "strerror" 8#
8# (although this is ANSI, SunOS does not comply; so, add "-DNOSTRERROR" on SunOS) 9# define (undefine) OLD_ANSI if your system does NOT have some new ANSI
10# facilities ("strerror" and "locale.h"). Although they are ANSI,
11# SunOS does not comply; so, add "-DOLD_ANSI" on SunOS
12#
9# define LUA_COMPAT2_5=0 if yous system does not need to be compatible with 13# define LUA_COMPAT2_5=0 if yous system does not need to be compatible with
10# version 2.5 (or older) 14# version 2.5 (or older)
15
11CONFIG = -DPOPEN -D_POSIX_SOURCE 16CONFIG = -DPOPEN -D_POSIX_SOURCE
17
18
12# Compilation parameters 19# Compilation parameters
13CC = gcc 20CC = gcc
14CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return 21CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return
15CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 -fomit-frame-pointer 22CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2
16 23
17#CC = acc 24#CC = acc
18#CFLAGS = -fast -I/usr/5include 25#CFLAGS = -fast -I/usr/5include
@@ -89,14 +96,14 @@ hash.o: hash.c luamem.h opcode.h lua.h types.h tree.h func.h hash.h \
89 table.h auxlib.h 96 table.h auxlib.h
90inout.o: inout.c auxlib.h lua.h fallback.h opcode.h types.h tree.h \ 97inout.o: inout.c auxlib.h lua.h fallback.h opcode.h types.h tree.h \
91 func.h hash.h inout.h lex.h zio.h luamem.h table.h undump.h 98 func.h hash.h inout.h lex.h zio.h luamem.h table.h undump.h
92iolib.o: iolib.c lua.h auxlib.h luadebug.h lualib.h 99iolib.o: iolib.c lua.h auxlib.h luadebug.h lualib.h lualoc.h
93lex.o: lex.c auxlib.h lua.h luamem.h tree.h types.h table.h opcode.h \ 100lex.o: lex.c auxlib.h lua.h luamem.h tree.h types.h table.h opcode.h \
94 func.h lex.h zio.h inout.h luadebug.h parser.h 101 func.h lex.h zio.h inout.h luadebug.h parser.h
95lua.o: lua.c lua.h auxlib.h lualib.h 102lua.o: lua.c lua.h auxlib.h lualib.h lualoc.h
96luamem.o: luamem.c luamem.h lua.h 103luamem.o: luamem.c luamem.h lua.h
97mathlib.o: mathlib.c lualib.h lua.h auxlib.h 104mathlib.o: mathlib.c lualib.h lua.h auxlib.h
98opcode.o: opcode.c luadebug.h lua.h luamem.h opcode.h types.h tree.h \ 105opcode.o: opcode.c luadebug.h lua.h luamem.h opcode.h types.h tree.h \
99 func.h hash.h inout.h table.h fallback.h auxlib.h lex.h zio.h 106 func.h hash.h inout.h table.h fallback.h auxlib.h lex.h zio.h lualoc.h
100parser.o: parser.c luadebug.h lua.h luamem.h lex.h zio.h opcode.h \ 107parser.o: parser.c luadebug.h lua.h luamem.h lex.h zio.h opcode.h \
101 types.h tree.h func.h hash.h inout.h table.h 108 types.h tree.h func.h hash.h inout.h table.h
102strlib.o: strlib.c lua.h auxlib.h lualib.h 109strlib.o: strlib.c lua.h auxlib.h lualib.h