(utmpd-routines): Add utmpd.
authordrepper <drepper>
Tue, 3 Jun 1997 21:44:27 +0000 (21:44 +0000)
committerdrepper <drepper>
Tue, 3 Jun 1997 21:44:27 +0000 (21:44 +0000)
(extra-objs): Add utmpd objects to get dependencies.
(distribute): Add sources for utmpd.
(subdir-dirs): Define.

login/Makefile

index 406b5cc..05913ee 100644 (file)
@@ -29,11 +29,13 @@ routines := getutent getutent_r getutid getutline getutid_r getutline_r \
 
 others = utmpd
 install-sbin = utmpd
-utmpd-routines := connection database error request xtmp
+utmpd-routines := utmpd connection database error request xtmp
+extra-objs := $(utmpd-routines:=.o)
 
 distribute := utmp-private.h programs/xtmp.h programs/utmpd.h \
-             programs/utmpd-private.h
+             programs/utmpd-private.h $(utmpd-routines:%=programs/%.c)
 
+subdir-dirs = programs
 vpath %.c programs
 
 # Build the -lutil library with these extra functions.