head	1.14;
access;
symbols
	netbsd-11-0-RC4:1.14
	netbsd-11-0-RC3:1.14
	netbsd-11-0-RC2:1.14
	netbsd-11-0-RC1:1.14
	perseant-exfatfs-base-20250801:1.14
	netbsd-11:1.14.0.8
	netbsd-11-base:1.14
	netbsd-10-1-RELEASE:1.12.16.1
	perseant-exfatfs-base-20240630:1.14
	perseant-exfatfs:1.14.0.6
	perseant-exfatfs-base:1.14
	netbsd-8-3-RELEASE:1.10
	netbsd-9-4-RELEASE:1.10
	netbsd-10-0-RELEASE:1.12.16.1
	netbsd-10-0-RC6:1.12.16.1
	netbsd-10-0-RC5:1.12.16.1
	netbsd-10-0-RC4:1.12.16.1
	netbsd-10-0-RC3:1.12.16.1
	netbsd-10-0-RC2:1.12.16.1
	thorpej-ifq:1.14.0.4
	thorpej-ifq-base:1.14
	thorpej-altq-separation:1.14.0.2
	thorpej-altq-separation-base:1.14
	netbsd-10-0-RC1:1.12.16.1
	netbsd-10:1.12.0.16
	netbsd-10-base:1.12
	bouyer-sunxi-drm:1.12.0.14
	bouyer-sunxi-drm-base:1.12
	netbsd-9-3-RELEASE:1.10
	thorpej-i2c-spi-conf2:1.12.0.12
	thorpej-i2c-spi-conf2-base:1.12
	thorpej-futex2:1.12.0.10
	thorpej-futex2-base:1.12
	thorpej-cfargs2:1.12.0.8
	thorpej-cfargs2-base:1.12
	cjep_sun2x-base1:1.12
	cjep_sun2x:1.12.0.6
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	netbsd-9-2-RELEASE:1.10
	cjep_staticlib_x:1.12.0.4
	cjep_staticlib_x-base:1.12
	thorpej-i2c-spi-conf:1.12.0.2
	thorpej-i2c-spi-conf-base:1.12
	thorpej-cfargs:1.11.0.10
	thorpej-cfargs-base:1.12
	thorpej-futex:1.11.0.8
	thorpej-futex-base:1.11
	netbsd-9-1-RELEASE:1.10
	bouyer-xenpvh-base2:1.11
	phil-wifi-20200421:1.11
	bouyer-xenpvh-base1:1.11
	phil-wifi-20200411:1.11
	bouyer-xenpvh:1.11.0.6
	bouyer-xenpvh-base:1.11
	is-mlppp:1.11.0.4
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.10
	ad-namecache-base3:1.11
	netbsd-9-0-RELEASE:1.10
	netbsd-9-0-RC2:1.10
	ad-namecache-base2:1.11
	ad-namecache-base1:1.11
	ad-namecache:1.11.0.2
	ad-namecache-base:1.11
	netbsd-9-0-RC1:1.10
	phil-wifi-20191119:1.11
	netbsd-9:1.10.0.34
	netbsd-9-base:1.10
	phil-wifi-20190609:1.10
	netbsd-8-1-RELEASE:1.10
	netbsd-8-1-RC1:1.10
	isaki-audio2:1.10.0.32
	isaki-audio2-base:1.10
	pgoyette-compat-merge-20190127:1.10
	pgoyette-compat-20190127:1.10
	pgoyette-compat-20190118:1.10
	pgoyette-compat-1226:1.10
	pgoyette-compat-1126:1.10
	pgoyette-compat-1020:1.10
	pgoyette-compat-0930:1.10
	pgoyette-compat-0906:1.10
	netbsd-7-2-RELEASE:1.10
	pgoyette-compat-0728:1.10
	netbsd-8-0-RELEASE:1.10
	phil-wifi:1.10.0.30
	phil-wifi-base:1.10
	pgoyette-compat-0625:1.10
	netbsd-8-0-RC2:1.10
	pgoyette-compat-0521:1.10
	pgoyette-compat-0502:1.10
	pgoyette-compat-0422:1.10
	netbsd-8-0-RC1:1.10
	pgoyette-compat-0415:1.10
	pgoyette-compat-0407:1.10
	pgoyette-compat-0330:1.10
	pgoyette-compat-0322:1.10
	pgoyette-compat-0315:1.10
	netbsd-7-1-2-RELEASE:1.10
	pgoyette-compat:1.10.0.28
	pgoyette-compat-base:1.10
	netbsd-7-1-1-RELEASE:1.10
	tls-maxphys-base-20171202:1.10
	matt-nb8-mediatek:1.10.0.26
	matt-nb8-mediatek-base:1.10
	nick-nhusb-base-20170825:1.10
	perseant-stdc-iso10646:1.10.0.24
	perseant-stdc-iso10646-base:1.10
	netbsd-8:1.10.0.22
	netbsd-8-base:1.10
	prg-localcount2-base3:1.10
	prg-localcount2-base2:1.10
	prg-localcount2-base1:1.10
	prg-localcount2:1.10.0.20
	prg-localcount2-base:1.10
	pgoyette-localcount-20170426:1.10
	bouyer-socketcan-base1:1.10
	jdolecek-ncq:1.10.0.18
	jdolecek-ncq-base:1.10
	pgoyette-localcount-20170320:1.10
	netbsd-7-1:1.10.0.16
	netbsd-7-1-RELEASE:1.10
	netbsd-7-1-RC2:1.10
	nick-nhusb-base-20170204:1.10
	netbsd-7-nhusb-base-20170116:1.10
	bouyer-socketcan:1.10.0.14
	bouyer-socketcan-base:1.10
	pgoyette-localcount-20170107:1.10
	netbsd-7-1-RC1:1.10
	nick-nhusb-base-20161204:1.10
	pgoyette-localcount-20161104:1.10
	netbsd-7-0-2-RELEASE:1.10
	nick-nhusb-base-20161004:1.10
	localcount-20160914:1.10
	netbsd-7-nhusb:1.10.0.12
	netbsd-7-nhusb-base:1.10
	pgoyette-localcount-20160806:1.10
	pgoyette-localcount-20160726:1.10
	pgoyette-localcount:1.10.0.10
	pgoyette-localcount-base:1.10
	nick-nhusb-base-20160907:1.10
	nick-nhusb-base-20160529:1.10
	netbsd-7-0-1-RELEASE:1.10
	nick-nhusb-base-20160422:1.10
	nick-nhusb-base-20160319:1.10
	nick-nhusb-base-20151226:1.10
	netbsd-7-0:1.10.0.8
	netbsd-7-0-RELEASE:1.10
	nick-nhusb-base-20150921:1.10
	netbsd-7-0-RC3:1.10
	netbsd-7-0-RC2:1.10
	netbsd-7-0-RC1:1.10
	nick-nhusb-base-20150606:1.10
	nick-nhusb-base-20150406:1.10
	nick-nhusb:1.10.0.6
	nick-nhusb-base:1.10
	tls-maxphys-base:1.10
	tls-maxphys:1.10.0.4
	netbsd-7:1.10.0.2
	netbsd-7-base:1.10
	yamt-pagecache:1.6.0.6
	rmind-smpnet-base:1.6
	rmind-smpnet:1.6.0.4
	rmind-smpnet-nbase:1.6
	yamt-pagecache-base9:1.6
	tls-earlyentropy:1.6.0.2
	tls-earlyentropy-base:1.10
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6;
locks; strict;
comment	@# @;


1.14
date	2023.06.03.09.09.14;	author lukem;	state Exp;
branches;
next	1.13;
commitid	aBaIRnuykonRStrE;

1.13
date	2023.04.16.20.46.18;	author nikita;	state Exp;
branches;
next	1.12;
commitid	WsTfyuk7gWCdhnlE;

1.12
date	2021.04.12.02.54.08;	author mrg;	state Exp;
branches
	1.12.16.1;
next	1.11;
commitid	BwuEQxep98zmWWOC;

1.11
date	2019.11.11.22.45.27;	author joerg;	state Exp;
branches
	1.11.10.1;
next	1.10;
commitid	IMynySmLyNzibuKB;

1.10
date	2014.07.19.20.21.52;	author christos;	state Exp;
branches
	1.10.4.1
	1.10.30.1;
next	1.9;
commitid	4SaLkS1KkGXBM1Jx;

1.9
date	2014.07.19.20.15.55;	author christos;	state Exp;
branches;
next	1.8;
commitid	AtMEIXYO00nlK1Jx;

1.8
date	2014.07.19.18.38.35;	author lneto;	state Exp;
branches;
next	1.7;
commitid	ANelHmZgJutVc1Jx;

1.7
date	2014.07.19.17.21.24;	author lneto;	state Exp;
branches;
next	1.6;
commitid	6HSQSnzlBO2IM0Jx;

1.6
date	2013.12.27.22.09.43;	author christos;	state Exp;
branches
	1.6.2.1
	1.6.4.1
	1.6.6.1;
next	1.5;
commitid	h8jJlaRbf4CbWOix;

1.5
date	2013.12.02.06.07.22;	author lneto;	state Exp;
branches;
next	1.4;
commitid	aOaaJIFJmQ0Vpwfx;

1.4
date	2013.12.02.04.57.41;	author lneto;	state Exp;
branches;
next	1.3;
commitid	40m8ZF90FL812wfx;

1.3
date	2013.12.02.04.39.10;	author lneto;	state Exp;
branches;
next	1.2;
commitid	63cyf88869JEVvfx;

1.2
date	2013.10.31.16.50.14;	author mbalmer;	state Exp;
branches;
next	1.1;
commitid	3hrDT0HrAeRe0tbx;

1.1
date	2013.10.16.19.44.57;	author mbalmer;	state Exp;
branches;
next	;
commitid	Z5aUS2Brpg54sy9x;

1.12.16.1
date	2023.08.11.16.22.06;	author martin;	state Exp;
branches;
next	;
commitid	mhf8SeZPt8fV3oAE;

1.11.10.1
date	2021.04.17.17.26.21;	author thorpej;	state Exp;
branches;
next	;
commitid	bct79XL9ibnNBFPC;

1.10.4.1
date	2014.07.19.20.21.52;	author tls;	state dead;
branches;
next	1.10.4.2;
commitid	jTnpym9Qu0o4R1Nx;

1.10.4.2
date	2014.08.20.00.04.33;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.10.30.1
date	2020.04.13.08.05.13;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.6.2.1
date	2014.08.10.06.56.10;	author tls;	state Exp;
branches;
next	;
commitid	i4aS5ndhchyrCMLx;

1.6.4.1
date	2013.12.27.22.09.43;	author rmind;	state dead;
branches;
next	1.6.4.2;
commitid	mL5ZYSzpqK6QS2Bx;

1.6.4.2
date	2014.05.18.17.46.11;	author rmind;	state Exp;
branches;
next	;
commitid	mL5ZYSzpqK6QS2Bx;

1.6.6.1
date	2013.12.27.22.09.43;	author yamt;	state dead;
branches;
next	1.6.6.2;
commitid	VUUXuyNWnt3AKwBx;

1.6.6.2
date	2014.05.22.11.41.07;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;


desc
@@


1.14
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@#	$NetBSD: Makefile,v 1.13 2023/04/16 20:46:18 nikita Exp $

.include "../Makefile.inc"

.PATH:		${S}/../external/mit/lua/dist/src \
		${S}/../lib/libc/string

KMOD=		lua
SRCS=		lua.c

WARNS=		0

# Lua core source code
SRCS+=		lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c

# Lua stdlibs source code
SRCS+=		lauxlib.c lbaselib.c lcorolib.c ldblib.c \
		lstrlib.c ltablib.c lutf8lib.c linit.c

CPPFLAGS+=	-I${S}/../external/mit/lua/dist/src \
		-I${S}/sys

CWARNFLAGS.clang+=     -Wno-error=string-plus-int

COPTS.lstring.c+=	${CC_WNO_STRINGOP_OVERFLOW}

.include <bsd.kmodule.mk>
@


1.13
log
@Resolve conflicts for lua 5.4.4 import.
Adjust various files for lua 5.4.4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2021/04/12 02:54:08 mrg Exp $
d27 1
a27 1
COPTS.lstring.c+=	${GCC_NO_STRINGOP_OVERFLOW}
@


1.12
log
@add some new uses of existing GCC_NO_* variables for warning issues.
remove an no longer relevant for gcc7 workaround (works fine in both
gcc9 and gcc 10.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2019/11/11 22:45:27 joerg Exp $
d19 1
a19 1
SRCS+=		lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c \
@


1.12.16.1
log
@Pull up following revision(s) (requested by nikita in ticket #313):

	external/mit/lua/dist/src/ljumptab.h            up to 1.2
	external/mit/lua/dist/src/lopnames.h            up to 1.1.1.1
	external/mit/lua/dist/src/lbitlib.c             delete
	external/mit/lua/dist/Makefile                  up to 1.9
	external/mit/lua/dist/README                    up to 1.10
	external/mit/lua/dist/README.import             up to 1.5
	external/mit/lua/dist/doc/contents.html         up to 1.9
	external/mit/lua/dist/doc/lua.1                 up to 1.9
	external/mit/lua/dist/doc/manual.html           up to 1.10
	external/mit/lua/dist/doc/readme.html           up to 1.9
	external/mit/lua/dist/src/Makefile              up to 1.7
	external/mit/lua/dist/src/lapi.c                up to 1.15
	external/mit/lua/dist/src/lapi.h                up to 1.11
	external/mit/lua/dist/src/lauxlib.c             up to 1.13
	external/mit/lua/dist/src/lauxlib.h             up to 1.9
	external/mit/lua/dist/src/lbaselib.c            up to 1.11
	external/mit/lua/dist/src/lcode.c               up to 1.14
	external/mit/lua/dist/src/lcode.h               up to 1.9
	external/mit/lua/dist/src/lcorolib.c            up to 1.10
	external/mit/lua/dist/src/lctype.c              up to 1.8
	external/mit/lua/dist/src/lctype.h              up to 1.8
	external/mit/lua/dist/src/ldblib.c              up to 1.12
	external/mit/lua/dist/src/ldebug.c              up to 1.14
	external/mit/lua/dist/src/ldebug.h              up to 1.11
	external/mit/lua/dist/src/ldo.c                 up to 1.12
	external/mit/lua/dist/src/ldo.h                 up to 1.12
	external/mit/lua/dist/src/ldump.c               up to 1.12
	external/mit/lua/dist/src/lfunc.c               up to 1.11
	external/mit/lua/dist/src/lfunc.h               up to 1.11
	external/mit/lua/dist/src/lgc.c                 up to 1.13
	external/mit/lua/dist/src/lgc.h                 up to 1.10
	external/mit/lua/dist/src/linit.c               up to 1.10
	external/mit/lua/dist/src/liolib.c              up to 1.10
	external/mit/lua/dist/src/llex.c                up to 1.14
	external/mit/lua/dist/src/llex.h                up to 1.9
	external/mit/lua/dist/src/llimits.h             up to 1.12
	external/mit/lua/dist/src/lmathlib.c            up to 1.11
	external/mit/lua/dist/src/lmem.c                up to 1.11
	external/mit/lua/dist/src/lmem.h                up to 1.9
	external/mit/lua/dist/src/loadlib.c             up to 1.11
	external/mit/lua/dist/src/lobject.c             up to 1.14
	external/mit/lua/dist/src/lobject.h             up to 1.12
	external/mit/lua/dist/src/lopcodes.c            up to 1.9
	external/mit/lua/dist/src/lopcodes.h            up to 1.10
	external/mit/lua/dist/src/loslib.c              up to 1.13
	external/mit/lua/dist/src/lparser.c             up to 1.15
	external/mit/lua/dist/src/lparser.h             up to 1.9
	external/mit/lua/dist/src/lprefix.h             up to 1.8
	external/mit/lua/dist/src/lstate.c              up to 1.12
	external/mit/lua/dist/src/lstate.h              up to 1.11
	external/mit/lua/dist/src/lstring.c             up to 1.10
	external/mit/lua/dist/src/lstring.h             up to 1.10
	external/mit/lua/dist/src/lstrlib.c             up to 1.21
	external/mit/lua/dist/src/ltable.c              up to 1.13
	external/mit/lua/dist/src/ltable.h              up to 1.10
	external/mit/lua/dist/src/ltablib.c             up to 1.11
	external/mit/lua/dist/src/ltm.c                 up to 1.11
	external/mit/lua/dist/src/ltm.h                 up to 1.10
	external/mit/lua/dist/src/lua.c                 up to 1.12
	external/mit/lua/dist/src/lua.h                 up to 1.14
	external/mit/lua/dist/src/luac.c                up to 1.12
	external/mit/lua/dist/src/luaconf.h             up to 1.25
	external/mit/lua/dist/src/lualib.h              up to 1.8
	external/mit/lua/dist/src/lundump.c             up to 1.11
	external/mit/lua/dist/src/lundump.h             up to 1.8
	external/mit/lua/dist/src/lutf8lib.c            up to 1.11
	external/mit/lua/dist/src/lvm.c                 up to 1.20
	external/mit/lua/dist/src/lvm.h                 up to 1.12
	external/mit/lua/dist/src/lzio.c                up to 1.9
	external/mit/lua/dist/src/lzio.h                up to 1.9
	external/mit/lua/lib/liblua/Makefile            up to 1.13
	external/mit/lua/lib/liblua/shlib_version       up to 1.4
	distrib/sets/lists/base/ad.aarch64		1.37
	distrib/sets/lists/base/mi			1.1315
	distrib/sets/lists/base/shl.mi			1.947,1.949
	distrib/sets/lists/debug/shl.mi			1.304,1.312
	etc/mtree/NetBSD.dist.base			1.247
	etc/mtree/NetBSD.dist.compat.in			1.2
	share/mk/bsd.lua.mk				1.9
	sys/modules/examples/luahello/luahello.lua	1.3
	sys/modules/lua/Makefile			1.13
	doc/CHANGES					(manually edited)
	doc/3RDPARTY					(manually edited)

Import lua 5.4.6
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2021/04/12 02:54:08 mrg Exp $
d19 1
a19 1
SRCS+=		lauxlib.c lbaselib.c lcorolib.c ldblib.c \
@


1.11
log
@Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2014/07/19 20:21:52 christos Exp $
d27 2
@


1.11.10.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2021/04/12 02:54:08 mrg Exp $
a26 2
COPTS.lstring.c+=	${GCC_NO_STRINGOP_OVERFLOW}

@


1.10
log
@undo previous
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2014/07/19 18:38:35 lneto Exp $
d25 2
@


1.10.30.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a24 2
CWARNFLAGS.clang+=     -Wno-error=string-plus-int

@


1.10.4.1
log
@file Makefile was added on branch tls-maxphys on 2014-08-20 00:04:33 +0000
@
text
@d1 25
@


1.10.4.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 25
#	$NetBSD$

.include "../Makefile.inc"

.PATH:		${S}/../external/mit/lua/dist/src \
		${S}/../lib/libc/string

KMOD=		lua
SRCS=		lua.c

WARNS=		0

# Lua core source code
SRCS+=		lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c

# Lua stdlibs source code
SRCS+=		lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c \
		lstrlib.c ltablib.c lutf8lib.c linit.c

CPPFLAGS+=	-I${S}/../external/mit/lua/dist/src \
		-I${S}/sys

.include <bsd.kmodule.mk>
@


1.9
log
@XXX: remove file that includes userland headers.
@
text
@d19 1
a19 1
SRCS+=		lauxlib.c lbaselib.c lbitlib.c lcorolib.c \
@


1.8
log
@lua: updated from 5.1 to 5.3 work3

* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2014/07/19 17:21:24 lneto Exp $
d19 1
a19 1
SRCS+=		lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c \
@


1.7
log
@lua(4): added debug library
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2013/12/27 22:09:43 christos Exp $
d11 1
a11 1
WARNS=		1
d14 3
a16 22
SRCS+=		lapi.c \
		lcode.c \
		ldebug.c \
		ldo.c \
		ldump.c \
		lfunc.c \
		lgc.c \
		llex.c \
		lmem.c \
		lobject.c \
		lopcodes.c \
		lparser.c \
		lstate.c \
		lstring.c \
		ltable.c \
		ltm.c \
		lundump.c \
		lvm.c \
		lzio.c

# Lua auxlib source code
SRCS+=		lauxlib.c
d19 2
a20 10
SRCS+=		lbaselib.c \
		ldblib.c \
		lstrlib.c \
		ltablib.c \
		linit.c

# Compatability code
SRCS+=		strcspn.c \
		strpbrk.c \
		strspn.c
@


1.6
log
@Remove strncat now that it is part of the kernel anyway.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2013/12/02 06:07:22 lneto Exp $
d39 1
@


1.6.2.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2014/07/19 20:21:52 christos Exp $
d11 1
a11 1
WARNS=		0
d14 22
a35 3
SRCS+=		lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c
d38 9
a46 2
SRCS+=		lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c \
		lstrlib.c ltablib.c lutf8lib.c linit.c
@


1.6.6.1
log
@file Makefile was added on branch yamt-pagecache on 2014-05-22 11:41:07 +0000
@
text
@d1 51
@


1.6.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 51
#	$NetBSD$

.include "../Makefile.inc"

.PATH:		${S}/../external/mit/lua/dist/src \
		${S}/../lib/libc/string

KMOD=		lua
SRCS=		lua.c

WARNS=		1

# Lua core source code
SRCS+=		lapi.c \
		lcode.c \
		ldebug.c \
		ldo.c \
		ldump.c \
		lfunc.c \
		lgc.c \
		llex.c \
		lmem.c \
		lobject.c \
		lopcodes.c \
		lparser.c \
		lstate.c \
		lstring.c \
		ltable.c \
		ltm.c \
		lundump.c \
		lvm.c \
		lzio.c

# Lua auxlib source code
SRCS+=		lauxlib.c

# Lua stdlibs source code
SRCS+=		lbaselib.c \
		lstrlib.c \
		ltablib.c \
		linit.c

# Compatability code
SRCS+=		strcspn.c \
		strpbrk.c \
		strspn.c

CPPFLAGS+=	-I${S}/../external/mit/lua/dist/src \
		-I${S}/sys

.include <bsd.kmodule.mk>
@


1.6.4.1
log
@file Makefile was added on branch rmind-smpnet on 2014-05-18 17:46:11 +0000
@
text
@d1 51
@


1.6.4.2
log
@sync with head
@
text
@a0 51
#	$NetBSD$

.include "../Makefile.inc"

.PATH:		${S}/../external/mit/lua/dist/src \
		${S}/../lib/libc/string

KMOD=		lua
SRCS=		lua.c

WARNS=		1

# Lua core source code
SRCS+=		lapi.c \
		lcode.c \
		ldebug.c \
		ldo.c \
		ldump.c \
		lfunc.c \
		lgc.c \
		llex.c \
		lmem.c \
		lobject.c \
		lopcodes.c \
		lparser.c \
		lstate.c \
		lstring.c \
		ltable.c \
		ltm.c \
		lundump.c \
		lvm.c \
		lzio.c

# Lua auxlib source code
SRCS+=		lauxlib.c

# Lua stdlibs source code
SRCS+=		lbaselib.c \
		lstrlib.c \
		ltablib.c \
		linit.c

# Compatability code
SRCS+=		strcspn.c \
		strpbrk.c \
		strspn.c

CPPFLAGS+=	-I${S}/../external/mit/lua/dist/src \
		-I${S}/sys

.include <bsd.kmodule.mk>
@


1.5
log
@merged luaconf.h of kernel and userspace Lua
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2013/12/02 04:57:41 lneto Exp $
a44 1
		strncat.c \
@


1.4
log
@put Lua auxlib and some stdlibs in lua(4)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/12/02 04:39:10 lneto Exp $
a48 2
CFLAGS+=	-include ${.CURDIR}/luaconf.h

@


1.3
log
@changed lua_Number to int64_t
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2013/10/31 16:50:14 mbalmer Exp $
d13 1
a13 1
# Lua source code
d32 8
a39 2
		lzio.c \
		# lauxlib.c \
a40 2
		lstrlib.c \
		lbaselib.c \
@


1.2
log
@fix build on arm
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2013/10/16 19:44:57 mbalmer Exp $
d47 2
a48 1
CPPFLAGS+=	-I${S}/../external/mit/lua/dist/src
@


1.1
log
@welcome lua(4), a devide driver that can create and control Lua states inside the kernel
@
text
@d1 1
a1 1
#	$NetBSD$
d45 3
a47 2
CPPFLAGS+=	-include ${.CURDIR}/luaconf.h \
		-I${S}/../external/mit/lua/dist/src
@

