/usr.bin/tip/tip/Makefile

https://bitbucket.org/freebsd/freebsd-head/ · Makefile · 57 lines · 16 code · 4 blank · 37 comment · 0 complexity · a3158a5321f13bccbbb670203d5044d5 MD5 · raw file

  1. # $OpenBSD: Makefile,v 1.11 2006/05/25 08:41:52 jmc Exp $
  2. # $FreeBSD$
  3. #
  4. # Files are:
  5. # /etc/remote remote host description file
  6. # /etc/phones phone number file, owned by ${OWNER} and
  7. # mode 6??
  8. # /var/log/aculog ACU accounting file, owned by ${OWNER} and
  9. # mode 6?? {if ACULOG defined}
  10. # Presently supports:
  11. # BIZCOMP
  12. # DEC DF02-AC, DF03-AC
  13. # DEC DN-11/Able Quadracall
  14. # HAYES and Hayes emulators
  15. # USR COURIER (2400 baud)
  16. # VENTEL 212+
  17. # VADIC 831 RS232 adaptor
  18. # VADIC 3451
  19. # TELEBIT T3000
  20. #
  21. # Configuration defines:
  22. # DF02, DF03, DN11 ACU's supported
  23. # BIZ1031, BIZ1022, VENTEL, V831, V3451, HAYES, COURIER, T3000
  24. # ACULOG turn on tip logging of ACU use
  25. # PRISTINE no phone #'s put in ACU log file
  26. # CONNECT worthless command
  27. # DEFBR default baud rate to make connection at
  28. # DEFFS default frame size for FTP buffering of
  29. # writes on local side
  30. # BUFSIZ buffer sizing from stdio, must be fed
  31. # explicitly to remcap.c if not 1024
  32. # CONNECT enable ~C command (connect pgm to remote)
  33. PROG= tip
  34. LINKS= ${BINDIR}/tip ${BINDIR}/cu
  35. MAN= tip.1 cu.1
  36. CFLAGS+=-I${.CURDIR} -DDEFBR=9600 -DDEFFS=BUFSIZ -DACULOG -DPRISTINE \
  37. -DCONNECT -DV831 -DVENTEL -DHAYES -DCOURIER -DT3000
  38. WARNS?= 2
  39. .PATH: ${.CURDIR}/../libacu
  40. SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
  41. remote.c tip.c tipout.c uucplock.c value.c vars.c \
  42. biz22.c courier.c df.c dn11.c hayes.c t3000.c v3451.c v831.c ventel.c
  43. # -- acutab is configuration dependent, and so depends on the Makefile
  44. # -- remote.o depends on the Makefile because of DEFBR and DEFFS
  45. # -- log.o depends on the Makefile because of ACULOG
  46. acutab.o log.o remote.o: Makefile
  47. .include <bsd.prog.mk>
  48. # Dirty, rotten hack. This can be removed when we are confident that there
  49. # is no cu(1) with the schg-bit set.
  50. beforeinstall:
  51. .if exists(${DESTDIR}${BINDIR}/cu)
  52. -@chflags noschg ${DESTDIR}${BINDIR}/cu
  53. .endif