mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
Add bison 3.4.1.
This commit is contained in:
parent
fb554b3685
commit
1a93f19e9c
18 changed files with 2495 additions and 12 deletions
27
sysa/bison-3.4.1/mk/main.mk
Normal file
27
sysa/bison-3.4.1/mk/main.mk
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# SPDX-FileCopyrightText: 2020 Giovanni Mascellani gio@debian.org
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
CC=tcc
|
||||
AR="tcc -ar"
|
||||
|
||||
all: bison
|
||||
|
||||
bison: src.a lib.a
|
||||
$(CC) $(CFLAGS) -g -o $@ $^
|
||||
|
||||
%.a: FORCE
|
||||
set -e ;\
|
||||
DIR=$(basename $@ .a) ;\
|
||||
$(MAKE) CC=$(CC) AR=$(AR) CFLAGS=$(CGLAGS) -C $$DIR $@ ;\
|
||||
cp $$DIR/$@ $@
|
||||
|
||||
FORCE:
|
||||
|
||||
install:
|
||||
install bison $(PREFIX)/bin
|
||||
rm -rf $(PREFIX)/share/bison
|
||||
install -d $(PREFIX)/share/bison
|
||||
mv data/skeletons/ $(PREFIX)/share/bison
|
||||
mv data/m4sugar/ $(PREFIX)/share/bison
|
||||
Loading…
Add table
Add a link
Reference in a new issue