diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-01 16:32:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-07-01 16:32:41 -0300 |
commit | 7820a47184c0079677c5c430125f0541af05c8b6 (patch) | |
tree | 10ffcef30c0fa0a172056529b90176133220159d /makefile | |
parent | 88b185ada15b76d6bfe8bb5e2d38935cf32e618a (diff) | |
download | lua-7820a47184c0079677c5c430125f0541af05c8b6.tar.gz lua-7820a47184c0079677c5c430125f0541af05c8b6.tar.bz2 lua-7820a47184c0079677c5c430125f0541af05c8b6.zip |
LOCALE support
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -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 | |||
11 | CONFIG = -DPOPEN -D_POSIX_SOURCE | 16 | CONFIG = -DPOPEN -D_POSIX_SOURCE |
17 | |||
18 | |||
12 | # Compilation parameters | 19 | # Compilation parameters |
13 | CC = gcc | 20 | CC = gcc |
14 | CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return | 21 | CWARNS = -Wall -Wmissing-prototypes -Wshadow -pedantic -Wpointer-arith -Wcast-align -Waggregate-return |
15 | CFLAGS = $(CONFIG) $(CWARNS) -ansi -O2 -fomit-frame-pointer | 22 | CFLAGS = $(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 |
90 | inout.o: inout.c auxlib.h lua.h fallback.h opcode.h types.h tree.h \ | 97 | inout.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 |
92 | iolib.o: iolib.c lua.h auxlib.h luadebug.h lualib.h | 99 | iolib.o: iolib.c lua.h auxlib.h luadebug.h lualib.h lualoc.h |
93 | lex.o: lex.c auxlib.h lua.h luamem.h tree.h types.h table.h opcode.h \ | 100 | lex.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 |
95 | lua.o: lua.c lua.h auxlib.h lualib.h | 102 | lua.o: lua.c lua.h auxlib.h lualib.h lualoc.h |
96 | luamem.o: luamem.c luamem.h lua.h | 103 | luamem.o: luamem.c luamem.h lua.h |
97 | mathlib.o: mathlib.c lualib.h lua.h auxlib.h | 104 | mathlib.o: mathlib.c lualib.h lua.h auxlib.h |
98 | opcode.o: opcode.c luadebug.h lua.h luamem.h opcode.h types.h tree.h \ | 105 | opcode.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 |
100 | parser.o: parser.c luadebug.h lua.h luamem.h lex.h zio.h opcode.h \ | 107 | parser.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 |
102 | strlib.o: strlib.c lua.h auxlib.h lualib.h | 109 | strlib.o: strlib.c lua.h auxlib.h lualib.h |