diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-24 14:25:30 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-24 14:25:30 -0300 |
commit | 5d2d2b17527534e3b3e1da60b27663c6fbd58126 (patch) | |
tree | 8c0200442c440293440cd6c1741be879f0677af2 | |
parent | f34001faa91e9ed032dbbcbbcdb65cd085a40807 (diff) | |
download | lua-5d2d2b17527534e3b3e1da60b27663c6fbd58126.tar.gz lua-5d2d2b17527534e3b3e1da60b27663c6fbd58126.tar.bz2 lua-5d2d2b17527534e3b3e1da60b27663c6fbd58126.zip |
the usual stuff
-rw-r--r-- | makefile | 50 |
1 files changed, 24 insertions, 26 deletions
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | ## $Id: makefile,v 1.29 2000/10/30 17:50:00 roberto Exp roberto $ | 2 | ## $Id: makefile,v 1.30 2000/11/06 13:45:18 roberto Exp roberto $ |
3 | ## Makefile | 3 | ## Makefile |
4 | ## See Copyright Notice in lua.h | 4 | ## See Copyright Notice in lua.h |
5 | # | 5 | # |
@@ -19,15 +19,11 @@ | |||
19 | # (for instance, -DLUA_NUM_TYPE=float) | 19 | # (for instance, -DLUA_NUM_TYPE=float) |
20 | # you may need to adapat the code, too. | 20 | # you may need to adapat the code, too. |
21 | # | 21 | # |
22 | # define LUA_COMPAT_READPATTERN if you need read patterns | ||
23 | # (only for compatibility with previous versions) | ||
24 | # define LUA_COMPAT_ARGRET for compatibility in the way function results | ||
25 | # are passed as arguments | ||
26 | # define LUA_DEPRECATEDFUNCS to include obsolete functions | ||
27 | 22 | ||
28 | CONFIG = -DPOPEN -D_POSIX_SOURCE | 23 | #EXTRA_H=-DLUA_USER_H='"ltests.h"' |
29 | #CONFIG = -DOLD_ANSI -DLUA_DEBUG -DLUA_COMPAT_READPATTERN -DLUA_COMPAT_ARGRET | 24 | |
30 | # -DLUA_DEPRECATEDFUNCS | 25 | CONFIG = -DPOPEN -D_POSIX_SOURCE $(EXTRA_H) |
26 | #CONFIG = -DOLD_ANSI | ||
31 | 27 | ||
32 | 28 | ||
33 | # Compilation parameters | 29 | # Compilation parameters |
@@ -39,7 +35,7 @@ CWARNS = -Wall -W -pedantic \ | |||
39 | -Wnested-externs \ | 35 | -Wnested-externs \ |
40 | -Wpointer-arith \ | 36 | -Wpointer-arith \ |
41 | -Wshadow \ | 37 | -Wshadow \ |
42 | -Wwrite-strings | 38 | -Wwrite-strings \ |
43 | # -Wcast-qual | 39 | # -Wcast-qual |
44 | # -Wtraditional | 40 | # -Wtraditional |
45 | 41 | ||
@@ -70,10 +66,11 @@ LUAOBJS = \ | |||
70 | lcode.o \ | 66 | lcode.o \ |
71 | lparser.o \ | 67 | lparser.o \ |
72 | llex.o \ | 68 | llex.o \ |
69 | lopcodes.o \ | ||
73 | lundump.o \ | 70 | lundump.o \ |
74 | lzio.o \ | 71 | lzio.o \ |
75 | ldebug.o \ | 72 | ldebug.o \ |
76 | ltests.o | 73 | ltests.o |
77 | 74 | ||
78 | LIBOBJS = \ | 75 | LIBOBJS = \ |
79 | lauxlib.o \ | 76 | lauxlib.o \ |
@@ -113,15 +110,14 @@ clear : | |||
113 | 110 | ||
114 | lapi.o: lapi.c lua.h lapi.h lobject.h llimits.h ldo.h lstate.h \ | 111 | lapi.o: lapi.c lua.h lapi.h lobject.h llimits.h ldo.h lstate.h \ |
115 | luadebug.h lfunc.h lgc.h lmem.h lstring.h ltable.h ltm.h lvm.h | 112 | luadebug.h lfunc.h lgc.h lmem.h lstring.h ltable.h ltm.h lvm.h |
116 | lauxlib.o: lauxlib.c lua.h lauxlib.h luadebug.h | 113 | lauxlib.o: lauxlib.c lua.h lauxlib.h luadebug.h lualib.h |
117 | lbaselib.o: lbaselib.c lua.h lauxlib.h luadebug.h lualib.h | 114 | lbaselib.o: lbaselib.c lua.h lauxlib.h luadebug.h lualib.h |
118 | lcode.o: lcode.c /usr/include/stdlib.h lua.h lcode.h llex.h lobject.h \ | 115 | lcode.o: lcode.c lua.h lcode.h llex.h lobject.h llimits.h lzio.h \ |
119 | llimits.h lzio.h lopcodes.h lparser.h ldo.h lstate.h luadebug.h \ | 116 | lopcodes.h lparser.h ldebug.h lstate.h luadebug.h ldo.h lmem.h |
120 | lmem.h | ||
121 | ldblib.o: ldblib.c lua.h lauxlib.h luadebug.h lualib.h | 117 | ldblib.o: ldblib.c lua.h lauxlib.h luadebug.h lualib.h |
122 | ldebug.o: ldebug.c lua.h lapi.h lobject.h llimits.h lcode.h llex.h \ | 118 | ldebug.o: ldebug.c lua.h lapi.h lobject.h llimits.h lcode.h llex.h \ |
123 | lzio.h lopcodes.h lparser.h ldebug.h lstate.h luadebug.h ldo.h \ | 119 | lzio.h lopcodes.h lparser.h ldebug.h lstate.h luadebug.h ldo.h \ |
124 | lfunc.h lstring.h ltable.h ltm.h | 120 | lfunc.h lstring.h ltable.h ltm.h lvm.h |
125 | ldo.o: ldo.c lua.h ldebug.h lstate.h lobject.h llimits.h luadebug.h \ | 121 | ldo.o: ldo.c lua.h ldebug.h lstate.h lobject.h llimits.h luadebug.h \ |
126 | ldo.h lgc.h lmem.h lparser.h lzio.h lstring.h ltable.h ltm.h \ | 122 | ldo.h lgc.h lmem.h lparser.h lzio.h lstring.h ltable.h ltm.h \ |
127 | lundump.h lvm.h | 123 | lundump.h lvm.h |
@@ -130,30 +126,32 @@ lfunc.o: lfunc.c lua.h lfunc.h lobject.h llimits.h lmem.h lstate.h \ | |||
130 | lgc.o: lgc.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ | 126 | lgc.o: lgc.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ |
131 | lfunc.h lgc.h lmem.h lstring.h ltable.h ltm.h | 127 | lfunc.h lgc.h lmem.h lstring.h ltable.h ltm.h |
132 | liolib.o: liolib.c lua.h lauxlib.h luadebug.h lualib.h | 128 | liolib.o: liolib.c lua.h lauxlib.h luadebug.h lualib.h |
133 | llex.o: llex.c lua.h llex.h lobject.h llimits.h lzio.h lmem.h \ | 129 | llex.o: llex.c lua.h llex.h lobject.h llimits.h lzio.h lparser.h \ |
134 | lparser.h lstate.h luadebug.h lstring.h ltable.h | 130 | lstate.h luadebug.h lstring.h |
135 | lmathlib.o: lmathlib.c lua.h lauxlib.h lualib.h | 131 | lmathlib.o: lmathlib.c lua.h lauxlib.h lualib.h |
136 | lmem.o: lmem.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ | 132 | lmem.o: lmem.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ |
137 | lmem.h | 133 | lmem.h |
138 | lobject.o: lobject.c lua.h lmem.h llimits.h lobject.h lstate.h \ | 134 | lobject.o: lobject.c lua.h ldo.h lobject.h llimits.h lstate.h \ |
139 | luadebug.h | 135 | luadebug.h lmem.h |
136 | lopcodes.o: lopcodes.c lua.h lopcodes.h llimits.h | ||
140 | lparser.o: lparser.c lua.h lcode.h llex.h lobject.h llimits.h lzio.h \ | 137 | lparser.o: lparser.c lua.h lcode.h llex.h lobject.h llimits.h lzio.h \ |
141 | lopcodes.h lparser.h lfunc.h lmem.h lstate.h luadebug.h lstring.h | 138 | lopcodes.h lparser.h ldebug.h lstate.h luadebug.h lfunc.h lmem.h \ |
139 | lstring.h | ||
142 | lstate.o: lstate.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ | 140 | lstate.o: lstate.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ |
143 | lgc.h llex.h lzio.h lmem.h lstring.h ltable.h ltm.h | 141 | lgc.h llex.h lzio.h lmem.h lstring.h ltable.h ltm.h |
144 | lstring.o: lstring.c lua.h lmem.h llimits.h lobject.h lstate.h \ | 142 | lstring.o: lstring.c lua.h lmem.h llimits.h lobject.h lstate.h \ |
145 | luadebug.h lstring.h | 143 | luadebug.h lstring.h |
146 | lstrlib.o: lstrlib.c lua.h lauxlib.h lualib.h | 144 | lstrlib.o: lstrlib.c lua.h lauxlib.h lualib.h |
147 | ltable.o: ltable.c lua.h lmem.h llimits.h lobject.h lstate.h \ | 145 | ltable.o: ltable.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ |
148 | luadebug.h lstring.h ltable.h | 146 | lmem.h ltable.h |
149 | ltests.o: ltests.c lua.h lapi.h lobject.h llimits.h lauxlib.h lcode.h \ | 147 | ltests.o: ltests.c lua.h lapi.h lobject.h llimits.h lauxlib.h lcode.h \ |
150 | llex.h lzio.h lopcodes.h lparser.h ldebug.h lstate.h luadebug.h ldo.h \ | 148 | llex.h lzio.h lopcodes.h lparser.h ldebug.h lstate.h luadebug.h ldo.h \ |
151 | lfunc.h lmem.h lstring.h ltable.h lualib.h | 149 | lfunc.h lmem.h lstring.h ltable.h lualib.h |
152 | ltm.o: ltm.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ | 150 | ltm.o: ltm.c lua.h ldo.h lobject.h llimits.h lstate.h luadebug.h \ |
153 | lmem.h ltm.h | 151 | lmem.h lstring.h ltable.h ltm.h |
154 | lua.o: lua.c lua.h luadebug.h lualib.h | 152 | lua.o: lua.c lua.h luadebug.h lualib.h |
155 | lundump.o: lundump.c lfunc.h lobject.h llimits.h lua.h lmem.h \ | 153 | lundump.o: lundump.c lua.h ldebug.h lstate.h lobject.h llimits.h \ |
156 | lopcodes.h lstring.h lstate.h luadebug.h lundump.h lzio.h | 154 | luadebug.h lfunc.h lmem.h lopcodes.h lstring.h lundump.h lzio.h |
157 | lvm.o: lvm.c lua.h lapi.h lobject.h llimits.h ldebug.h lstate.h \ | 155 | lvm.o: lvm.c lua.h lapi.h lobject.h llimits.h ldebug.h lstate.h \ |
158 | luadebug.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h ltable.h ltm.h \ | 156 | luadebug.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h ltable.h ltm.h \ |
159 | lvm.h | 157 | lvm.h |