OpenBSD CVS

CVS log for src/usr.sbin/config/mkmakefile.c


[BACK] Up to [local] / src / usr.sbin / config

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.48 / (download) - annotate - [select for diffs], Sun Nov 28 19:26:03 2021 UTC (2 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

remove sys/param.h includes by stopping use of NODEV, ALIGNED and ALIGN().
The latter two exposed a large block allocator on top of malloc() which
doesn't really make sense in this decade (the objects are never freed, so
not quite like the famous openssl allocator)
ok millert jsg

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jun 28 13:33:55 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.46: +17 -17 lines
Diff to previous 1.46 (colored)

fputc/fputs return EOF on error

Revision 1.46 / (download) - annotate - [select for diffs], Mon Apr 1 07:04:38 2019 UTC (5 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored)

In the KARL relink case, the bsd.gdb built on the way (so that we get
CTF) is not needed and can be removed.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Nov 5 10:29:24 2017 UTC (6 years, 6 months ago) by rpe
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

Consolidate lib.so.*.a, ld.so.a and the kernel relink kit into
one location under /usr/share/relink.

Be more specific in src/etc/rc reorder_libs() what filesystems
need r/w remount and ensure that their mount state is restored.

Idea and positive feedback from deraadt@
OK aja@ tb@

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 18 16:43:27 2017 UTC (6 years, 10 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

Stop automatically regenerating gap.o (and hence linking a new kernel)
whenever make is issued. Only do this when there are actual source changes
below /sys. This restores the behavior prior to the KARL implementation.

Problem noticed and patiently explained by mpi
implementation with a lot of help from espie

ok mpi, espie, deraadt

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 22 15:57:16 2017 UTC (6 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.42: +23 -2 lines
Diff to previous 1.42 (colored)

Generate the newbsd: and install-update: targets here, rather than
in the source Makefile.* files.
ok tb rpe mlarkin

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 16 17:50:00 2016 UTC (7 years, 7 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.41: +5 -10 lines
Diff to previous 1.41 (colored)

Use the err(3) family of functions more consistently.

ok jca, improvements and ok millert, natano

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:16 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.40 / (download) - annotate - [select for diffs], Wed Jun 4 07:14:29 2014 UTC (10 years ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

fix a fd leak in an error path

Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 23 17:38:15 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

unsigned char casts for ctype
ok jca

Revision 1.38 / (download) - annotate - [select for diffs], Tue Oct 29 15:37:56 2013 UTC (10 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.37: +33 -1 lines
Diff to previous 1.37 (colored)

emit an extra "config" convenience target that allows one
to rerun config without changing directories.

Lots of inputs by deraadt@, who wanted it to work for movable
relative directories.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 17 17:36:13 2012 UTC (11 years, 8 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.36: +12 -48 lines
Diff to previous 1.36 (colored)

tedu lint tendrils through config internals.
also mark some known targets as .PHONY

okay miod@

Revision 1.36 / (download) - annotate - [select for diffs], Sun Oct 2 22:20:50 2011 UTC (12 years, 8 months ago) by edd
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

Fix some minor things in config(8):
 * As haesbaert suggests, correctly order include files.
 * Found some old style function defs. Updated.
 * Found a prototype inside a function. Moved.

OK nicm@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 2 20:42:17 2010 UTC (14 years ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.34: +1 -3 lines
Diff to previous 1.34 (colored)

fix potential use of uninitialized value, and remove unused variables.

ok deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Mon May 31 21:56:43 2010 UTC (14 years ago) by deraadt
Branch: MAIN
Changes since 1.33: +1 -27 lines
Diff to previous 1.33 (colored)

Do not add the swap*.c to the CFILES as a dependency.  The rest of the
Makefile.* file copes with swap*.c the same as vers.c; it is also much
nicer to keep the whole CFILES as far-reaching absolute or relative paths
rather than relative to .
ok miod

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 24 20:02:08 2010 UTC (14 years ago) by deraadt
Branch: MAIN
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored)

automatically generate the _arch= and _mach= lines at the top of the kernel
Makefile, since we already know them.  (Later on, we can remove the chunks
from the Makefile.* files...)
ok kettenis

Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 19 19:46:57 2009 UTC (14 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Correct a target name so that we don't rebuild vers.o (and then
bsd) unless some other object has changed.  Rebuild and reinstall
in /usr/src/usr.sbin/config/ after updating!

"I like it" deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 14 10:18:34 2008 UTC (15 years, 9 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.30: +3 -19 lines
Diff to previous 1.30 (colored)

simplify S definition to just srcdir, since it appears there's no special
case anymore.
Note that you can always override it from the command line if you need it.

after discussion with deraadt@ and tedu@

Revision 1.30 / (download) - annotate - [select for diffs], Sat Apr 19 14:22:04 2008 UTC (16 years, 1 month ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored)

remove build warnings:
- unused variables
- missing return

ok espie@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Mar 22 22:35:15 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

spaces found reading that diff

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 22 22:30:36 2008 UTC (16 years, 2 months ago) by espie
Branch: MAIN
Changes since 1.27: +51 -24 lines
Diff to previous 1.27 (colored)

put in explicit suffix rules, they're needed anyways since $< is only used
for suffix rules.

Use them to avoid writing loads of explicit lines.
Shaves 2/3 of each Makefile off.

okay miod@, deraadt@, henning@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 27 14:56:31 2007 UTC (16 years, 6 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

add missing header for errx.

ok otto@ deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 26 19:49:46 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +52 -38 lines
Diff to previous 1.25 (colored)

Let multiple variables in the same filename expand
ok otto millert

Revision 1.25 / (download) - annotate - [select for diffs], Mon Nov 26 17:25:59 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +10 -4 lines
Diff to previous 1.24 (colored)

Put the converted filename into the makefiles, so that we can later support
variables make(1) does not natively convert in the same way.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 26 17:24:24 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +1 -16 lines
Diff to previous 1.23 (colored)

discard still-born support for .o files in the "file" command..
this is OpenBSD.. source for everyone..

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 25 20:10:40 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +14 -4 lines
Diff to previous 1.22 (colored)

correct pathname variable matching, and also support ${MACHINE}

Revision 1.22 / (download) - annotate - [select for diffs], Sun Nov 25 08:26:59 2007 UTC (16 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +56 -2 lines
Diff to previous 1.21 (colored)

Extend the "file" directive to accept multiple pathnames seperated by '|'.
If more than one path is provided, access() them to choose which one should
be used, while parsing for ${name} expansions... currently limited to
MACHINE_ARCH
ok miod

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 6 05:05:16 2006 UTC (17 years, 6 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Don't access buf[strlen(buf) - 1] for zero-length strings.

OK jaredy@.

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 6 11:31:46 2006 UTC (18 years, 1 month ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.19: +27 -1 lines
Diff to previous 1.19 (colored)

lint can't do assembly files, put them directly in OBJS.
okay theo

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 27 18:09:52 2006 UTC (18 years, 1 month ago) by espie
Branch: MAIN
Changes since 1.18: +17 -8 lines
Diff to previous 1.18 (colored)

lint(1) support in config:
- LINTS variables to hold the list of *.ln files.
- OBJS derives from it, since it can contain more files.
- add set of explicit rules for each .ln file.
- add a lint-with keyword that duplicates compile-with functionality
to special-case linting instead of compilation.

Full linting is dependent on LINT_* macros in the arch dependent template
files.

As is, doesn't break normal build. Just creates larger Makefiles.

Review/ok miod@, cloder@, deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 8 02:22:54 2006 UTC (18 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.17: +1 -4 lines
Diff to previous 1.17 (colored)

Whack some obviously dead code (double return's, code after goto).

ok pedro@

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 5 04:32:21 2005 UTC (18 years, 6 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Ignore case on the file extension, to allow both .s and .S to be included
in SFILES for mkdep. Would also pick up .C files (but we dont allow with those
in the kernel) ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 4 18:30:05 2004 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.15: +15 -15 lines
Diff to previous 1.15 (colored)

knf and lint

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 28 04:55:07 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.14: +10 -19 lines
Diff to previous 1.14 (colored)

ansi & prototype cleanup.  tested in mkr on most arch's.  ok dhartmei

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:52 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.13: +2 -6 lines
Diff to previous 1.13 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 23 22:16:40 2003 UTC (21 years ago) by tedu
Branch: MAIN
Changes since 1.12: +9 -11 lines
Diff to previous 1.12 (colored)

moved swapgeneric.c

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 29 09:45:39 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.11: +8 -6 lines
Diff to previous 1.11 (colored)

more snprintf

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:24 2002 UTC (22 years, 2 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.10: +24 -24 lines
Diff to previous 1.10 (colored)

kill more registers.

millert@ ok

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:01 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.9: +10 -10 lines
Diff to previous 1.9 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 5 10:11:23 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

more free KNF from maja, though this was hard to do

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 5 02:55:24 2001 UTC (23 years, 5 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.7: +11 -4 lines
Diff to previous 1.7 (colored)

Generate Makefiles that don't get confused if the source layout (with
regards to depth and symbolic links) is not what's expected.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 13 08:21:55 1997 UTC (26 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.6: +17 -1 lines
Diff to previous 1.6 (colored)

from mycroft;
Allow options and makeoptions to take an empty string as a value.
Add `object' and `library' keywords to pull in precompiled .o and .a files.
Syntax is like the `file' keyword; e.g.:
object  arch/i386/i386/mumble.o         [mumble] [needs-flag]
Largely from Michael Richardson in PR 3833, with some changes by me.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 6 03:54:06 1997 UTC (26 years, 11 months ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Add defopt support, from NetBSD; thorpej (I think, I don't have the commit
message).

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 23 22:37:56 1996 UTC (27 years, 7 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.4: +31 -20 lines
Diff to previous 1.4 (colored)

Merge of NetBSD 961020.  Includes flexible build/source dir specs

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 10 12:10:04 1996 UTC (28 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

do 'make links' treat swap*.o just as all the .o files.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 21 23:40:18 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +48 -12 lines
Diff to previous 1.2 (colored)

sync to netbsd 960418

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 25 15:55:09 1996 UTC (28 years, 2 months ago) by niklas
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1 (colored)

From NetBSD: merge of 960317

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:34 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:34 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

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.