NetBSD/lib/libl/Makefile
dbj b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00

21 lines
356 B
Makefile

# $NetBSD: Makefile,v 1.13 2006/09/11 22:24:09 dbj Exp $
NOPIC= # defined
.include <bsd.own.mk>
LIB= l
SRCS= libmain.c libyywrap.c
.if ${MKSTATICLIB} != "no"
LINKS= ${LIBDIR}/libl.a ${LIBDIR}/libfl.a
.endif
.PATH: ${NETBSDSRCDIR}/usr.bin/lex
.if ${MKPROFILE} != "no"
LINKS+= ${LIBDIR}/libl_p.a ${LIBDIR}/libfl_p.a
.endif
.include <bsd.lib.mk>