mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
login: Re-flow and sort multiline Makefile definitions
This commit is contained in:
parent
79e472f0f8
commit
be3e28545f
@ -23,29 +23,71 @@ subdir := login
|
|||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
headers := utmp.h bits/utmp.h lastlog.h pty.h
|
headers := \
|
||||||
|
bits/utmp.h \
|
||||||
|
lastlog.h \
|
||||||
|
pty.h \
|
||||||
|
utmp.h \
|
||||||
|
# headers
|
||||||
|
|
||||||
routines := getlogin getlogin_r setlogin getlogin_r_chk \
|
routines := \
|
||||||
getutent getutent_r getutid getutline getutid_r getutline_r \
|
forkpty \
|
||||||
utmp_file utmpname updwtmp getpt grantpt unlockpt ptsname \
|
getlogin \
|
||||||
ptsname_r_chk login login_tty logout logwtmp openpty forkpty
|
getlogin_r \
|
||||||
|
getlogin_r_chk \
|
||||||
|
getpt \
|
||||||
|
getutent \
|
||||||
|
getutent_r \
|
||||||
|
getutid \
|
||||||
|
getutid_r \
|
||||||
|
getutline \
|
||||||
|
getutline_r \
|
||||||
|
grantpt \
|
||||||
|
login \
|
||||||
|
login_tty \
|
||||||
|
logout \
|
||||||
|
logwtmp \
|
||||||
|
openpty \
|
||||||
|
ptsname \
|
||||||
|
ptsname_r_chk \
|
||||||
|
setlogin \
|
||||||
|
unlockpt \
|
||||||
|
updwtmp \
|
||||||
|
utmp_file \
|
||||||
|
utmpname \
|
||||||
|
# routines
|
||||||
|
|
||||||
CFLAGS-grantpt.c += -DLIBEXECDIR='"$(libexecdir)"'
|
CFLAGS-grantpt.c += -DLIBEXECDIR='"$(libexecdir)"'
|
||||||
|
|
||||||
others = utmpdump
|
others = utmpdump
|
||||||
|
|
||||||
ifeq (yes,$(build-pt-chown))
|
ifeq (yes,$(build-pt-chown))
|
||||||
others += pt_chown
|
others += \
|
||||||
others-pie = pt_chown
|
pt_chown \
|
||||||
|
# others
|
||||||
|
others-pie = \
|
||||||
|
pt_chown \
|
||||||
|
# others-pie
|
||||||
install-others-programs = $(inst_libexecdir)/pt_chown
|
install-others-programs = $(inst_libexecdir)/pt_chown
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir-dirs = programs
|
subdir-dirs = programs
|
||||||
vpath %.c programs
|
vpath %.c programs
|
||||||
|
|
||||||
tests := tst-utmp tst-utmpx tst-grantpt tst-ptsname tst-getlogin tst-updwtmpx \
|
tests := \
|
||||||
tst-pututxline-lockfail tst-pututxline-cache tst-utmp-size tst-utmp-size-64 \
|
tst-getlogin \
|
||||||
tst-utmp-unsigned tst-utmp-unsigned-64
|
tst-grantpt \
|
||||||
|
tst-ptsname \
|
||||||
|
tst-pututxline-cache \
|
||||||
|
tst-pututxline-lockfail \
|
||||||
|
tst-updwtmpx \
|
||||||
|
tst-utmp \
|
||||||
|
tst-utmp-size \
|
||||||
|
tst-utmp-size-64 \
|
||||||
|
tst-utmp-unsigned \
|
||||||
|
tst-utmp-unsigned-64 \
|
||||||
|
tst-utmpx \
|
||||||
|
# tests
|
||||||
|
|
||||||
CFLAGS-tst-utmp-size-64.c += -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
|
CFLAGS-tst-utmp-size-64.c += -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
|
||||||
CFLAGS-tst-utmp-unsigned-64.c += -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
|
CFLAGS-tst-utmp-unsigned-64.c += -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
|
||||||
|
Loading…
Reference in New Issue
Block a user