pike.git / lib / modules / Calendar.pmod / tzdata / Makefile

version» Context lines:

pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:1:   # This file is in the public domain, so clarified as of   # 2009-05-17 by Arthur David Olson.      # Package name for the code distribution.   PACKAGE= tzcode      # Version numbers of the code and data distributions. - VERSION= 2015c + VERSION= 2015e      # Email address for bug reports.   BUGEMAIL= tz@iana.org      # Change the line below for your time zone (after finding the zone you want in   # the time zone files, or adding it to a time zone file).   # Alternately, if you discover you've got the wrong time zone, you can just   # zic -l rightzone   # to correct things.   # Use the command
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:113:   # -DHAVE_LOCALTIME_RZ=0 if you do not want zdump to use localtime_rz   # This defaults to 1 if a working localtime_rz seems to be available.   # localtime_rz can make zdump significantly faster, but is nonstandard.   # -DHAVE_SETTIMEOFDAY=0 if settimeofday does not exist (SVR0?)   # -DHAVE_SETTIMEOFDAY=1 if settimeofday has just 1 arg (SVR4)   # -DHAVE_SETTIMEOFDAY=2 if settimeofday uses 2nd arg (4.3BSD)   # -DHAVE_SETTIMEOFDAY=3 if settimeofday ignores 2nd arg (4.4BSD)   # -DHAVE_STDINT_H=1 if you have a pre-C99 compiler with "stdint.h"   # -DHAVE_STRFTIME_L=1 if <time.h> declares locale_t and strftime_l   # This defaults to 0 if _POSIX_VERSION < 200809, 1 otherwise. + # -DHAVE_STRDUP=0 if your system lacks the strdup function   # -DHAVE_SYMLINK=0 if your system lacks the symlink function   # -DHAVE_SYS_STAT_H=0 if your compiler lacks a "sys/stat.h"   # -DHAVE_SYS_WAIT_H=0 if your compiler lacks a "sys/wait.h"   # -DHAVE_TZSET=0 if your system lacks a tzset function   # -DHAVE_UNISTD_H=0 if your compiler lacks a "unistd.h" (Microsoft C++ 7?)   # -DHAVE_UTMPX_H=1 if your compiler has a "utmpx.h"   # -DNO_RUN_TIME_WARNINGS_ABOUT_YEAR_2000_PROBLEMS_THANK_YOU=1   # if you do not want run time warnings about formats that may cause   # year 2000 grief   # -Dssize_t=long on ancient hosts that lack ssize_t
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:284:   # Some parts of this distribution are limited to safe characters;   # others can use any UTF-8 character.   # For now, the safe characters are a safe subset of ASCII.   # The caller must set the shell variable 'sharp' to the character '#',   # since Makefile macros cannot contain '#'.   # TAB_CHAR is a single tab character, in single quotes.   TAB_CHAR= ' '   SAFE_CHARSET1= $(TAB_CHAR)' !\"'$$sharp'$$%&'\''()*+,./0123456789:;<=>?@'   SAFE_CHARSET2= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\^_`'   SAFE_CHARSET3= 'abcdefghijklmnopqrstuvwxyz{|}~' - SAFE_CHARSET= ]$(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3)- - SAFE_CHAR= '['$(SAFE_CHARSET)']' - # NONSYM_CHAR is a regular expression that matches any character - # except for a small number of symbols, where we prefer to stick with + SAFE_CHARSET= $(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3) + SAFE_CHAR= '[]'$(SAFE_CHARSET)'-]' +  + # OK_CHAR matches any character allowed in the distributed files. + # This is the same as SAFE_CHAR, except that multibyte letters are + # also allowed so that commentary can contain people's names and quote + # non-English sources. For non-letters the sources are limited to   # ASCII renderings for the convenience of maintainers whose text editors   # mishandle UTF-8 by default (e.g., XEmacs 21.4.22). - NONSYM_CHAR= '[^–—°′″≈≠≤≥±−×÷∞←→↔·•§¶«»‘’‚‛“”„‟‹›「」『』〝〞〟]' + OK_CHAR= '[][:alpha:]'$(SAFE_CHARSET)'-]'      # SAFE_LINE matches a line of safe characters. - # SAFE_SHARP_LINE is similar, except any character can follow '#'; + # SAFE_SHARP_LINE is similar, except any OK character can follow '#';   # this is so that comments can contain non-ASCII characters. - # NONSYM_LINE matches a line of non-symbols. - # VALID_LINE matches a line of any validly-encoded characters. + # OK_LINE matches a line of OK characters.   SAFE_LINE= '^'$(SAFE_CHAR)'*$$' - SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(NONSYM_CHAR)'*)?$$' - NONSYM_LINE= '^'$(NONSYM_CHAR)'*$$' - VALID_LINE= '^.*$$' + SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(OK_CHAR)'*)?$$' + OK_LINE= '^'$(OK_CHAR)'*$$'      # Flags to give 'tar' when making a distribution.   # Try to use flags appropriate for GNU tar.   GNUTARFLAGS= --numeric-owner --owner=0 --group=0 --mode=go+u,go-w   TARFLAGS= `if tar $(GNUTARFLAGS) --version >/dev/null 2>&1; \    then echo $(GNUTARFLAGS); \    else :; \    fi`      # Flags to give 'gzip' when making a distribution.   GZIPFLAGS= -9n      ###############################################################################    -  + #MAKE= make +    cc= cc   CC= $(cc) -DTZDIR=\"$(TZDIR)\"      AR= ar      # ':' on typical hosts; 'ranlib' on the ancient hosts that still need ranlib.   RANLIB= :    - TZCOBJS= zic.o scheck.o ialloc.o + TZCOBJS= zic.o   TZDOBJS= zdump.o localtime.o asctime.o   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 + NONLIBSRCS= zic.c zdump.c   NEWUCBSRCS= date.c strftime.c   SOURCES= $(HEADERS) $(LIBSRCS) $(NONLIBSRCS) $(NEWUCBSRCS) \    tzselect.ksh workman.sh   MANS= newctime.3 newstrftime.3 newtzset.3 time2posix.3 \    tzfile.5 tzselect.8 zic.8 zdump.8   MANTXTS= newctime.3.txt newstrftime.3.txt newtzset.3.txt \    time2posix.3.txt \    tzfile.5.txt tzselect.8.txt zic.8.txt zdump.8.txt \    date.1.txt   COMMON= CONTRIBUTING Makefile NEWS README Theory
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:363:   MISC= $(AWK_SCRIPTS) zoneinfo2tdf.pl   ENCHILADA= $(COMMON) $(DOCS) $(SOURCES) $(DATA) $(MISC)      # And for the benefit of csh users on systems that assume the user   # shell should be used to handle commands in Makefiles. . .      SHELL= /bin/sh      all: tzselect zic zdump libtz.a $(TABDATA)    - ALL: all date + ALL: all date $(ENCHILADA)      install: all $(DATA) $(REDO) $(MANS)    mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \    $(DESTDIR)$(LIBDIR) \    $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \    $(DESTDIR)$(MANDIR)/man8    $(ZIC) -y $(YEARISTYPE) \    -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)    cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/.    cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:467:    -e 's|\(TZVERSION\)=.*|\1=$(VERSION)|' \    <$? >$@    chmod +x $@      check: check_character_set check_white_space check_links check_sorted \    check_tables check_web      check_character_set: $(ENCHILADA)    LC_ALL=en_US.utf8 && export LC_ALL && \    sharp='#' && \ -  ! grep -Env $(SAFE_LINE) $(MANS) date.1 $(MANTXTS) \ +  ! grep -Env $(SAFE_LINE) Makefile $(MANS) date.1 $(MANTXTS) \    $(MISC) $(SOURCES) $(WEB_PAGES) && \    ! grep -Env $(SAFE_SHARP_LINE) $(TDATA) backzone \ -  iso3166.tab leapseconds yearistype.sh zone.tab && \ -  test $$(grep -Ecv $(SAFE_SHARP_LINE) Makefile) -eq 1 && \ -  ! grep -Env $(NONSYM_LINE) CONTRIBUTING NEWS README Theory \ -  $(MANS) date.1 zone1970.tab && \ -  ! grep -Env $(VALID_LINE) $(ENCHILADA) +  leapseconds yearistype.sh zone.tab && \ +  ! grep -Env $(OK_LINE) $(ENCHILADA)      check_white_space: $(ENCHILADA)    ! grep -En ' '$(TAB_CHAR)"|$$(printf '[\f\r\v]')" $(ENCHILADA)    ! grep -n '[[:space:]]$$' $(ENCHILADA)      CHECK_CC_LIST = { n = split($$1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }      check_sorted: backward backzone iso3166.tab zone.tab zone1970.tab    $(AWK) '/^Link/ {print $$3}' backward | LC_ALL=C sort -cu    $(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -cu
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:565:    touch -cmr `ls -t $(LEAP_DEPS) | sed 1q` leapseconds    for file in `ls $(MANTXTS) | sed 's/\.txt$$//'`; do \    touch -cmr `ls -t $$file workman.sh | sed 1q` $$file.txt || \    exit; \    done    touch $@      # The zics below ensure that each data file can stand on its own.   # We also do an all-files run to catch links to links.    - check_public: $(ENCHILADA) -  make maintainer-clean -  make "CFLAGS=$(GCC_DEBUG_FLAGS)" $(ENCHILADA) all + check_public: +  $(MAKE) maintainer-clean +  $(MAKE) "CFLAGS=$(GCC_DEBUG_FLAGS)" ALL    mkdir tzpublic    for i in $(TDATA) ; do \    $(zic) -v -d tzpublic $$i 2>&1 || exit; \    done    $(zic) -v -d tzpublic $(TDATA)    rm -fr tzpublic      # Check that the code works under various alternative   # implementations of time_t.   check_time_t_alternatives:    if diff -q Makefile Makefile 2>/dev/null; then \    quiet_option='-q'; \    else \    quiet_option=''; \    fi && \    zones=`$(AWK) '/^[^#]/ { print $$3 }' <zone1970.tab` && \    for type in $(TIME_T_ALTERNATIVES); do \    mkdir -p tzpublic/$$type && \ -  make clean_misc && \ -  make TOPDIR=`pwd`/tzpublic/$$type \ +  $(MAKE) clean_misc && \ +  $(MAKE) TOPDIR=`pwd`/tzpublic/$$type \    CFLAGS='$(CFLAGS) -Dtime_tz='"'$$type'" \    REDO='$(REDO)' \    install && \    diff $$quiet_option -r \    tzpublic/int64_t/etc/zoneinfo \    tzpublic/$$type/etc/zoneinfo && \    case $$type in \    int32_t) range=-2147483648,2147483647;; \    uint32_t) range=0,4294967296;; \    int64_t) continue;; \
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:633:      signatures: tzcode$(VERSION).tar.gz.asc tzdata$(VERSION).tar.gz.asc      tzcode$(VERSION).tar.gz.asc: tzcode$(VERSION).tar.gz    gpg --armor --detach-sign $?      tzdata$(VERSION).tar.gz.asc: tzdata$(VERSION).tar.gz    gpg --armor --detach-sign $?      typecheck: -  make clean +  $(MAKE) clean    for i in "long long" unsigned; \    do \ -  make CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \ +  $(MAKE) CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \    ./zdump -v Europe/Rome ; \ -  make clean ; \ +  $(MAKE) clean ; \    done      zonenames: $(TDATA)    @$(AWK) '/^Zone/ { print $$2 } /^Link/ { print $$3 }' $(TDATA)      asctime.o: private.h tzfile.h   date.o: private.h   difftime.o: private.h - ialloc.o: private.h +    localtime.o: private.h tzfile.h - scheck.o: private.h +    strftime.o: private.h tzfile.h   zdump.o: version.h   zic.o: private.h tzfile.h version.h      .KEEP_STATE:      .PHONY: ALL INSTALL all   .PHONY: check check_character_set check_links   .PHONY: check_public check_sorted check_tables   .PHONY: check_time_t_alternatives check_web check_white_space clean clean_misc   .PHONY: install maintainer-clean names posix_packrat posix_only posix_right   .PHONY: public right_only right_posix signatures tarballs typecheck   .PHONY: zonenames zones