Makefile (061f7e2fd06d694fab29236a2610a8467943d3a6) | Makefile (564b9ff2a7aa62f1094043b12de56ad75aa30394) |
---|---|
1#! $FreeBSD$ 2 3.include <src.lua.mk> 4 5LUASRC?= ${SRCTOP}/contrib/lua/src 6.PATH: ${LUASRC} 7 8PROG= flua 9WARNS?= 2 10MAN= # No manpage; this is internal. 11 12CWARNFLAGS.gcc+= -Wno-format-nonliteral 13 | 1#! $FreeBSD$ 2 3.include <src.lua.mk> 4 5LUASRC?= ${SRCTOP}/contrib/lua/src 6.PATH: ${LUASRC} 7 8PROG= flua 9WARNS?= 2 10MAN= # No manpage; this is internal. 11 12CWARNFLAGS.gcc+= -Wno-format-nonliteral 13 |
14LIBADD= m | 14LIBADD= lua |
15 | 15 |
16# Core functions 17SRCS= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c \ 18 lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c \ 19 ltm.c lundump.c lvm.c lzio.c 20 21# Library functions; any change to these likely needs an accompanying change 22# in our custom linit_flua.c. We use our custom linit.c to make it easier to 23# support bootstrap flua that may not have supporting local libraries. 24SRCS+= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \ 25 lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c 26 | |
27# Entry point 28SRCS+= lua.c 29 30# FreeBSD Extensions 31.PATH: ${.CURDIR}/modules 32SRCS+= linit_flua.c 33SRCS+= lfs.c lposix.c 34 | 16# Entry point 17SRCS+= lua.c 18 19# FreeBSD Extensions 20.PATH: ${.CURDIR}/modules 21SRCS+= linit_flua.c 22SRCS+= lfs.c lposix.c 23 |
35CFLAGS+= -I${.CURDIR} -I${.CURDIR}/modules -I${LUASRC} | 24CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} |
36CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" 37 38.include <bsd.prog.mk> | 25CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" 26 27.include <bsd.prog.mk> |