The NetBSD Project

CVS log for src/share/mk/bsd.dep.mk

[BACK] Up to [cvs.NetBSD.org] / src / share / mk

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.81 / (download) - annotate - [select for diffs], Sat Jul 19 17:19:22 2014 UTC (8 days, 17 hours ago) by plunky
Branch: MAIN
CVS Tags: HEAD
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

when calling mkdep, pass any -std=* flags for C and C++ source files
to ensure that any definitions this implies are set

Revision 1.80 / (download) - annotate - [select for diffs], Thu Dec 5 22:49:33 2013 UTC (7 months, 3 weeks ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

add ${MKTARGET_CREATE} for tags

Revision 1.79 / (download) - annotate - [select for diffs], Thu Oct 31 01:55:03 2013 UTC (8 months, 3 weeks ago) by mrg
Branch: MAIN
Changes since 1.78: +14 -10 lines
Diff to previous 1.78 (colored)

create mkdep output with a temporary file so that failures in
complation during .d creation don't leave an empty (stale) .d
file around to break future builds.

(hmm, probably could use .PRECIOUS here.)

Revision 1.78 / (download) - annotate - [select for diffs], Mon Oct 28 01:47:13 2013 UTC (8 months, 4 weeks ago) by mrg
Branch: MAIN
Changes since 1.77: +11 -6 lines
Diff to previous 1.77 (colored)

add MKDEPCXX, that is used for C++ files depend creation.  also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Mar 5 21:59:01 2013 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, agc-symver-base, agc-symver
Changes since 1.76: +5 -1 lines
Diff to previous 1.76 (colored)

Add a rule to rebuild dependency files that contain stale entries automatically.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Mar 5 02:02:07 2013 UTC (16 months, 3 weeks ago) by christos
Branch: MAIN
Changes since 1.75: +16 -6 lines
Diff to previous 1.75 (colored)

MKDEPINCLUDES support.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Nov 18 19:48:29 2012 UTC (20 months, 1 week ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored)

Change some .if defined(SRCS) to .if defined(SRCS) && !empty(SRCS)

Revision 1.74 / (download) - annotate - [select for diffs], Sun Feb 19 23:19:37 2012 UTC (2 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.73: +11 -2 lines
Diff to previous 1.73 (colored)

Add support for --combine with gcc.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Sep 10 16:57:35 2011 UTC (2 years, 10 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.72: +5 -4 lines
Diff to previous 1.72 (colored)

Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Apr 10 16:52:36 2011 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.71: +1 -3 lines
Diff to previous 1.71 (colored)

For USETOOLS=yes, use the --sysroot support of the compiler to cut down
the number of hard-coded pathes and magic invocations.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Feb 6 00:52:49 2011 UTC (3 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Allow HOSTLIB to use C++ by not specifying -nostdinc++.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Jan 12 23:12:11 2011 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
Branch point for: bouyer-quota2
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (colored)

Allow use of traditional CPP to be set on a per platform base in sys.mk.
Honour this for dependency processing in bsd.dep.mk.  Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jan 25 00:43:00 2010 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

PR/42658: Geoff Wing: Quote directory variables to deal with spaces in the
source pathname.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Oct 25 22:27:36 2008 UTC (5 years, 9 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

Use ${TOOL_SED} instead if plain sed in Makefiles.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Apr 18 04:34:27 2004 UTC (10 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, pc532-eol-2008, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, mjf-devfs2-base, mjf-devfs2, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

remove AINC support; it is now unnecessary

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jan 29 01:48:45 2004 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 (colored)

Cosmetically tweak how .PHONY is used by (generally) providing it as a source,
instead of using it as a target with all the rules as its sources.

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jan 27 03:31:48 2004 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.64: +13 -8 lines
Diff to previous 1.64 (colored)

Replace
	:M-[IDU]*
with
	:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*
so that arguments with whitespace after them work correctly.
Resolves [toolchain/18248] from Andrew White at Motorola.

Be consisent in this syntax; previously we'd sometimes we'd just have :M-[ID]*
which would ignore -Ufoo ...

(This needs :C///W support in make(1) that Simon Gerraty added for me :)

Revision 1.64 / (download) - annotate - [select for diffs], Tue Nov 11 11:36:40 2003 UTC (10 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

Use -- to separate mkdep options from cc ones.
Avoids problems when the cc options start with -fpic.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Nov 10 18:21:55 2003 UTC (10 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored)

Use modified mkdep(1) (not cat) to merge '*.d' into '.depend'.
Allows some of the postprocessing to be done there instead of a separate
sed script called from 'afterdepend'.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Oct 28 01:25:33 2003 UTC (10 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

fix a typo in previous pointed out by lukem

Revision 1.61 / (download) - annotate - [select for diffs], Mon Oct 27 23:52:57 2003 UTC (10 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

allow -traditional-cpp to be overridden when making dependancies

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 21 10:01:21 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.59: +6 -14 lines
Diff to previous 1.59 (colored)

Rework how MAKEVERBOSE operates:

    *	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 19 03:00:55 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.58: +6 -6 lines
Diff to previous 1.58 (colored)

Provide _MKMSG{BUILD,CREATE,COMPILE,FORMAT,INSTALL,LINK,LEX,YACC} to display
${_MKMSG} "  ...  {$.TARGET}"  and use appropriately.

Provide _MKMSGLINK.m to provide "link" message by itself (without ${.TARGET})

Replace _MKSHCMD with _MKSHECHO

Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 18 15:33:59 2003 UTC (10 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.57: +15 -2 lines
Diff to previous 1.57 (colored)

Implement MAKEVERBOSE to control how "verbose" the standard make(1) rules are.
Supported values:
    0	Minimal output ("quiet")
    1	Describe what is occurring
    2	Describe what is occurring and echo the actual command ("verbose")
	This is the default, and is equivalent to the previous behaviour.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Aug 11 09:59:43 2003 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

order .SUFFIXES similar to other *.mk files

Revision 1.56 / (download) - annotate - [select for diffs], Wed Aug 6 13:55:11 2003 UTC (10 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

Handle empty __DPSRCS.d, avoiding executing commands like "cat > .depend"
in directories where only non-C/C++ files are in SRCS (e.g.: the forth
code for sparc bootblocks).

Patch from Luke.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Aug 1 17:04:01 2003 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.54: +11 -16 lines
Diff to previous 1.54 (colored)

Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".

Revision 1.54 / (download) - annotate - [select for diffs], Fri Aug 1 00:55:43 2003 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

tweak ${DEPENDSRCS.d} target so that ${SRCS} isn't there.  this fixes the
"make: out of memory" problem when make dependencies in lib/libc.

XXX: this is a temporary workaround.  i'm working on cleaning up how
the DPSRCS stuff is used throughout the tree...

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 31 13:47:32 2003 UTC (10 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.52: +9 -7 lines
Diff to previous 1.52 (colored)

bsd.dep.mk:  add a dependency for *.d on ${SRCS} ${DPSRCS}.  this should fix
some build problems where DPSRCS contains .h files that need to exist to
build the .d file.

document that bsd.dep.mk should be included after anything that might
update SRCS or DPSRCS so that the above works correctly, and actually
ensure this is the case.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 29 07:56:23 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

Set .NOPATH for all ${DEPENDSRCS} and not just .depend.
Should fix build problem noted by Geoff Wing on current-users@

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 28 23:57:24 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.50: +11 -12 lines
Diff to previous 1.50 (colored)

Use the more "standard" `foo.d' instead of `foo.SUFFIX.dep'; the rules
are simpler and would have helped prevent the previous fubar.
Don't bother using -a with ${MKDEP} to build the individual .d files.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jul 28 21:33:57 2003 UTC (11 years ago) by matt
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Make all the suffix rules with .c .c.dep (e.g not .cc .cc.cc.dep)

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 28 15:07:16 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.48: +24 -36 lines
Diff to previous 1.48 (colored)

Simplify .*.dep generation by using suffix transforms.
This also fixes a problem in the previous where the .ALLSRC would contain
any other dependencies that .depend had, thus breaking the mkdep invocation.

Provide DEPENDSRCS which effectively contains ".depend *.dep", to be
used in other Makefiles that want to add dependencies for .depend.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jul 28 08:59:52 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.47: +38 -82 lines
Diff to previous 1.47 (colored)

Always use the "per source file".dep method to build the .depend file
(that was formerly only used for HOST_CYGWIN.).
Clean up implementation to minimise unnecessary variable munging.
Ensure all .dep files are deleted in cleandepend:.

This allows us to correctly support CPPFLAGS.<file> in make depend, and
whilst this method is marginally slower in the "no existing .depend file"
case, it should be faster in the "rebuilding depend for a subset of
source files" case.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 27 14:49:22 2003 UTC (11 years ago) by mrg
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

introduce a new $CPPFLAG_ISYSTEMXX that is used to reference c++ system
includes.  for GCC3, set this to -I instead of -isystem.

XXX this should really be either not required or a -isystem-cxx, but for
now this is required to build libstdc++-v3, which otherwise complains
heavily about STL headers not being C code(!)

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jul 18 04:06:18 2003 UTC (11 years ago) by lukem
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

whitespace cleanup

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 11 18:05:40 2003 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Add missing } for rev. 1.43.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 11 17:32:45 2003 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

Also recognize cpp files as C++ files for CYGWIN case.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jun 11 17:24:55 2003 UTC (11 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

recognize .cpp as c++ files.

Revision 1.42 / (download) - annotate - [select for diffs], Tue May 27 21:43:32 2003 UTC (11 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Back this out until I know why it does not work.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 27 19:30:45 2003 UTC (11 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Add .cpp dependency rules.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 8 20:39:00 2003 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

Fix _HOST_CYGWIN lossage.

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 8 13:34:07 2003 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.38: +61 -1 lines
Diff to previous 1.38 (colored)

Hacks for limited command and environment space (John Gordon)

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 26 18:42:30 2002 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.37: +1 -5 lines
Diff to previous 1.37 (colored)

The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Nov 10 21:26:45 2002 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Oops, AINC actually is still used; put it back.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Nov 10 18:15:29 2002 UTC (11 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

The MIPS toolchain now defines __ABICALLS__ when abicalls are in use,
and the sources now use that define, so there is no need for us to define
ABICALLS.  Since that was the only use for the AINC variable, garbage-collect
it.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jun 4 21:22:54 2002 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.34: +8 -3 lines
Diff to previous 1.34 (colored)

Don't use -traditional-cpp if HAVE_GCC3.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 28 04:38:29 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

If DESTDIR is set, do a similar nostdinc dance for the standard C++ include
directory.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 2 05:21:49 2001 UTC (12 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.32: +16 -13 lines
Diff to previous 1.32 (colored)

Improve readability and reduce redundant redundancy in share/mk; add some
descriptive comments.  The guts of hostprog, lib, and prog are mostly
unchanged; this will be done in another pass.

Make several things work properly with UNPRIVILEGED set, and make the
install-time "cmp" logic work for MANZ.  Also reimplement INCS{DIR,NAME}_foo
(requested by wiz) in a backwards compatible way.

Reviewed by christos.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Aug 14 07:02:13 2001 UTC (12 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Rather than explicitly saying "clean cleandir:" all the time, make clean
a dependency of cleandir (so that "make cleandir" implies "make clean").

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jun 1 17:49:32 2001 UTC (13 years, 1 month ago) by tv
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 22 19:31:00 2000 UTC (14 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored)

Make `dependall' play nicely with SUBDIR, using a hack similar to `realinstall'
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Nov 16 13:15:09 1999 UTC (14 years, 8 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Add missing "\" in two line shell command.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 16 08:18:34 1999 UTC (14 years, 8 months ago) by minoura
Branch: MAIN
Changes since 1.27: +4 -3 lines
Diff to previous 1.27 (colored)

Pass -traditional-cpp to mkdep for assembler files,
as in the actual compilation (${COMPILE.S} rule in sys.mk).

Revision 1.27 / (download) - annotate - [select for diffs], Wed Aug 11 02:00:15 1999 UTC (14 years, 11 months ago) by sommerfeld
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

correct previous fix:
- add CLEANDEPEND variable for stuff which should be cleaned out
in "cleandepend" phase.
- add it to the files removed during the cleandepend phase.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 24 22:04:15 1999 UTC (15 years, 5 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, mortalinstall
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Change CFLAGS to AFLAGS for mkdep of .S/.s files.  Fixes "make depend"
on pmax kernels (and doesn't break "make depend" on entire tree).

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 7 17:29:40 1999 UTC (15 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Use :Q to quote arguments to "echo" so that quote marks don't fall out of
the printed mkdep command.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Feb 3 21:08:05 1999 UTC (15 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Our make can't actually turn off implicit rules per-target, and the
"depend:" rule had no actual commands to execute, so it used the implicit
".c:" rule in gas.new (which has a depend.c).  Add a command here -- just
"true" -- that prevents use of implicit rules.  This may need a new
.-option in make(1) to be done Right.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 18 19:12:42 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Kill spaces in the $$files check introduced by borrowing the C++ rule for
ObjC.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Aug 18 17:31:21 1998 UTC (15 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.21: +8 -1 lines
Diff to previous 1.21 (colored)

Add dependency rule for Objective-C files.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Aug 9 14:46:19 1998 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

add distclean as a synonym for cleandir

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 9 13:25:46 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Automatically add the .c files corresponding to .l and .y files to DPSRCS.
Automatically add DPSRCS to CLEANFILES.

Revision 1.19 / (download) - annotate - [select for diffs], Fri May 9 07:56:00 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +6 -14 lines
Diff to previous 1.18 (colored)

Remove cruft.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 8 21:18:59 1997 UTC (17 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Set the .NOPATH flag for the .depend target.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 7 17:06:16 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Don't use _SUBDIRUSE outside of bsd.subdir.mk.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 7 16:44:04 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +7 -5 lines
Diff to previous 1.15 (colored)

Always define cleandepend.  Don't use a .depend target if SRCS is empty.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 7 08:42:18 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Shuffle some .PHONYs around, to work better with `-t'.

Revision 1.14 / (download) - annotate - [select for diffs], Tue May 6 20:54:31 1997 UTC (17 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Add a pile of missing .PHONYs.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 7 23:10:18 1997 UTC (17 years, 4 months ago) by gwr
Branch: MAIN
Changes since 1.12: +15 -7 lines
Diff to previous 1.12 (colored)

Allow mkdep to exist as a different name (fixes PR#3302)

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 27 01:15:09 1995 UTC (18 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +8 -5 lines
Diff to previous 1.11 (colored)

- make sure the afterdepend rule fires `after' .depend gets created.
  [fixed for parallel make]
- make depend prettier printing.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 13 11:14:56 1994 UTC (19 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Remove `-+' arg to mkdep.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 13 08:40:04 1994 UTC (19 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Add CPPFLAGS to mkdep lines, for cross-compilation.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 30 05:31:10 1994 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

RCSID frobbing, and minor sanity adjustments.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 30 05:21:28 1994 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

don't be careless with _SUBDIRUSE

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 27 22:27:18 1994 UTC (20 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

cleandepend should happen on 'cleandir' not 'clean', from michaelv@iastate.edu

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 5 02:42:42 1993 UTC (20 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

do .S files, too

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 5 17:46:15 1993 UTC (20 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

Depend .s files.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 15 21:14:45 1993 UTC (20 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +9 -1 lines
Diff to previous 1.3 (colored)

Don't do tags and cleandepend if no SRCS.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 15 21:09:21 1993 UTC (20 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

Makefile: Use `install -d' to create directory.
bsd.dep.mk: Add defaults for `beforedepend' and `afterdepend'.
sys.mk: 8 tabs --> space

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 15 20:42:39 1993 UTC (20 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +11 -1 lines
Diff to previous 1.1 (colored)

Move man rules to sys.mk.
Use bsd.subdir.mk for building subdirectories.
Don't forget to remove x.cc and x.C when using SHAREDSTRINGS.
Make ${PROG} always depend on ${LIBCRT0}.
Don't duplicate code between cleandir and clean.
Move tags target to bsd.dep.mk.
Move STRIP to bsd.own.mk.
Remove redundant definitions of {BIN,MAN}{DIR,GRP,OWN,MODE}.
Move {LIB,DOC}{DIR,GRP,OWN,MODE} defaults to bsd.own.mk.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 15 19:37:04 1993 UTC (20 years, 11 months ago) by mycroft
Branch: MAIN

Abstract out dependency stuff, and add RCS identifiers.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>