The NetBSD Project

CVS log for src/share/mk/Attic/bsd.kmod.mk

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.90, Wed Nov 12 12:35:54 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.89: +1 -1 lines
FILE REMOVED

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Oct 19 22:05:21 2008 UTC (15 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, 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-5-RELEASE, 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-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5, matt-mips64-base2
Branch point for: matt-nb5-mips64
Changes since 1.88: +6 -4 lines
Diff to previous 1.88 (colored)

Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Aug 24 06:27:00 2008 UTC (15 years, 7 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, mjf-devfs2-base
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Honour HAVE_PCC

Revision 1.87 / (download) - annotate - [select for diffs], Sat Mar 1 20:29:43 2008 UTC (16 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, mjf-devfs2
Changes since 1.86: +9 -5 lines
Diff to previous 1.86 (colored)

Add hppa to the list of platforms that need help with branches.

Sort the list while I'm here.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jan 16 12:34:56 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Branch point for: keiichi-mipv6
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Pull in my modules code for review/test/hacking.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Jan 4 14:54:29 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: pc532-eol-2008, matt-armv6-base
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Record LKM entry point in the ELF file header.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Aug 5 21:43:24 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base, matt-armv6-prevmlocking, cube-autoconf-base, cube-autoconf
Branch point for: matt-mips64, matt-armv6
Changes since 1.83: +4 -63 lines
Diff to previous 1.83 (colored)

Split the part of bsd.kmod.mk which creates links to kernel header
directories into a separate module, bsd.klinks.mk.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jun 26 04:07:34 2006 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, hpcarm-cleanup, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Don't invoke LD with LDFLAGS, since the latter is for CC.

If we need similar support for LD, we can implement another variable.
I couldn't find any obvious need for LDFLAGS by users of <bsd.kmod.mk>.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jun 25 15:17:22 2006 UTC (17 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.81: +6 -1 lines
Diff to previous 1.81 (colored)

support MAKEVERBOSE

Revision 1.81 / (download) - annotate - [select for diffs], Thu May 11 22:24:48 2006 UTC (17 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

turn on -Wno-pointer-sign for all kernel code.

Revision 1.80 / (download) - annotate - [select for diffs], Thu May 11 00:46:57 2006 UTC (17 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.79: +6 -1 lines
Diff to previous 1.79 (colored)

for now, turn on -fno-strict-aliasing for GCC4.

Revision 1.79 / (download) - annotate - [select for diffs], Sat May 6 02:20:23 2006 UTC (17 years, 10 months ago) by groo
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored)

Add common/include to include path.

HI JASON!

Revision 1.78 / (download) - annotate - [select for diffs], Thu Mar 16 18:43:34 2006 UTC (18 years ago) by jwise
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Now that we have real build system support for syspkgs, remove someone's
half-implemented idea of building `syspkgs' (really a few giant blobs of the
same granularity of the old sets) using install(1).

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 10 00:29:59 2004 UTC (19 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: 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
Changes since 1.76: +4 -4 lines
Diff to previous 1.76 (colored)

Be consistent in handling YHEADER, similar to Christos' fix in bsd.lib.mk 1.253

Revision 1.76 / (download) - annotate - [select for diffs], Fri May 14 14:07:46 2004 UTC (19 years, 10 months ago) by cl
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

use relative links:  using $S fails if $S is relative to another dir
than the one where it's used

Revision 1.75 / (download) - annotate - [select for diffs], Wed May 12 16:56:43 2004 UTC (19 years, 10 months ago) by cl
Branch: MAIN
Changes since 1.74: +14 -1 lines
Diff to previous 1.74 (colored)

``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
for i386.  The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jan 29 01:48:45 2004 UTC (20 years, 2 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.73: +5 -3 lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Tue Jan 27 03:31:48 2004 UTC (20 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (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.72 / (download) - annotate - [select for diffs], Fri Jan 16 00:36:39 2004 UTC (20 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Export the symbols in addition to the relocation records when making LKMs.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Nov 4 14:52:22 2003 UTC (20 years, 4 months ago) by scw
Branch: MAIN
Changes since 1.70: +10 -8 lines
Diff to previous 1.70 (colored)

Use MACHINE_CPU instead of MACHINE_ARCH to select the appropriate
architecture directory under sys/lkm/arch. This permits a single
directory to be used for bi-endian architectures.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Oct 11 07:15:59 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.69: +10 -2 lines
Diff to previous 1.69 (colored)

if S is not already defined, use ${NETBSDSRCDIR}/sys or ${BSDSRCDIR}/sys to set
top of kernel source tree

Revision 1.69 / (download) - annotate - [select for diffs], Thu Sep 4 08:27:08 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.68: +35 -15 lines
Diff to previous 1.68 (colored)

revert previous; there's too much hairy crap in sys/lkm/compat involving
the order that Makefile.inc is pulled in to get this to work.

this stuff needs a rototill (for another day). for example, having every
sys/lkm/** directory make their own  machine ${MACHINE_CPU} and possibly
${SHARED_MACHINE_CPU} (e.g, x86 for i386/x86_64) is not the most optimal
situation ...

Revision 1.68 / (download) - annotate - [select for diffs], Thu Sep 4 07:15:43 2003 UTC (20 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.67: +16 -36 lines
Diff to previous 1.67 (colored)

simplify include symlink creation with LNFILES

Revision 1.67 / (download) - annotate - [select for diffs], Fri Aug 1 17:04:01 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.66: +5 -4 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Thu Jul 31 13:47:32 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Fri Jul 18 08:26:07 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 18 04:04:03 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

whitespace cleanup

Revision 1.63 / (download) - annotate - [select for diffs], Wed May 7 22:36:06 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.62: +5 -2 lines
Diff to previous 1.62 (colored)

Add -mcmodel=kernel to CFLAGS for amd64.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Apr 26 20:55:40 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

another x86_64 -> amd64

Revision 1.61 / (download) - annotate - [select for diffs], Sat Apr 26 19:12:20 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

x86_64 -> amd64

Revision 1.60 / (download) - annotate - [select for diffs], Wed Apr 23 18:34:20 2003 UTC (20 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.59: +7 -1 lines
Diff to previous 1.59 (colored)

The __wrap_* symbols need to become local symbols.  If you have module
x which is dependent y but they both have __wrap_foo, if the __wrap_foo
is not localized, you will get linker truncation messages.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Mar 27 17:05:14 2003 UTC (21 years ago) by christos
Branch: MAIN
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored)

add x86 to the cleanfiles for i386 and x86_64 (Hi Frank!)

Revision 1.58 / (download) - annotate - [select for diffs], Thu Feb 27 11:09:59 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.57: +9 -1 lines
Diff to previous 1.57 (colored)

Add more special cases to create include directory symlinks, for archs
that take include files from a subdir != ${MACHINE_ARCH} (ew).

Revision 1.57 / (download) - annotate - [select for diffs], Wed Feb 19 19:03:41 2003 UTC (21 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.56: +22 -2 lines
Diff to previous 1.56 (colored)

When making a LKM for powerpc, add function trampolines to undefined
functions.  This makes LKMs functional for powerpc.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Oct 22 18:48:28 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored)

Pass 1 of SYSPKG changes to automatically add tags=pkgname_pkg to METALOG.
Not quite ready for prime time yet.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Jul 29 07:42:52 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.54: +8 -1 lines
Diff to previous 1.54 (colored)

add 'sun68k' to CLEANFILES for sun2/sun3
add 'sparc' to CLEANFILES for sparc64

Revision 1.54 / (download) - annotate - [select for diffs], Sat Jul 20 11:44:31 2002 UTC (21 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

be sure to link "sparc" dir as well, for sparc64

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 9 17:14:38 2002 UTC (21 years, 11 months ago) by jdolecek
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.52: +3 -1 lines
Diff to previous 1.52 (colored)

Only attempt to make the machine links for targets 'depend', 'all',
  'dependall'.
This fixes misc/16227 by Stoned Elipot.

XXX this solution is not ideal

Revision 1.52 / (download) - annotate - [select for diffs], Sat Apr 6 17:49:02 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.51: +4 -7 lines
Diff to previous 1.51 (colored)

Do what rev. 1.50 intented using .BEGIN, g/c target 'machine-links'.

Making ${OBJS} and ${DPSRC} depend on target which is always out of date is
_really_ bad idea.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Mar 26 23:13:08 2002 UTC (22 years ago) by fredette
Branch: MAIN
Changes since 1.50: +6 -1 lines
Diff to previous 1.50 (colored)

In the machine-links target, the sun2 also needs a sun68k symlink.
Plan ahead and make it on the sun3 also.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 21 12:54:21 2002 UTC (22 years ago) by pk
Branch: MAIN
Changes since 1.49: +8 -4 lines
Diff to previous 1.49 (colored)

Target dependencies again: `machine-links' must be made before $DPSRCS.
We now have
	all => $PROG => $OBJS => $DPSRCS (if present) => machine-links

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 28 15:55:50 2002 UTC (22 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Fix target order: the machine links must be present before compiling object
files.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Feb 11 21:14:59 2002 UTC (22 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.47: +11 -5 lines
Diff to previous 1.47 (colored)

Don't use .PHONY for targets that are actually installed.  Instead use force
dependencies.  (Among other things, `make -t install' does something vaguely
sensible now.)

Revision 1.47 / (download) - annotate - [select for diffs], Fri Dec 28 07:49:26 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Don't put CPP flags in CFLAGS.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 28 07:48:39 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Add -ffreestanding to CFLAGS.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 28 20:19:08 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

Fix the :U's used with ${UPDATE} so that stray values don't get put into
the .PHONY: target.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 14 22:01:40 2001 UTC (22 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

Put -Is in CPPFLAGS, not CFLAGS; change -I to -isystem as appropriate.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 2 05:21:50 2001 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.42: +37 -50 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Fri Oct 5 15:30:06 2001 UTC (22 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.41: +6 -5 lines
Diff to previous 1.41 (colored)

Use ${MACHINE_CPU} instead of ${MACHINE_ARCH} in the machine-links
  target; needed for MIPS and probably arm ports.
.include the full path name of machine/Makefile.inc so that this works
  if the machine-links target hasn't been run yet.
.include ${MACHINE_CPU}/include/Makefile.inc too.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 29 20:10:07 2001 UTC (22 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

don't include explicit -e for modload in 'load' target - it's redundant
This addresses bin/4701 by Hauke Fath, but does opposite thing than
suggested there.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 14 07:02:13 2001 UTC (22 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Fri Jun 1 17:49:33 2001 UTC (22 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Tue Jun 6 09:53:30 2000 UTC (23 years, 9 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
Changes since 1.37: +6 -4 lines
Diff to previous 1.37 (colored)

Abuse .USE some more.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jun 6 09:22:01 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Minor rearrangement.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jan 22 19:31:01 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Tue Nov 2 22:42:51 1999 UTC (24 years, 5 months ago) by jdolecek
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

don't depend on ${PROG} for ``unload'' target - we don't need the lkm compiled
to do the unload

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 22 18:06:21 1999 UTC (24 years, 6 months ago) by wrstuden
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Add KMOD_LOADFLAGS to the load target. With this, lkm's in /sys/lkm/... can
more readily depend on each other.

An lkm which depends on another lkm now only needs to set

KMOD_LOADFLAGS= -A../../path/to/other/lkm's/${KMOD}

and the lkm will link against the other lkm's symbols. Obviously the other
lkm had better be loaded. ;-) Note: the -A option to modload was pre-
existing. This change makes it possible for users of this file to take
advantage of it.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 14 01:31:11 1999 UTC (24 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Add a "dependall" target, which does a "make depend" and then "make all"
in a single directory. This is useful in "make build" because by doing
the build immediately after the depend, all sources will typically
still be in the buffer cache, thus saving significant time over doing
a "make depend" on all the directories and then a "make all".

Revision 1.32 / (download) - annotate - [select for diffs], Sat Sep 4 21:48:33 1999 UTC (24 years, 6 months ago) by fredb
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Permit "make all install", as well as "make foo install" (where foo would be
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.

"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.

Fixes pr's 8313, 3894.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 21 06:17:46 1999 UTC (24 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Add ${INSTPRIV} to ${INSTALL} commands.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 10 06:34:19 1999 UTC (25 years ago) by ross
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001
Branch point for: netbsd-1-4, mortalinstall
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

If it exists, include machine/Makefile.inc

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 4 11:58:30 1999 UTC (25 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
and the filesystem is full. Added ${RENAME} flag to install, which when set
to -r installs on a temporary file and then renames to the final destination.
${RENAME} is currently set to nothing in bsd.own.mk, but one can turn it
on in /etc/mk.conf.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 28 08:13:37 1998 UTC (25 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Use preserve flag in install.

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

add distclean as a synonym for cleandir

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 9 00:32:36 1998 UTC (25 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 1 16:58:33 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Revert.  This broke too much in the build tree, and a better solution
needs to be created.  (The existing situation breaks a lot too.)

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 1 15:23:36 1998 UTC (26 years ago) by tv
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Fix .y rules to DTRT with possibly generated .h files.  See mail on
tech-toolchain for a very detailed explanation of this.  In short, add
a .y.h rule identical to the .y.c rule and make the .y.c rule rename
the .h file; also, clean the .h file in CLEANFILES.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Nov 3 22:51:23 1997 UTC (26 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

echo the lint command line when making 'lint'.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 11 08:16:25 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.21: +6 -8 lines
Diff to previous 1.21 (colored)

Several changes:
* Allow bsd.man.mk to be included separately.
* Always include bsd.own.mk and bsd.obj.mk.
* Include bsd.man.mk and bsd.nls.mk even if NOMAN or NONLS; just turn off
building of the affected files instead.
* Require bsd.subdir.mk to be included explicitly.
(Will make appropriate changes to Makefiles shortly.)

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 17 02:01:07 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored)

Remove unneeded .SUFFIXES lines, and move .s and .S closer to .o to give the
right preferences.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 9 13:40:34 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Fix typo in previous.

Revision 1.19 / (download) - annotate - [select for diffs], Fri May 9 13:25:50 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 9 07:56:01 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +1 -3 lines
Diff to previous 1.17 (colored)

Remove cruft.

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

Fix the MACHINE and MACHINE_ARCH links.

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

Make $S default to /sys.

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

Fix typo.

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

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

Revision 1.13 / (download) - annotate - [select for diffs], Wed May 7 15:53:30 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +11 -33 lines
Diff to previous 1.12 (colored)

Various simplifications.

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 6 21:29:37 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Make most of the install targets .PRECIOUS.

Revision 1.11 / (download) - annotate - [select for diffs], Tue May 6 20:54:34 1997 UTC (26 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +6 -5 lines
Diff to previous 1.10 (colored)

Add a pile of missing .PHONYs.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 24 21:54:16 1997 UTC (27 years ago) by christos
Branch: MAIN
Changes since 1.9: +14 -29 lines
Diff to previous 1.9 (colored)

make rules update:
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 22 22:33:56 1997 UTC (27 years ago) by perry
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fix SYMLINKS not to include DESTDIR in the link itself

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 13 02:45:59 1997 UTC (27 years ago) by perry
Branch: MAIN
Changes since 1.7: +13 -1 lines
Diff to previous 1.7 (colored)

add SYMLINKS, by analogy to LINKS. Vetted by Christos.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 22 01:34:11 1997 UTC (27 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.6: +6 -3 lines
Diff to previous 1.6 (colored)

if 'clean' is not already defined, rather than simply defining it with
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that.  That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs.  It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.

If 'clean' is already defined, the behaviour is the same as it used to be.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 22 19:41:47 1996 UTC (27 years, 5 months ago) by explorer
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Update to make the sys/lkm tree compile on i386 and most likely others

Revision 1.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:34:43 1996 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Use ${INSTALL} rather than "install".
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Aug 27 23:31:47 1996 UTC (27 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Do the symlinks added by mrg correctly

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 27 22:15:52 1996 UTC (27 years, 7 months ago) by explorer
Branch: MAIN
Changes since 1.2: +2 -7 lines
Diff to previous 1.2 (colored)

Fix a missing dollar sign, and move paths and modes
to bsd.own.mk for KMOD* vars

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 23 06:14:37 1996 UTC (27 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.1: +10 -7 lines
Diff to previous 1.1 (colored)

make lkm's work.  still need to worry about options defines...

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 22 20:33:02 1996 UTC (27 years, 7 months ago) by explorer
Branch: MAIN

Add a file needed for the lkm stuff I committed

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>