~ubuntu-branches/ubuntu/utopic/eglibc/utopic

« back to all changes in this revision

Viewing changes to ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Makefile

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-10-26 05:14:58 UTC
  • mfrom: (1.5.1) (4.4.22 experimental)
  • Revision ID: package-import@ubuntu.com-20121026051458-oryotr4i03ob5pab
Tags: 2.16-0ubuntu1
* Merge with unreleased 2.16 in Debian experimental, remaining changes:
  - Drop the Breaks line from libc6, which refers to a Debian transition
  - Remove the libc6 recommends on libc6-i686, which we don't build
  - Enable libc6{,-dev}-armel on armhf and libc6{-dev}-armhf on armel
  - Ship update-locale and validlocale in /usr/sbin in libc-bin
  - Don't build locales or locales-all in Ubuntu, we rely on langpacks
  - Heavily mangle the way we do service restarting on major upgrades
  - Use different MIN_KERNEL_SUPPORTED versions than Debian, due to
    buildd needs.  This should be universally bumped to 3.2.0 once all
    our buildds (including the PPA guests) are running precise kernels
  - Build i386 variants as -march=i686, build amd64 with -O3, and build
    ppc64 variants (both 64-bit and 32-bit) with -O3 -fno-tree-vectorize
  - Re-enable unsubmitted-ldconfig-cache-abi.diff and rebuild the cache
    on upgrades from previous versions that used a different constant
  - debian/patches/any/local-CVE-2012-3406.diff: switch to malloc when
    array grows too large to handle via alloca extension (CVE-2012-3406)
  - Build generic i386/i686 flavour with -mno-tls-direct-seg-refs
* Changes added/dropped with this merge while reducing our delta:
  - Stop building glibc docs from the eglibc source, and instead make
    the glibc-docs stub have a hard dependency on glibc-doc-reference
  - Remove outdated conflicts against ancient versions of ia32-libs
  - Drop the tzdata dependency from libc6, it's in required and minimal
  - Use gcc-4.7/g++-4.7 by default on all our supported architectures
  - Save our historical changelog as changelog.ubuntu in the source
  - Drop nscd's libaudit build-dep for now, as libaudit is in universe
  - Drop the unnecessary Breaks from libc6 to locales and locales-all
  - Ship xen's ld.so.conf.d snippet as /etc/ld.so.conf.d/libc6-xen.conf
* Disable hard failures on the test suite for the first upload to raring

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Use bash, not /bin/sh, for executing scripts, because the native
 
2
# FreeBSD /bin/sh does not interpret the  IFS="<tab>" read ...  command
 
3
# in localedata/tst-fmon.sh correctly.
 
4
SHELL = bash
 
5
 
 
6
# Additional header files to be installed in $prefix/include:
 
7
 
 
8
ifeq ($(subdir),misc)
 
9
sysdep_headers += \
 
10
 kenv.h \
 
11
 sys/mount.h \
 
12
 sys/kd.h \
 
13
 sys/rfork.h
 
14
endif
 
15
 
 
16
ifeq ($(subdir),stdlib)
 
17
sysdep_headers += \
 
18
 bits/mcontext.h
 
19
endif
 
20
 
 
21
# Additional functions, and particular system calls:
 
22
 
 
23
ifeq ($(subdir),csu)
 
24
# For <errno.h>.
 
25
sysdep_routines += errno-loc
 
26
endif
 
27
 
 
28
ifeq ($(subdir),assert)
 
29
CFLAGS-assert.c += -DFATAL_PREPARE_INCLUDE='<fatal-prepare.h>'
 
30
CFLAGS-assert-perr.c += -DFATAL_PREPARE_INCLUDE='<fatal-prepare.h>'
 
31
endif
 
32
 
 
33
ifeq ($(subdir),io)
 
34
# For <unistd.h>.
 
35
sysdep_routines += sys_access sys_faccessat sys_fchownat sys_fexecve sys_getcwd sys_linkat sys_lseek sys_freebsd6_lseek sys_readlinkat sys_symlinkat sys_unlinkat
 
36
# For <fcntl.h>.
 
37
sysdep_routines += sys_open sys_openat open_2
 
38
# For <sys/stat.h>.
 
39
sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat lchflags
 
40
# For <sys/statfs.h>.
 
41
sysdep_routines += fstatfs64 statfs64 sys_fstatfs sys_statfs
 
42
# For <stdio.h>
 
43
sysdep_routines += sys_renameat
 
44
# For <sys/times.h>.
 
45
sysdep_routines += sys_futimesat
 
46
# Other.
 
47
sysdep_routines += lchmod
 
48
endif
 
49
 
 
50
ifeq ($(subdir),dirent)
 
51
# For <dirent.h>.
 
52
sysdep_routines += sys_getdents sys_getdirentries getdirentries getdirentries64
 
53
endif
 
54
 
 
55
ifeq ($(subdir),misc)
 
56
# For <kenv.h>.
 
57
sysdep_routines += kenv
 
58
# For <sched.h>.
 
59
sysdep_routines += clone start_thread
 
60
# For <unistd.h>.
 
61
sysdep_routines += sys_ftruncate sys_freebsd6_ftruncate sys_truncate sys_freebsd6_truncate getosreldate
 
62
# For <sys/acl.h>.
 
63
sysdep_routines += acl_aclcheck_fd acl_aclcheck_file acl_delete_fd acl_delete_file acl_get_fd acl_get_file acl_set_fd acl_set_file
 
64
# For <sys/extattr.h>.
 
65
sysdep_routines += extattrctl extattr_delete_file extattr_get_file extattr_set_file
 
66
# For <sys/jail.h>.
 
67
sysdep_routines += jail jail_attach jail_remove jail_get jail_set
 
68
# For <sys/ktrace.h>.
 
69
sysdep_routines += ktrace utrace
 
70
# For <sys/linker.h>.
 
71
sysdep_routines += kldfind kldfirstmod kldload kldnext kldstat kldsym kldunload kldunloadf
 
72
# For <sys/mman.h>.
 
73
sysdep_routines += minherit sys_mmap sys_freebsd6_mmap sys_munmap
 
74
# For <sys/mount.h>.
 
75
sysdep_routines += fhopen sys_fhstat sys_fhstatfs fhstat fhstat64 fhstatfs fhstatfs64 getfh getfsstat getfsstat64 sys_getfsstat getmntinfo getmntinfo64 mount nmount unmount
 
76
# For <sys/rfork.h>.
 
77
sysdep_routines += rfork
 
78
# For <sys/rtprio.h>.
 
79
sysdep_routines += rtprio
 
80
# For <sys/socket.h>.
 
81
sysdep_routines += bsd_sendfile
 
82
# For <sys/stat.h>.
 
83
sysdep_routines += devname
 
84
# For <sys/sysctl.h>.
 
85
sysdep_routines += sysctl sysctlbyname sysctlnametomib
 
86
# For <sys/uio.h>.
 
87
sysdep_routines += sys_readv sys_writev
 
88
# Other.
 
89
sysdep_routines += swapon swapoff sys_aio_cancel sys_aio_error sys_aio_read sys_aio_return sys_aio_suspend sys_aio_waitcomplete sys_aio_write sys_lio_listio issetugid modfind modfnext modnext modstat obreak quotactl rfork sysarch undelete yield
 
90
# for INLINE_SYSCALL
 
91
sysdep_routines += sys_fork sys_execve sys_sigaction sys_close sys_fcntl
 
92
sysdep_routines += sys_clock_getres sys_clock_gettime sys_clock_settime
 
93
sysdep_routines += sys_ktimer_create sys_ktimer_gettime sys_ktimer_settime sys_ktimer_getoverrun sys_ktimer_delete
 
94
sysdep_routines += sys_shm_open sys_shm_unlink sys_pselect sys_semctl
 
95
endif
 
96
 
 
97
ifeq ($(subdir),posix)
 
98
# For <unistd.h>.
 
99
sysdep_routines += sys_getlogin sys_pread sys_freebsd6_pread sys_pwrite sys_freebsd6_pwrite sys_setlogin sys_read sys_write
 
100
# for <sched.h>
 
101
sysdep_routines += sys_cpuset_getaffinity sys_cpuset_setaffinity
 
102
endif
 
103
 
 
104
ifeq ($(subdir),inet)
 
105
sysdep_headers += net/ethernet.h net/if_ether.h
 
106
endif
 
107
 
 
108
ifeq ($(subdir),time)
 
109
# For <sys/timex.h>.
 
110
sysdep_routines += ntp_adjtime ntp_gettime
 
111
endif
 
112
 
 
113
ifeq ($(subdir),socket)
 
114
sysdep_routines += sa_len sys_bind sys_connect sys_sendto
 
115
endif
 
116
 
 
117
# Linuxthreads dependencies.
 
118
 
 
119
ifeq ($(subdir),posix)
 
120
sysdep_headers += bits/initspin.h
 
121
endif
 
122
 
 
123
# Don't compile the ctype glue code, since we have a much better <ctype.h>
 
124
# than the old non-GNU C library.
 
125
inhibit-glue = yes
 
126
 
 
127
# Special ELF hacks.
 
128
ifeq ($(subdir),elf)
 
129
sysdep-rtld-routines += dl-brk dl-sbrk
 
130
sysdep_routines += sys_umtx
 
131
endif
 
132
 
 
133
ifeq ($(subdir),sunrpc)
 
134
sysdep_headers += nfs/nfs.h
 
135
endif