put the zoneinfo library files directly in the lib/stdtime dir
This commit is contained in:
parent
ef8ec86b78
commit
d61a481169
6 changed files with 19 additions and 22 deletions
|
@ -238,17 +238,17 @@ VALIDATE_ENV = \
|
||||||
cc= cc
|
cc= cc
|
||||||
CC= $(cc) -DTZDIR=\"$(TZDIR)\"
|
CC= $(cc) -DTZDIR=\"$(TZDIR)\"
|
||||||
|
|
||||||
TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c
|
TZCSRCS= zic.c scheck.c ialloc.c
|
||||||
TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o
|
TZCOBJS= zic.o scheck.o ialloc.o
|
||||||
TZDSRCS= zdump.c localtime.c ialloc.c
|
TZDSRCS= zdump.c ialloc.c
|
||||||
TZDOBJS= zdump.o localtime.o ialloc.o
|
TZDOBJS= zdump.o ialloc.o
|
||||||
DATESRCS= date.c localtime.c logwtmp.c strftime.c asctime.c
|
DATESRCS= date.c logwtmp.c
|
||||||
DATEOBJS= date.o localtime.o logwtmp.o strftime.o asctime.o
|
DATEOBJS= date.o logwtmp.o
|
||||||
LIBSRCS= localtime.c asctime.c difftime.c
|
LIBSRCS= difftime.c
|
||||||
LIBOBJS= localtime.o asctime.o difftime.o
|
LIBOBJS= difftime.o
|
||||||
HEADERS= tzfile.h private.h
|
HEADERS= tzfile.h private.h
|
||||||
NONLIBSRCS= zic.c zdump.c scheck.c ialloc.c
|
NONLIBSRCS= zic.c zdump.c scheck.c ialloc.c
|
||||||
NEWUCBSRCS= date.c logwtmp.c strftime.c
|
NEWUCBSRCS= date.c logwtmp.c
|
||||||
SOURCES= $(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) tzselect.ksh
|
SOURCES= $(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) tzselect.ksh
|
||||||
DOCS= README Theory date.1 Makefile
|
DOCS= README Theory date.1 Makefile
|
||||||
PRIMARY_YDATA= africa antarctica asia australasia \
|
PRIMARY_YDATA= africa antarctica asia australasia \
|
||||||
|
@ -329,8 +329,8 @@ zones: $(REDO)
|
||||||
# We use the system's logwtmp in preference to ours if available.
|
# We use the system's logwtmp in preference to ours if available.
|
||||||
|
|
||||||
date: $(DATEOBJS) logwtmp.o
|
date: $(DATEOBJS) logwtmp.o
|
||||||
$(CC) $(CFLAGS) date.o logwtmp.o localtime.o asctime.o \
|
$(CC) $(CFLAGS) date.o logwtmp.o \
|
||||||
strftime.o $(LDLIBS) -o $@
|
$(LDLIBS) -o $@
|
||||||
|
|
||||||
tzselect: tzselect.ksh
|
tzselect: tzselect.ksh
|
||||||
sed \
|
sed \
|
||||||
|
@ -386,13 +386,10 @@ typecheck:
|
||||||
zonenames: $(TDATA)
|
zonenames: $(TDATA)
|
||||||
@$(AWK) '/^Zone/ { print $$2 } /^Link/ { print $$3 }' $(TDATA)
|
@$(AWK) '/^Zone/ { print $$2 } /^Link/ { print $$3 }' $(TDATA)
|
||||||
|
|
||||||
asctime.o: private.h tzfile.h
|
|
||||||
date.o: private.h
|
date.o: private.h
|
||||||
difftime.o: private.h
|
difftime.o: private.h
|
||||||
ialloc.o: private.h
|
ialloc.o: private.h
|
||||||
localtime.o: private.h tzfile.h
|
|
||||||
scheck.o: private.h
|
scheck.o: private.h
|
||||||
strftime.o: tzfile.h
|
|
||||||
zic.o: private.h tzfile.h
|
zic.o: private.h tzfile.h
|
||||||
|
|
||||||
.KEEP_STATE:
|
.KEEP_STATE:
|
||||||
|
|
|
@ -167,7 +167,7 @@ for lib in $LIBRARIES
|
||||||
echo
|
echo
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
{
|
{
|
||||||
o=`basename $f | sed -e 's/\\..\$/\.o/'`
|
o=`echo $f | sed -e 's/\\..*\$/\.o/'`
|
||||||
echo "$ACKBASE/$lib.a: $ACKBASE/$lib.a($o)"
|
echo "$ACKBASE/$lib.a: $ACKBASE/$lib.a($o)"
|
||||||
}
|
}
|
||||||
echo
|
echo
|
||||||
|
@ -177,7 +177,7 @@ for lib in $LIBRARIES
|
||||||
echo
|
echo
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
{
|
{
|
||||||
o=`basename $f | sed -e 's/\\..\$/\.o/'`
|
o=`echo $f | sed -e 's/\\..*\$/\.o/'`
|
||||||
echo "$ACKBASE/$lib.a($o): $f"
|
echo "$ACKBASE/$lib.a($o): $f"
|
||||||
|
|
||||||
ackCommands $ACKBASE/$OBJDIR/$o $f
|
ackCommands $ACKBASE/$OBJDIR/$o $f
|
||||||
|
@ -191,7 +191,7 @@ for lib in $LIBRARIES
|
||||||
echo
|
echo
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
{
|
{
|
||||||
o=`basename $f | sed -e 's/\\..\$/\.o/'`
|
o=`echo $f | sed -e 's/\\..*\$/\.o/'`
|
||||||
echo "$GNUBASE/$lib.a: $GNUBASE/$OBJDIR/$o"
|
echo "$GNUBASE/$lib.a: $GNUBASE/$OBJDIR/$o"
|
||||||
}
|
}
|
||||||
echo
|
echo
|
||||||
|
@ -200,7 +200,7 @@ for lib in $LIBRARIES
|
||||||
echo
|
echo
|
||||||
for f in $FILES
|
for f in $FILES
|
||||||
{
|
{
|
||||||
o=`basename $f | sed -e 's/\\..\$/\.o/'`
|
o=`echo $f | sed -e 's/\\..*\$/\.o/'`
|
||||||
|
|
||||||
echo "$GNUBASE/$OBJDIR/$o: $f"
|
echo "$GNUBASE/$OBJDIR/$o: $f"
|
||||||
|
|
||||||
|
@ -214,7 +214,7 @@ echo
|
||||||
#start files
|
#start files
|
||||||
for f in $STARTFILES
|
for f in $STARTFILES
|
||||||
{
|
{
|
||||||
o=`basename $f | sed -e 's/\\..\$/\.o/'`
|
o=`echo $f | sed -e 's/\\..*\$/\.o/'`
|
||||||
|
|
||||||
if [ $TYPE = "both" -o $TYPE = "ack" ]; then
|
if [ $TYPE = "both" -o $TYPE = "ack" ]; then
|
||||||
echo "all-ack: $ACKBASE/$o"
|
echo "all-ack: $ACKBASE/$o"
|
||||||
|
|
|
@ -6,9 +6,9 @@ CFLAGS="-O -D_MINIX -D_POSIX_SOURCE -D__USG -I$Z"
|
||||||
|
|
||||||
LIBRARIES=libc
|
LIBRARIES=libc
|
||||||
libc_FILES="
|
libc_FILES="
|
||||||
$Z/asctime.c
|
asctime.c
|
||||||
$Z/localtime.c
|
localtime.c
|
||||||
$Z/strftime.c
|
strftime.c
|
||||||
"
|
"
|
||||||
|
|
||||||
TYPE=both
|
TYPE=both
|
||||||
|
|
Loading…
Reference in a new issue