Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2000 10:48:58 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/share/mk bsd.kmod.mk
Message-ID:  <200001081848.KAA64339@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2000/01/08 10:48:58 PST

  Modified files:
    share/mk             bsd.kmod.mk 
  Log:
  Add "-I@/../include" and/or "-I${DESTDIR}/usr/include" to CFLAGS,
  essentially as in kernel makefiles, so that module sources can include
  <stddef.h> and other standard headers.  Only add the second path when
  the first path can't be found, instead of when DESTDIR is defined.
  Adding it used to be just an obfuscation.
  
  Use "${.OBJDIR}" instyead of "." in -I paths.  Using "${.OBJDIR}" just
  gave more verbose command lines and depend files.
  
  Revision  Changes    Path
  1.72      +13 -4     src/share/mk/bsd.kmod.mk



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001081848.KAA64339>