mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 13:00:29 +00:00
704f48d7f3
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
19 lines
684 B
Bash
Executable file
19 lines
684 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
SERENITY_ROOT=../../
|
|
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/sys/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/bits/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/netinet/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/include/arpa/
|
|
mkdir -p $SERENITY_ROOT/Root/usr/lib/
|
|
cp ./*.h $SERENITY_ROOT/Root/usr/include/
|
|
cp sys/*.h $SERENITY_ROOT/Root/usr/include/sys/
|
|
cp bits/*.h $SERENITY_ROOT/Root/usr/include/bits/
|
|
cp arpa/*.h $SERENITY_ROOT/Root/usr/include/arpa/
|
|
cp netinet/*.h $SERENITY_ROOT/Root/usr/include/netinet/
|
|
cp libc.a $SERENITY_ROOT/Root/usr/lib/
|
|
cp crt0.o $SERENITY_ROOT/Root/usr/lib/
|
|
cp crti.ao $SERENITY_ROOT/Root/usr/lib/crti.o
|
|
cp crtn.ao $SERENITY_ROOT/Root/usr/lib/crtn.o
|