|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 5.3 (Berkeley) 6/2/87 ! 7: # ! 8: ! 9: # If you want something other than Eastern United States time used on your ! 10: # system, change the line below (after finding the zone you want in the ! 11: # time zone files, or adding it to a time zone file). ! 12: # Alternately, if you discover you've got the wrong time zone, you can just ! 13: # zic -l rightzone ! 14: LOCALTIME= US/Pacific ! 15: ! 16: # If you want code inspired by certain emerging standards, add ! 17: # -DSTD_INSPIRED ! 18: # to the end of the "CFLAGS=" line. ! 19: ! 20: CFLAGS= -O ! 21: LIBC= /lib/libc.a ! 22: TZCSRCS= zic.c scheck.c ialloc.c ! 23: TZCOBJS= zic.o scheck.o ialloc.o ! 24: TZDSRCS= zdump.c ialloc.c ! 25: TZDOBJS= zdump.o ialloc.o ! 26: DOCS= Theory README Makefile newctime.3 tzfile.5 zic.8 zdump.8 ! 27: SRCS= zic.c zdump.c scheck.c ialloc.c ! 28: ! 29: # If you want to handle solar-time-based time zones, remove the ! 30: # "#define NOSOLAR" from the include file usr/include/tzfile.h. ! 31: # (and add solar87 to the DATA= line below). ! 32: DATA= asia australasia europe etcetera northamerica \ ! 33: pacificnew systemv ! 34: ! 35: all: zdump zic ! 36: ! 37: zdump: ${TZDOBJS} ${LIBC} ! 38: ${CC} ${CFLAGS} ${TZDOBJS} -o $@ ! 39: ! 40: zic: ${TZCOBJS} ${LIBC} ! 41: ${CC} ${CFLAGS} ${TZCOBJS} -o $@ ! 42: ! 43: clean: FRC ! 44: rm -f ${TZDOBJS} ${TZCOBJS} core zdump zic ! 45: ! 46: depend: FRC ! 47: mkdep ${CFLAGS} ${SRCS} ! 48: ! 49: install: FRC ! 50: ./zic ${DATA} ! 51: ./zic -d ${DESTDIR}/etc/zoneinfo -l ${LOCALTIME} ${DATA} ! 52: ! 53: lint: FRC ! 54: lint ${CFLAGS} ${TZCSRCS} ! 55: lint ${CFLAGS} ${TZDSRCS} ! 56: ! 57: tags: FRC ! 58: ctags ${SRCS} ! 59: ! 60: FRC: ! 61: ! 62: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 63: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 64: ! 65: zic.o: zic.c /usr/include/stdio.h /usr/include/ctype.h /usr/include/sys/types.h ! 66: zic.o: /usr/include/sys/stat.h /usr/include/sys/file.h /usr/include/strings.h ! 67: zic.o: /usr/include/time.h /usr/include/tzfile.h ! 68: zdump.o: zdump.c /usr/include/stdio.h /usr/include/sys/types.h ! 69: zdump.o: /usr/include/tzfile.h /usr/include/time.h ! 70: scheck.o: scheck.c /usr/include/stdio.h /usr/include/ctype.h ! 71: ialloc.o: ialloc.c /usr/include/stdio.h ! 72: ! 73: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.