Group :: Sistema/Base
RPM: glibc
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
glibc-helpers-2.5-alt4.M40.2/ 0000755 0000000 0000000 00000000000 11651540436 0015444 5 ustar 00root root 0000000 0000000 glibc-helpers-2.5-alt4.M40.2/Makefile 0000644 0000000 0000000 00000001264 11651540436 0017107 0 ustar 00root root 0000000 0000000 INSTALL = install
CFLAGS = $(RPM_OPT_FLAGS)
SRC = glibc_fix_nsswitch.c glibc_post_upgrade.c linkify.c post_ldconfig.c postun_ldconfig.c glibc_preinstall.c
C_TARGETS = $(SRC:.c=)
I_TARGETS = glibc_fix_nsswitch glibc_fix_nsswitch.sh glibc_post_upgrade post_ldconfig postun_ldconfig glibc_preinstall
enablekernel =
.PHONY: all install clean
all: $(C_TARGETS)
install: $(I_TARGETS)
for f in $^; do \
$(INSTALL) -pD -m700 $$f $(RPM_BUILD_ROOT)/sbin/$$f; \
done
clean:
$(RM) $(C_TARGETS) *~
glibc_preinstall: glibc_preinstall.c
gcc '-DMIN_KERNEL_VERSION="$(enablekernel)"' -Wall -W \
-Os --static -fno-stack-protector -nostartfiles -nostdlib \
glibc_preinstall.c -o glibc_preinstall