1# @(#)Makefile 8.1 (Berkeley) 6/6/93 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PROG= calendar 7SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \ 8 ostern.c paskha.c pom.c sunpos.c 9LIBADD= m 10INTER= de_AT.ISO_8859-15 de_DE.ISO8859-1 fr_FR.ISO8859-1 \ 11 hr_HR.ISO8859-2 hu_HU.ISO8859-2 pt_BR.ISO8859-1 \ 12 pt_BR.UTF-8 ru_RU.KOI8-R ru_RU.UTF-8 uk_UA.KOI8-U 13DE_LINKS= de_DE.ISO8859-15 14FR_LINKS= fr_FR.ISO8859-15 15 16FILESGROUPS+= CALS 17CALS= calendars/calendar.all \ 18 calendars/calendar.australia \ 19 calendars/calendar.birthday \ 20 calendars/calendar.brazilian \ 21 calendars/calendar.christian \ 22 calendars/calendar.computer \ 23 calendars/calendar.croatian \ 24 calendars/calendar.dutch \ 25 calendars/calendar.freebsd \ 26 calendars/calendar.french \ 27 calendars/calendar.german \ 28 calendars/calendar.history \ 29 calendars/calendar.holiday \ 30 calendars/calendar.hungarian \ 31 calendars/calendar.judaic \ 32 calendars/calendar.lotr \ 33 calendars/calendar.music \ 34 calendars/calendar.newzealand \ 35 calendars/calendar.russian \ 36 calendars/calendar.southafrica \ 37 calendars/calendar.ukrainian \ 38 calendars/calendar.usholiday \ 39 calendars/calendar.world 40CALSDIR= ${SHAREDIR}/calendar 41 42CAL_de_AT.ISO_8859-15= calendar.feiertag 43 44CAL_de_DE.ISO8859-1= calendar.all \ 45 calendar.feiertag \ 46 calendar.geschichte \ 47 calendar.kirche \ 48 calendar.literatur \ 49 calendar.musik \ 50 calendar.wissenschaft 51 52CAL_fr_FR.ISO8859-1= calendar.all \ 53 calendar.fetes \ 54 calendar.french \ 55 calendar.jferies \ 56 calendar.proverbes 57 58CAL_hr_HR.ISO8859-2= calendar.all \ 59 calendar.praznici 60 61CAL_hu_HU.ISO8859-2= calendar.all \ 62 calendar.nevnapok \ 63 calendar.unnepek 64 65CAL_pt_BR.ISO8859-1= calendar.all \ 66 calendar.commemorative \ 67 calendar.holidays \ 68 calendar.mcommemorative 69 70CAL_pt_BR.UTF-8= calendar.all \ 71 calendar.commemorative \ 72 calendar.holidays \ 73 calendar.mcommemorative 74 75CAL_ru_RU.KOI8-R= calendar.all \ 76 calendar.common \ 77 calendar.holiday \ 78 calendar.military \ 79 calendar.orthodox \ 80 calendar.pagan 81 82CAL_ru_RU.UTF-8= calendar.all \ 83 calendar.common \ 84 calendar.holiday \ 85 calendar.military \ 86 calendar.orthodox \ 87 calendar.pagan 88 89CAL_uk_UA.KOI8-U= calendar.all \ 90 calendar.holiday \ 91 calendar.misc \ 92 calendar.orthodox 93 94.for lang in ${INTER} 95FILESGROUPS+= CALS_${lang} 96CALS_${lang}DIR= ${SHAREDIR}/calendar/${lang} 97.for file in ${CAL_${lang}} 98CALS_${lang}+= ${file:S@^@calendars/${lang}/@} 99.endfor 100.endfor 101 102 103.for link in ${DE_LINKS} 104SYMLINKS+= de_DE.ISO8859-1 ${SHAREDIR}/calendar/${link} 105.endfor 106.for link in ${FR_LINKS} 107SYMLINKS+= fr_FR.ISO8859-1 ${SHAREDIR}/calendar/${link} 108.endfor 109 110HAS_TESTS= 111SUBDIR.${MK_TESTS}+= tests 112 113.include <bsd.prog.mk> 114