Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

391 lines
14 KiB

27 years ago
27 years ago
22 years ago
23 years ago
21 years ago
23 years ago
20 years ago
23 years ago
23 years ago
23 years ago
  1. # $OpenBSD: Makefile,v 1.232 2006/01/04 20:38:59 miod Exp $
  2. TZDIR= /usr/share/zoneinfo
  3. LOCALTIME= Canada/Mountain
  4. NOOBJ= oobj
  5. .if exists(etc.${MACHINE}/Makefile.inc)
  6. .include "etc.${MACHINE}/Makefile.inc"
  7. .endif
  8. # -rw-r--r--
  9. BINOWN= root
  10. BINGRP= wheel
  11. BIN1= changelist ccd.conf csh.cshrc csh.login csh.logout daily dhcpd.conf \
  12. dhcpd.interfaces exports ftpusers ftpchroot gettytab group hosts \
  13. hosts.lpd inetd.conf ksh.kshrc locate.rc man.conf monthly motd \
  14. mrouted.conf myname netstart networks newsyslog.conf phones printcap \
  15. protocols rbootd.conf rc rc.conf rc.local rc.securelevel rc.shutdown \
  16. remote rpc security services shells spamd.conf syslog.conf weekly \
  17. etc.${MACHINE}/disktab dhclient.conf mailer.conf ntpd.conf \
  18. moduli pf.os sensorsd.conf ifstated.conf
  19. .if ${MACHINE} != "mvme68k" && ${MACHINE} != "mvme88k" && \
  20. ${MACHINE} != "vax"
  21. BIN1+= wsconsctl.conf
  22. .endif
  23. # -rw-rw-r--
  24. BIN2= motd
  25. PCS= pcs750.bin
  26. WCS1= wcs fppwcs poc poc1 poc2 fppoc
  27. WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
  28. # Use NOGZIP on architectures where the gzip'ing would take too much time
  29. # (pmax or slower :-)). This way you get only tar'ed snap files and you can
  30. # gzip them on a faster machine
  31. .ifndef NOGZIP
  32. GZIP?= gzip
  33. GZIPFLAGS?= -9
  34. GZIPEXT?= .gz
  35. .else
  36. GZIP= cat
  37. GZIPFLAGS=
  38. GZIPEXT=
  39. .endif
  40. all clean cleandir depend etc install lint:
  41. .ifndef DESTDIR
  42. distribution-etc-root-var distribution distrib-dirs release snapshot:
  43. @echo setenv DESTDIR before doing that!
  44. @false
  45. .else
  46. distribution-etc-root-var: distrib-dirs
  47. ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
  48. ksh ttys.pty | cat etc.${MACHINE}/ttys - > ${DESTDIR}/etc/ttys && \
  49. chown ${BINOWN} ${DESTDIR}/etc/ttys && \
  50. chgrp ${BINGRP} ${DESTDIR}/etc/ttys && \
  51. chmod 644 ${DESTDIR}/etc/ttys
  52. cat sysctl.conf etc.${MACHINE}/sysctl.conf > ${DESTDIR}/etc/sysctl.conf && \
  53. chown ${BINOWN} ${DESTDIR}/etc/sysctl.conf && \
  54. chgrp ${BINGRP} ${DESTDIR}/etc/sysctl.conf && \
  55. chmod 644 ${DESTDIR}/etc/sysctl.conf
  56. cat fbtab.head etc.${MACHINE}/fbtab fbtab.tail > ${DESTDIR}/etc/fbtab && \
  57. chown ${BINOWN} ${DESTDIR}/etc/fbtab && \
  58. chgrp ${BINGRP} ${DESTDIR}/etc/fbtab && \
  59. chmod 644 ${DESTDIR}/etc/fbtab
  60. awk -f ${.CURDIR}/mklogin.conf `test -f etc.${MACHINE}/login.conf.overrides && echo etc.${MACHINE}/login.conf.overrides` < ${.CURDIR}/login.conf.in > \
  61. ${DESTDIR}/etc/login.conf && \
  62. chown ${BINOWN}:${BINGRP} ${DESTDIR}/etc/login.conf && \
  63. chmod 644 ${DESTDIR}/etc/login.conf
  64. ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc
  65. ${INSTALL} -c -o root -g wheel -m 600 hosts.equiv ${DESTDIR}/etc
  66. ${INSTALL} -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root
  67. ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
  68. pwd_mkdb -p -d ${DESTDIR}/etc /etc/master.passwd
  69. ${INSTALL} -c -o root -g wheel -m 600 bgpd.conf ${DESTDIR}/etc
  70. ${INSTALL} -c -o root -g wheel -m 600 ospfd.conf ${DESTDIR}/etc
  71. ${INSTALL} -c -o root -g wheel -m 600 pf.conf ${DESTDIR}/etc
  72. ${INSTALL} -c -o root -g wheel -m 600 hostapd.conf ${DESTDIR}/etc
  73. ${INSTALL} -c -o root -g wheel -m 600 ipsec.conf ${DESTDIR}/etc
  74. ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \
  75. etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
  76. cd root; \
  77. ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \
  78. ${DESTDIR}/root/.cshrc; \
  79. ${INSTALL} -c -o root -g wheel -m 600 dot.klogin \
  80. ${DESTDIR}/root/.klogin; \
  81. ${INSTALL} -c -o root -g wheel -m 644 dot.login \
  82. ${DESTDIR}/root/.login; \
  83. ${INSTALL} -c -o root -g wheel -m 644 dot.profile \
  84. ${DESTDIR}/root/.profile; \
  85. rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
  86. ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \
  87. ${DESTDIR}/.cshrc; \
  88. ${INSTALL} -c -o root -g wheel -m 644 dot.profile \
  89. ${DESTDIR}/.profile;
  90. cd skel; \
  91. ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \
  92. ${DESTDIR}/etc/skel/.cshrc; \
  93. ${INSTALL} -c -o root -g wheel -m 644 dot.login \
  94. ${DESTDIR}/etc/skel/.login; \
  95. ${INSTALL} -c -o root -g wheel -m 644 dot.mailrc \
  96. ${DESTDIR}/etc/skel/.mailrc; \
  97. ${INSTALL} -c -o root -g wheel -m 644 dot.profile \
  98. ${DESTDIR}/etc/skel/.profile
  99. cd kerberosV; \
  100. ${INSTALL} -c -o root -g wheel -m 644 README \
  101. ${DESTDIR}/etc/kerberosV; \
  102. ${INSTALL} -c -o root -g wheel -m 644 krb5.conf.example \
  103. ${DESTDIR}/etc/kerberosV
  104. cd amd; \
  105. ${INSTALL} -c -o root -g wheel -m 644 master.sample \
  106. ${DESTDIR}/etc/amd
  107. cd mtree; \
  108. ${INSTALL} -c -o root -g wheel -m 600 special \
  109. ${DESTDIR}/etc/mtree; \
  110. ${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \
  111. ${DESTDIR}/etc/mtree; \
  112. ${INSTALL} -c -o root -g wheel -m 444 BSD.local.dist \
  113. ${DESTDIR}/etc/mtree; \
  114. ${INSTALL} -c -o root -g wheel -m 444 BSD.x11.dist \
  115. ${DESTDIR}/etc/mtree
  116. cd ppp; \
  117. ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \
  118. ${DESTDIR}/etc/ppp; \
  119. ${INSTALL} -c -o root -g wheel -m 600 options \
  120. ${DESTDIR}/etc/ppp; \
  121. ${INSTALL} -c -o root -g wheel -m 600 options.leaf \
  122. ${DESTDIR}/etc/ppp; \
  123. ${INSTALL} -c -o root -g wheel -m 600 options.sample \
  124. ${DESTDIR}/etc/ppp; \
  125. ${INSTALL} -c -o root -g wheel -m 600 chatscript.sample \
  126. ${DESTDIR}/etc/ppp; \
  127. ${INSTALL} -c -o root -g wheel -m 600 pap-secrets \
  128. ${DESTDIR}/etc/ppp; \
  129. ${INSTALL} -c -o root -g wheel -m 600 ppp.conf.sample \
  130. ${DESTDIR}/etc/ppp; \
  131. ${INSTALL} -c -o root -g wheel -m 644 ppp.linkup.sample \
  132. ${DESTDIR}/etc/ppp; \
  133. ${INSTALL} -c -o root -g wheel -m 644 ppp.linkdown.sample \
  134. ${DESTDIR}/etc/ppp; \
  135. ${INSTALL} -c -o root -g wheel -m 644 ppp.secret.sample \
  136. ${DESTDIR}/etc/ppp
  137. cd afs; \
  138. ${INSTALL} -c -o root -g wheel -m 644 afsd.conf \
  139. ${DESTDIR}/etc/afs; \
  140. ${INSTALL} -c -o root -g wheel -m 644 ThisCell \
  141. ${DESTDIR}/etc/afs; \
  142. ${INSTALL} -c -o root -g wheel -m 644 CellServDB \
  143. ${DESTDIR}/etc/afs; \
  144. ${INSTALL} -c -o root -g wheel -m 644 SuidCells \
  145. ${DESTDIR}/etc/afs; \
  146. ${INSTALL} -c -o root -g wheel -m 644 README \
  147. ${DESTDIR}/etc/afs
  148. cd systrace; \
  149. ${INSTALL} -c -o root -g wheel -m 600 usr_sbin_lpd \
  150. ${DESTDIR}/etc/systrace; \
  151. ${INSTALL} -c -o root -g wheel -m 600 usr_sbin_named \
  152. ${DESTDIR}/etc/systrace;
  153. cd bind; \
  154. ${INSTALL} -c -o root -g named -m 640 named-simple.conf \
  155. ${DESTDIR}/var/named/etc/named.conf; \
  156. ${INSTALL} -c -o root -g named -m 640 named-*.conf \
  157. ${DESTDIR}/var/named/etc; \
  158. ${INSTALL} -c -o root -g wheel -m 644 db.localhost \
  159. ${DESTDIR}/var/named/standard/localhost; \
  160. ${INSTALL} -c -o root -g wheel -m 644 db.loopback \
  161. ${DESTDIR}/var/named/standard/loopback; \
  162. ${INSTALL} -c -o root -g wheel -m 644 db.loopback6.arpa \
  163. ${DESTDIR}/var/named/standard/loopback6.arpa; \
  164. ${INSTALL} -c -o root -g wheel -m 644 root.hint \
  165. ${DESTDIR}/var/named/standard; \
  166. /bin/rm -f ${DESTDIR}/etc/localtime
  167. ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
  168. /bin/rm -f ${DESTDIR}/etc/rmt
  169. ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt
  170. ${INSTALL} -c -o root -g wheel -m 644 minfree \
  171. ${DESTDIR}/var/crash
  172. ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \
  173. ${DESTDIR}/etc/dumpdates
  174. ${INSTALL} -c -o root -g crontab -m 660 /dev/null \
  175. ${DESTDIR}/var/cron/at.deny
  176. ${INSTALL} -c -o root -g crontab -m 660 /dev/null \
  177. ${DESTDIR}/var/cron/cron.deny
  178. ${INSTALL} -c -o root -g wheel -m 600 /dev/null \
  179. ${DESTDIR}/var/cron/log
  180. ${INSTALL} -c -o root -g wheel -m 444 /dev/null \
  181. ${DESTDIR}/var/db/locate.database
  182. ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
  183. ${DESTDIR}/var/log/authlog
  184. ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
  185. ${DESTDIR}/var/log/daemon
  186. ${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
  187. ${DESTDIR}/var/log/failedlogin
  188. ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
  189. ${DESTDIR}/var/log/ftpd
  190. ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
  191. ${DESTDIR}/var/log/lastlog
  192. ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
  193. ${DESTDIR}/var/log/lpd-errs
  194. ${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
  195. ${DESTDIR}/var/log/maillog
  196. ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
  197. ${DESTDIR}/var/log/messages
  198. ${INSTALL} -c -o ${BINOWN} -g wheel -m 600 /dev/null \
  199. ${DESTDIR}/var/log/secure
  200. ${INSTALL} -c -o ${BINOWN} -g wheel -m 664 /dev/null \
  201. ${DESTDIR}/var/log/sendmail.st
  202. ${INSTALL} -c -o ${BINOWN} -g wheel -m 644 /dev/null \
  203. ${DESTDIR}/var/log/wtmp
  204. ${INSTALL} -c -o ${BINOWN} -g wheel -m 640 /dev/null \
  205. ${DESTDIR}/var/log/xferlog
  206. ${INSTALL} -c -o daemon -g staff -m 664 /dev/null \
  207. ${DESTDIR}/var/msgs/bounds
  208. ${INSTALL} -c -o ${BINOWN} -g utmp -m 664 /dev/null \
  209. ${DESTDIR}/var/run/utmp
  210. .if ${MACHINE} == "vax"
  211. uudecode -p etc.vax/${PCS}.uu > ${DESTDIR}/${PCS} && \
  212. chown ${BINOWN} ${DESTDIR}/${PCS} && \
  213. chgrp ${BINGRP} ${DESTDIR}/${PCS} && \
  214. chmod 644 ${DESTDIR}/${PCS}
  215. .endif
  216. cd ../gnu/usr.sbin/sendmail/cf/cf && exec ${MAKE} distribution
  217. cd ../usr.sbin/ypserv/ypinit && exec ${MAKE} distribution
  218. cd ../usr.bin/ssh && exec ${MAKE} distribution
  219. cd ../usr.sbin/httpd && exec ${MAKE} -f Makefile.bsd-wrapper distribution
  220. cd ../lib/libssl && exec ${MAKE} distribution
  221. cd ../gnu/usr.bin/lynx && exec ${MAKE} -f Makefile.bsd-wrapper distribution
  222. cd ../usr.bin/mail && exec ${MAKE} distribution
  223. cd mail && exec ${MAKE} distribution
  224. ${INSTALL} -c -o root -g wheel -m 600 root/root.mail \
  225. ${DESTDIR}/var/mail/root
  226. ${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \
  227. ${DESTDIR}/etc/sudoers
  228. distribution:
  229. exec ${SUDO} ${MAKE} distribution-etc-root-var
  230. cd .. && exec ${SUDO} ${MAKE} install
  231. distrib-dirs:
  232. if [ ! -d ${DESTDIR}/. ]; then \
  233. ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}; \
  234. fi
  235. mtree -qdef mtree/4.4BSD.dist -p ${DESTDIR}/ -U
  236. if [ ! -d ${DESTDIR}/usr/src ]; then \
  237. ${INSTALL} -d -o root -g wsrc -m 775 ${DESTDIR}/usr/src; \
  238. fi
  239. cd ${DESTDIR}/; rm -f sys; ln -s usr/src/sys sys
  240. .ifndef RELEASEDIR
  241. release:
  242. @echo setenv RELEASEDIR before building a release.
  243. @false
  244. .else
  245. release: distribution snap_pre snap_md
  246. cd ${.CURDIR}/../distrib/notes && ${MAKE} && exec ${SUDO} ${MAKE} install
  247. cd ${.CURDIR}/../distrib/sets && exec ${SUDO} sh maketars ${OSrev}
  248. -cp ${DESTDIR}/snapshot/*bsd* ${RELEASEDIR}
  249. -cp ${DESTDIR}/snapshot/*boot* ${RELEASEDIR}
  250. -cp ${DESTDIR}/snapshot/cdbr ${RELEASEDIR}
  251. -cp ${DESTDIR}/snapshot/*BOOT* ${RELEASEDIR}
  252. -cp ${DESTDIR}/snapshot/cd*.iso ${RELEASEDIR}
  253. -cp ${DESTDIR}/snapshot/Packages ${RELEASEDIR}
  254. -cp ${DESTDIR}/snapshot/INSTALL.* ${RELEASEDIR}
  255. -cp ${DESTDIR}/snapshot/*.fs ${DESTDIR}/snapshot/*.fs.gz ${RELEASEDIR}
  256. -cd ${RELEASEDIR}; \
  257. md5 *bsd!(*.gz) *boot* cdbr *BOOT* INSTALL.* Packages *.fs \
  258. *.iso *.gz *.tgz > MD5
  259. -cd ${RELEASEDIR}; \
  260. cksum *bsd!(*.gz) *boot* cdbr *BOOT* INSTALL.* Packages *.fs \
  261. *.iso *.gz *.tgz > CKSUM
  262. .if defined(MACHINE_HAS_TOOLS)
  263. mkdir -p ${RELEASEDIR}/tools
  264. cp ${DESTDIR}/snapshot/tools/* ${RELEASEDIR}/tools
  265. cd ${RELEASEDIR} && md5 tools/* >>MD5
  266. cd ${RELEASEDIR} && cksum tools/* >>CKSUM
  267. .endif
  268. -cd ${RELEASEDIR} && sort -o MD5 MD5
  269. -cd ${RELEASEDIR} && sort -o CKSUM -k 3 CKSUM
  270. .endif
  271. snapshot: distribution snap_pre snap_tar snap_md
  272. cd ${DESTDIR}/snapshot && cksum * > CKSUMS
  273. cd ${DESTDIR}/snapshot && md5 * > MD5
  274. snap_pre:
  275. ${SUDO} /bin/rm -rf ${DESTDIR}/snapshot
  276. ${SUDO} ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}/snapshot
  277. snap_tar:
  278. cd ${DESTDIR} && tar cf - bin \
  279. | ${GZIP} ${GZIPFLAGS} > snapshot/bin.tar${GZIPEXT}
  280. cd ${DESTDIR} && tar cf - dev \
  281. | ${GZIP} ${GZIPFLAGS} > snapshot/dev.tar${GZIPEXT}
  282. cd ${DESTDIR} && tar cf - .profile .cshrc altroot etc home mnt \
  283. root stand sys tmp | ${GZIP} ${GZIPFLAGS} \
  284. > snapshot/etc.tar${GZIPEXT}
  285. cd ${DESTDIR} && tar cf - sbin \
  286. | ${GZIP} ${GZIPFLAGS} > snapshot/sbin.tar${GZIPEXT}
  287. cd ${DESTDIR} && tar cf - usr/bin \
  288. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.bin.tar${GZIPEXT}
  289. cd ${DESTDIR} && tar cf - usr/games \
  290. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.games.tar${GZIPEXT}
  291. cd ${DESTDIR} && tar cf - usr/include \
  292. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.include.tar${GZIPEXT}
  293. cd ${DESTDIR} && tar cf - usr/lib \
  294. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.lib.tar${GZIPEXT}
  295. cd ${DESTDIR} && tar cf - usr/libexec \
  296. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.libexec.tar${GZIPEXT}
  297. cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/lkm usr/local \
  298. usr/src usr/obj | ${GZIP} ${GZIPFLAGS} \
  299. > snapshot/usr.misc.tar${GZIPEXT}
  300. cd ${DESTDIR} && tar cf - usr/sbin \
  301. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.sbin.tar${GZIPEXT}
  302. cd ${DESTDIR} && tar cf - usr/share \
  303. | ${GZIP} ${GZIPFLAGS} > snapshot/usr.share.tar${GZIPEXT}
  304. cd ${DESTDIR} && tar cf - var \
  305. | ${GZIP} ${GZIPFLAGS} > snapshot/var.tar${GZIPEXT}
  306. cd ../distrib/notes; ${MAKE}; ${MAKE} install
  307. snap_md:
  308. # nothing here -- look in the machine-dependent Makefile.inc
  309. .endif # DESTDIR check
  310. MAKEDEVARCHS+= alpha
  311. MAKEDEVARCHS+= amd64
  312. MAKEDEVARCHS+= cats
  313. MAKEDEVARCHS+= hp300
  314. MAKEDEVARCHS+= hppa
  315. MAKEDEVARCHS+= hppa64
  316. MAKEDEVARCHS+= i386
  317. MAKEDEVARCHS+= luna88k
  318. MAKEDEVARCHS+= mac68k
  319. MAKEDEVARCHS+= macppc
  320. MAKEDEVARCHS+= mvme68k
  321. MAKEDEVARCHS+= mvme88k
  322. #MAKEDEVARCHS+= mvmeppc
  323. MAKEDEVARCHS+= sgi
  324. MAKEDEVARCHS+= sparc
  325. MAKEDEVARCHS+= sparc64
  326. MAKEDEVARCHS+= vax
  327. MAKEDEVARCHS+= zaurus
  328. clean:
  329. rm -f etc.${MACHINE}/MAKEDEV
  330. cleandir:
  331. cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
  332. ${MAKE} MACHINE=$$m clean; done
  333. MAKEDEVSRC= MAKEDEV.mi MAKEDEV.sub MAKEDEV.common
  334. MAKEDEVDOC= MAKEDEV.man MAKEDEV.mansub MAKEDEV.common
  335. m4: etc.${M}/MAKEDEV
  336. man: ${.CURDIR}/../share/man/man8/man.${M}/MAKEDEV.8
  337. etc.${M}/MAKEDEV: ${MAKEDEVSRC} etc.${M}/MAKEDEV.md
  338. @echo "==> etc.${M}/MAKEDEV"
  339. m4 -DMACHINE=${M} MAKEDEV.mi > etc.${M}/.MAKEDEV.tmp && \
  340. mv etc.${M}/.MAKEDEV.tmp etc.${M}/MAKEDEV || \
  341. rm etc.${M}/.MAKEDEV.tmp
  342. ${.CURDIR}/../share/man/man8/man.${M}/MAKEDEV.8: ${MAKEDEVDOC} etc.${M}/MAKEDEV.md
  343. m4 -DMACHINE=${M} MAKEDEV.man > \
  344. ${.CURDIR}/../share/man/man8/man8.${M}/MAKEDEV.8
  345. allarchs: ${MAKEDEVSRC} ${MAKEDEVDOC}
  346. cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \
  347. ${MAKE} M=$$m m4 man; done
  348. distrib:
  349. cd ${.CURDIR}/../distrib && \
  350. ${MAKE} && exec ${SUDO} ${MAKE} install
  351. DHSIZE=1024 1536 2048 3072 4096
  352. update-moduli:
  353. ( \
  354. echo '# $$OpenBSD: Makefile,v 1.232 2006/01/04 20:38:59 miod Exp $$'; \
  355. echo '# Time Type Tests Tries Size Generator Modulus'; \
  356. ( for i in ${DHSIZE}; do \
  357. ssh-keygen -b $$i -G /dev/stdout; \
  358. done) | \
  359. ssh-keygen -T /dev/stdout \
  360. ) > moduli
  361. .PHONY: distribution-etc-root-var distribution distrib-dirs \
  362. release snapshot allarchs snap_pre snap_tar snap_md m4
  363. .include <bsd.prog.mk>