mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-20 07:31:57 +00:00
use native getopt when available (but always use our strftime) in date
SCCS-file: Makefile SCCS-SID: 7.24
This commit is contained in:
committed by
Paul Eggert
parent
be668363f7
commit
083585a1c0
6
Makefile
6
Makefile
@ -275,13 +275,13 @@ $(TZLIB): $(LIBOBJS)
|
||||
if [ -x /usr/ucb/ranlib -o -x /usr/bin/ranlib ] ; \
|
||||
then ranlib $@ ; fi
|
||||
|
||||
# We use the system's logwtmp and strftime in preference to ours if available.
|
||||
# We use the system's getopt and logwtmp in preference to ours if available.
|
||||
|
||||
date: $(DATEOBJS)
|
||||
ar r ,lib.a logwtmp.o strftime.o
|
||||
ar r ,lib.a getopt.o 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 getopt.o \
|
||||
$(CC) $(CFLAGS) date.o localtime.o asctime.o strftime.o \
|
||||
-lc ,lib.a -o $@
|
||||
rm -f ,lib.a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user