|
|
@@ -246,13 +246,13 @@ TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c
|
|
|
TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o
|
|
|
TZDSRCS= zdump.c localtime.c ialloc.c
|
|
|
TZDOBJS= zdump.o localtime.o ialloc.o
|
|
|
-DATESRCS= date.c localtime.c logwtmp.c strftime.c asctime.c
|
|
|
-DATEOBJS= date.o localtime.o logwtmp.o strftime.o asctime.o
|
|
|
+DATESRCS= date.c localtime.c strftime.c asctime.c
|
|
|
+DATEOBJS= date.o localtime.o strftime.o asctime.o
|
|
|
LIBSRCS= localtime.c asctime.c difftime.c
|
|
|
LIBOBJS= localtime.o asctime.o difftime.o
|
|
|
HEADERS= tzfile.h private.h
|
|
|
NONLIBSRCS= zic.c zdump.c scheck.c ialloc.c
|
|
|
-NEWUCBSRCS= date.c logwtmp.c strftime.c
|
|
|
+NEWUCBSRCS= date.c strftime.c
|
|
|
SOURCES= $(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) tzselect.ksh
|
|
|
MANS= newctime.3 newstrftime.3 newtzset.3 time2posix.3 \
|
|
|
tzfile.5 tzselect.8 zic.8 zdump.8
|
|
|
@@ -348,15 +348,9 @@ $(TZLIB): $(LIBOBJS)
|
|
|
if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
|
|
|
then ranlib $@ ; fi
|
|
|
|
|
|
-# We use the system's logwtmp in preference to ours if available.
|
|
|
-
|
|
|
date: $(DATEOBJS)
|
|
|
- ar r ,lib.a logwtmp.o
|
|
|
- if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
|
|
|
- then ranlib ,lib.a ; fi
|
|
|
$(CC) $(CFLAGS) date.o localtime.o asctime.o strftime.o \
|
|
|
- $(LDLIBS) -lc ,lib.a -o $@
|
|
|
- rm -f ,lib.a
|
|
|
+ $(LDLIBS) -lc -o $@
|
|
|
|
|
|
tzselect: tzselect.ksh
|
|
|
sed \
|