head	1.2;
access;
symbols
	pkgsrc-2026Q1:1.2.0.46
	pkgsrc-2026Q1-base:1.2
	pkgsrc-2025Q4:1.2.0.44
	pkgsrc-2025Q4-base:1.2
	pkgsrc-2025Q3:1.2.0.42
	pkgsrc-2025Q3-base:1.2
	pkgsrc-2025Q2:1.2.0.40
	pkgsrc-2025Q2-base:1.2
	pkgsrc-2025Q1:1.2.0.38
	pkgsrc-2025Q1-base:1.2
	pkgsrc-2024Q4:1.2.0.36
	pkgsrc-2024Q4-base:1.2
	pkgsrc-2024Q3:1.2.0.34
	pkgsrc-2024Q3-base:1.2
	pkgsrc-2024Q2:1.2.0.32
	pkgsrc-2024Q2-base:1.2
	pkgsrc-2024Q1:1.2.0.30
	pkgsrc-2024Q1-base:1.2
	pkgsrc-2023Q4:1.2.0.28
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.26
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.24
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.2.0.22
	pkgsrc-2023Q1-base:1.2
	pkgsrc-2022Q4:1.2.0.20
	pkgsrc-2022Q4-base:1.2
	pkgsrc-2022Q3:1.2.0.18
	pkgsrc-2022Q3-base:1.2
	pkgsrc-2022Q2:1.2.0.16
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.14
	pkgsrc-2022Q1-base:1.2
	pkgsrc-2021Q4:1.2.0.12
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.10
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.8
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.6
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.4
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.2
	pkgsrc-2020Q3-base:1.2;
locks; strict;
comment	@# @;


1.2
date	2020.07.11.13.48.49;	author nia;	state Exp;
branches;
next	1.1;
commitid	4tbbNsRKOAs1pFfC;

1.1
date	2020.07.08.14.25.38;	author nia;	state Exp;
branches;
next	;
commitid	ehM7sA5VqDROHhfC;


desc
@@


1.2
log
@lua-compat53: Update to 0.9

This update makes it possible to use the module with Lua 5.4.

I added support for testing, but this doesn't seem particularly
useful for non-developers since its output is obscure, but it
can at least be used to demonstrate that the module loads and
the tests don't fail to run.
@
text
@# $NetBSD: Makefile,v 1.1 2020/07/08 14:25:38 nia Exp $

CFLAGS+=	-fPIC -Wall
LDFLAGS+=	-shared

all: utf8.so table.so string.so tests/testmod.so

.c.o:
	$(CC) $(CFLAGS) -c $<

testmod.o: tests/testmod.c
	$(CC) $(CFLAGS) -Ic-api/ -c $<

utf8.so: lutf8lib.o
	$(CC) $(LDFLAGS) -o $@@ lutf8lib.o

table.so: ltablib.o
	$(CC) $(LDFLAGS) -o $@@ ltablib.o

string.so: lstrlib.o
	$(CC) $(LDFLAGS) -o $@@ lstrlib.o

tests/testmod.so: testmod.o
	$(CC) $(LDFLAGS) -o $@@ testmod.o
@


1.1
log
@devel: Add lua-compat53. Based on work by Jonathan Buschmann in wip.

This is a small module that aims to make it easier to write Lua
code in a Lua-5.3-style that runs on Lua 5.3, 5.2, and 5.1.

It does *not* make Lua 5.2 (or even 5.1) entirely compatible
with Lua 5.3, but it brings the API closer to that of Lua 5.3.
@
text
@d1 1
a1 1
# $NetBSD$
d6 1
a6 1
all: utf8.so table.so string.so
d11 3
d22 3
@

