makefile

来自「Glibc 2.3.2源代码(解压后有100多M)」· 代码 · 共 42 行

TXT
42
字号
# XXX For now always link against the syscalls export file.# This is a hack until the import/export stuff is worked out.+postctor += /lib/syscalls.expifeq ($(subdir),csu)sysdep_routines += aix-syscalls## The foo.c is a workaround for the linker complaining about no input files.$(objpfx)aix-syscalls.o : /lib/syscalls.exp	echo "static int a;" > foo.c	$(CC) -c foo.c	ld -bM:SRE -bpT:0x00000000 -bpD:0x00000000 -bnoentry -bI:/lib/syscalls.exp -bE:/lib/syscalls.exp foo.o -o $@	rm foo.c foo.oendififeq ($(subdir),misc)sysdep_routines  += dl-error dl-support dl-libc dl-open dl-sym \		    dl-close dl-addr uitruncstatic-only-routines = gprsave0 gprrest0 gprsave1 gprrest1 fprsave fprrestendififeq ($(subdir),login)sysdep_routines += setutxent getutxent endutxent getutxid getutxline \                   pututxline utmpxname#sysdep_headers += utmpx.h bits/utmpx.h#sysdep_headers += bits/utmp.h bits/utmpx.hendif# Don't compile the ctype glue code, since there is no old non-GNU C library.inhibit-glue = yes# XXX Don't know yet why this is needed in the moment.ifeq ($(subdir),timezone)CPPFLAGS-zic.c = -Dunixendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?