head	1.1;
access;
symbols
	perseant-exfatfs-base-20250801:1.1
	perseant-exfatfs-base-20240630:1.1
	cjep_sun2x:1.1.0.46
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.44
	cjep_staticlib_x-base:1.1
	phil-wifi-20200421:1.1
	phil-wifi-20200411:1.1
	phil-wifi-20200406:1.1
	pgoyette-compat-merge-20190127:1.1
	pgoyette-compat-20190127:1.1
	pgoyette-compat-20190118:1.1
	pgoyette-compat-1226:1.1
	pgoyette-compat-1126:1.1
	pgoyette-compat-1020:1.1
	pgoyette-compat-0930:1.1
	pgoyette-compat-0906:1.1
	pgoyette-compat-0728:1.1
	pgoyette-compat-0625:1.1
	pgoyette-compat-0521:1.1
	pgoyette-compat-0502:1.1
	pgoyette-compat-0422:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat-0407:1.1
	pgoyette-compat-0330:1.1
	pgoyette-compat-0322:1.1
	pgoyette-compat-0315:1.1
	pgoyette-compat:1.1.0.42
	pgoyette-compat-base:1.1
	perseant-stdc-iso10646:1.1.0.40
	perseant-stdc-iso10646-base:1.1
	prg-localcount2-base3:1.1
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.38
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan-base1:1.1
	pgoyette-localcount-20170320:1.1
	bouyer-socketcan:1.1.0.36
	bouyer-socketcan-base:1.1
	pgoyette-localcount-20170107:1.1
	pgoyette-localcount-20161104:1.1
	localcount-20160914:1.1
	pgoyette-localcount-20160806:1.1
	pgoyette-localcount-20160726:1.1
	pgoyette-localcount:1.1.0.34
	pgoyette-localcount-base:1.1
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	yamt-pagecache-base9:1.1
	yamt-pagecache-tag8:1.1
	tls-earlyentropy:1.1.0.30
	tls-earlyentropy-base:1.1
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	agc-symver:1.1.0.32
	agc-symver-base:1.1
	tls-maxphys-base:1.1
	yamt-pagecache-base8:1.1
	netbsd-5-2:1.1.0.28
	yamt-pagecache-base7:1.1
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	yamt-pagecache-base6:1.1
	yamt-pagecache-base5:1.1
	yamt-pagecache-base4:1.1
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	yamt-pagecache-base3:1.1
	yamt-pagecache-base2:1.1
	yamt-pagecache:1.1.0.26
	yamt-pagecache-base:1.1
	bouyer-quota2-nbase:1.1
	bouyer-quota2:1.1.0.24
	bouyer-quota2-base:1.1
	matt-nb5-pq3:1.1.0.22
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.20
	netbsd-5-1-RELEASE:1.1
	netbsd-5-1-RC4:1.1
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	netbsd-5-1-RC1:1.1
	netbsd-5-0-2-RELEASE:1.1
	netbsd-5-0-1-RELEASE:1.1
	jym-xensuspend-nbase:1.1
	netbsd-5-0:1.1.0.18
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.16
	jym-xensuspend-base:1.1
	netbsd-5-0-RC1:1.1
	netbsd-5:1.1.0.14
	netbsd-5-base:1.1
	yamt-pf42-base4:1.1
	yamt-pf42-base3:1.1
	hpcarm-cleanup-nbase:1.1
	yamt-pf42-base2:1.1
	yamt-pf42:1.1.0.12
	yamt-pf42-base:1.1
	mjf-devfs2:1.1.0.10
	mjf-devfs2-base:1.1
	keiichi-mipv6-nbase:1.1
	keiichi-mipv6:1.1.0.8
	keiichi-mipv6-base:1.1
	cube-autoconf:1.1.0.6
	cube-autoconf-base:1.1
	hpcarm-cleanup:1.1.0.4
	hpcarm-cleanup-base:1.1
	minoura-xpg4dl:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2000.05.28.22.41.21;	author minoura;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2000.05.28.22.41.21;	author minoura;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2000.06.02.16.13.48;	author minoura;	state Exp;
branches;
next	;


desc
@@


1.1
log
@file compile_time was initially added on branch minoura-xpg4dl.
@
text
@@


1.1.2.1
log
@Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
@
text
@a0 106
#!/usr/bin/awk -f
#
# Copyright (c)2000 Citrus Project,
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#	$Id: compile_time,v 1.1 2000/05/25 14:16:30 minoura Exp $
#

BEGIN {
    FS = "\t";
    # initialize to C locale
    split("Sun Mon Tue Wed Thu Fri Sat", abday, " ");
    split("Sunday Monday Tuesday Wednesday Thursday Friday Saturday",
	  day, " ");
    split("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec", abmon, " ");
    split("January February March April May June July August September October November December",
	  mon, " ");
    am_pm[1] = "AM"; am_pm[2] = "PM";
    d_t_fmt = "%a %b %e %H:%M:%S %Y";
    d_fmt = "%m/%d/%y";
    t_fmt = "%H:%M:%S";
    t_fmt_ampm = "%I:%M:%S %p";

    # optional;
    era = "\"+:0:0000/01/01:+*:AD:%EC %Ey\";\"+:1:-0001/12/31:-*:BC:%Ey %EC\"";
    era_d_fmt = "%m/%d/%EY";
    era_t_fmt = "";
    era_d_t_fmt = "";
    alt_digits = "";
}

/^abday\t/ {
    split($2, abday, ";");
}

/^day\t/ {
    split($2, day, ";");
}

/^abmon\t/ {
    split($2, abmon, ";");
}

/^mon\t/ {
    split($2, mon, ";");
}

/^am_pm\t/ {
    split($2, am_pm, ";");
}

/^d_t_fmt\t/ {
    d_t_fmt = $2;
}

/^d_fmt\t/ {
    d_t_fmt = $2;
}

/^t_fmt\t/ {
    d_t_fmt = $2;
}

/^t_fmt_ampm\t/ {
    d_t_fmt = $2;
}

END {
    if (era_d_fmt == "") era_d_fmt = d_fmt;
    if (era_t_fmt == "") era_t_fmt = t_fmt;
    if (era_d_t_fmt == "") era_d_t_fmt = d_fmt t_fmt;

    printf "1.0\n";		# version
    for (i = 1; i <= 7; i++) printf "%s\n", abday[i];
    for (i = 1; i <= 7; i++) printf "%s\n", day[i];
    for (i = 1; i <= 12; i++) printf "%s\n", abmon[i];
    for (i = 1; i <= 12; i++) printf "%s\n", mon[i];
    for (i = 1; i <= 2; i++) printf "%s\n", am_pm[i];
    printf "%s\n", d_t_fmt;
    printf "%s\n", d_fmt;
    printf "%s\n", t_fmt;
    printf "%s\n", t_fmt_ampm;

    # no era-/alt-representations
}
@


1.1.2.2
log
@Preserve Citrus RCS IDs for references.
@
text
@d27 1
a27 1
#	from: Id: compile_time,v 1.1 2000/05/25 14:16:30 minoura Exp
@


