mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-16 16:25:23 +01:00
Add bash 2.05b
This commit is contained in:
parent
e0d72a85b2
commit
c1454a5db6
12 changed files with 293 additions and 2 deletions
23
sysa/bash-2.05b-builtins.mk
Normal file
23
sysa/bash-2.05b-builtins.mk
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.SUFFIXES = .def
|
||||
|
||||
include ../common.mk
|
||||
|
||||
CFLAGS = \
|
||||
-I. \
|
||||
-I.. \
|
||||
-I../include \
|
||||
-I../lib \
|
||||
$(COMMON_CFLAGS)
|
||||
|
||||
BUILTINS_DEFS = $(addsuffix .def, $(BUILTINS_DEF_FILES))
|
||||
BUILTINS_DEF_OBJS = $(addsuffix .o, $(BUILTINS_DEF_FILES))
|
||||
BUILTINS_STATIC_FILES = common evalstring evalfile getopt bashgetopt
|
||||
BUILTINS_STATIC_OBJS = $(addsuffix .o, $(BUILTINS_STATIC_FILES))
|
||||
BUILTINS_OBJS = $(BUILTINS_DEF_OBJS) $(BUILTINS_STATIC_OBJS)
|
||||
|
||||
%.o: %.def
|
||||
../mkbuiltins $<
|
||||
$(CC) -c $(CFLAGS) -o $@ $*.c
|
||||
|
||||
libbuiltins.a: $(BUILTINS_OBJS) builtins.o
|
||||
$(AR) cr $@ $(BUILTINS_OBJS) builtins.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue