/usr/src/glibc/debian/sysdeps/kfreebsd-amd64.mk is in eglibc-source 2.15-0ubuntu10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # Main library
extra_config_options = --disable-compatible-utmp --disable-multi-arch
# build 32-bit (i386) alternative library
EGLIBC_PASSES += i386
DEB_ARCH_REGULAR_PACKAGES += libc0.1-i386 libc0.1-dev-i386
libc0.1-i386_shlib_dep = libc0.1-i386 (>= $(shlib_dep_ver))
i386_configure_target = i686-kfreebsd-gnu
i386_CC = $(CC) -m32
i386_CXX = $(CXX) -m32
i386_add-ons = ports linuxthreads $(add-ons)
i386_extra_cflags = -march=pentium4 -mtune=generic
i386_extra_config_options = $(extra_config_options) --disable-profile
i386_slibdir = /lib32
i386_libdir = /usr/lib32
define libc0.1-dev-i386_extra_pkg_install
mkdir -p debian/libc0.1-dev-i386/usr/include
ln -s x86_64-kfreebsd-gnu/bits debian/libc0.1-dev-i386/usr/include/
ln -s x86_64-kfreebsd-gnu/gnu debian/libc0.1-dev-i386/usr/include/
ln -s x86_64-kfreebsd-gnu/fpu_control.h debian/libc0.1-dev-i386/usr/include/
mkdir -p debian/libc0.1-dev-i386/usr/include/x86_64-kfreebsd-gnu/gnu
cp -a debian/tmp-i386/usr/include/gnu/stubs-32.h \
debian/libc0.1-dev-i386/usr/include/x86_64-kfreebsd-gnu/gnu
mkdir -p debian/libc0.1-dev-i386/usr/include/sys
for i in `ls debian/tmp-libc/usr/include/x86_64-kfreebsd-gnu/sys` ; do \
ln -s ../x86_64-kfreebsd-gnu/sys/$$i debian/libc0.1-dev-i386/usr/include/sys/$$i ; \
done
cp -a debian/tmp-i386/usr/include/sys/vm86.h \
debian/libc0.1-dev-i386/usr/include/sys
endef
define libc0.1-i386_extra_pkg_install
mkdir -p debian/libc0.1-i386/lib
ln -sf /lib32/ld.so.1 debian/libc0.1-i386/lib
endef
|