Commit Graph

3970 Commits

Author SHA1 Message Date
Jordan K. Hubbard
c66c40460e Fixed a couple of typos. Ok, this works now. Only one significant hurdle
remains, and that's that this does not work with multiple targets, which
sort of throws the tk and fvwm distributions into a mess.  tk needs both
a tarball and a patch file from the same site, fvwm needs up to 3 different
files if you want all the options.  If anyone wants to take this the last
few steps of the way towards somehow handling cases like this, I'd be very
happy.
Submitted by:	jkh
1994-09-02 01:53:33 +00:00
Jordan K. Hubbard
9f421ad238 Ok, I've reviewed this and made it work now. ncftp fetching seems to be
working/closer to working now.
Submitted by:	jkh
1994-09-02 01:32:13 +00:00
Jordan K. Hubbard
e9ea29f3fe Add a few missing >> lines to error echo's.. This is basically my
convention to make searching for error messages easy.
Submitted by:	jkh
1994-09-02 01:13:47 +00:00
Jordan K. Hubbard
b9e3359515 Here's my first cut at doing auto-fetch with ncftp. The extract rule
is turning into the original make rule from hell!
Submitted by:	jkh
1994-09-01 18:03:37 +00:00
Jordan K. Hubbard
3158984cf8 Geeze, what was I thinking again? Replace all references to:
${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

With simply `${DISTFILE}' which defaults to the above.  This lets you
easily name distribution files that don't cooperate with any rational
naming syntax.

Similarly, make a variable called ${PKGFILE} which fills the same purpose
for packages.

Just trying to make this thing really really general to suit every need.
Now I need somebody to figure out how to make the extract target auto-fetch
things from ${HOME_LOCATION} with ncftp *if* ncftp is installed and it
looks possible to reach the foreign site.  That will take some fancy footwork,
but would be slick.  I've changed this too so that HOME_LOCATION is no longer
set by default, allowing you to do an .if defined(..) check for it.  The
extract rule now does this too.

Submitted by:	jkh
1994-09-01 16:01:34 +00:00
Paul Richards
443dced56c Changed g++ to c++
Reviewed by:
Submitted by:
1994-08-31 03:57:32 +00:00
Adam David
07a9762776 added hook for post-build script
Reviewed by:
Submitted by:
1994-08-30 16:39:27 +00:00
Bruce Evans
c19cbc8042 Define NOOBJ so that install doesn't try to get the sources from the
wrong place.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
1994-08-28 17:21:36 +00:00
Bruce Evans
07d0464545 Fix it to find the sources if there is an obj directory. Lots of the old
doc Makefiles are broken in the same way.  This should be fixed centrally.
1994-08-28 17:00:54 +00:00
Bruce Evans
80c02d5983 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 15:37:40 +00:00
Bruce Evans
3c303ff206 Use ${ECHODIR} instead of `echo' for printing directory names so that
`make -ss' is very quiet.
1994-08-28 15:35:30 +00:00
Bruce Evans
a4c39c7aa6 Fix spelling error in little-used target.
Build an intermediate object file even when there is only one source
file.  This costs a little space but saves time if the target is rebuilt
a lot, and it stops the target varying with the name of temporary
intermediates.

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.

Use ${ECHODIR} instead of echo for printing directory names so that
`make -ss' is very quiet.
1994-08-28 15:32:10 +00:00
Bruce Evans
415bccaa8d Recover improvements in 4.4lite version that were clobbered by the
previous commit:
+ Everything is initialized using ?= instead of =.
+ Nicer formatting (more white space).
+ .c: rule.

Add macros ECHO and ECHODIR.  Both are normally `echo', but when
the make flags include -s, ECHO is set to `true' and when the make
flags include two or more -s's ECHODIR is set to `true'.  @${ECHO}
should be used instead of @echo in most cases.  ${ECHODIR} is
intended to be used mainly for messages about directory names.
1994-08-28 14:56:07 +00:00
Jordan K. Hubbard
82df480e9f Lots of changes - get the NO_XXX things over, add @'s to the touches for
default extract and configure targets, add a pre-clean since I need it for
pkg_install port.
Submitted by:	jkh
1994-08-28 14:41:34 +00:00
Bruce Evans
dcec6b1d7f Fix filenames for LIBC and LIBTERM. 1994-08-28 14:21:55 +00:00
Jordan K. Hubbard
cc3840179b Add bsd.port* to the Makefile.
Reviewed by:
Submitted by:
1994-08-28 09:35:51 +00:00
Garrett Wollman
c59ae063cb Add support for two modifier variables which will be useful soon:
PRECIOUSLIB causes the shared library to be installed with the system
immutable flag (schg) set.  (You can add other flags for shared-library
installation by modifying SHLINSTALLFLAGS.)

INTERNALLIB disables the generation of non-shared versions of the library.
This may be of use for programs like Taylor UUCP and GCC which have large
internal libraries shared among a number of programs.
1994-08-26 18:58:10 +00:00
Jordan K. Hubbard
367eafb79a Add a pre-configure rule after all, since it's helpful to be able
to also run a rule before you apply patches and then go into the 3 stage
script configuration.  This bit Adam David in his dgd port.
Submitted by:	jkh
1994-08-25 22:59:56 +00:00
Jordan K. Hubbard
da22574df1 Also `make Makefiles' in USE_IMAKE case to catch subdirs.
Submitted by:	jkh
1994-08-25 21:02:45 +00:00
Jordan K. Hubbard
2581e485d5 Sigh. I am a hosebrain. I've been using gmake for so long, I've
started using some of its features reflexively.
Submitted by:	jkh
1994-08-25 13:56:08 +00:00
Jordan K. Hubbard
23573be72a Add a new flag: USE_IMAKE
This will cause the configure pass to do an `xmkmf' if set.
Submitted by:	jkh
1994-08-25 13:53:02 +00:00
Guido van Rooij
0c43d89a0d Make it make-able by adding a rule for paper.ps
Reviewed by:
Submitted by:	guido
1994-08-24 19:01:36 +00:00
Guido van Rooij
998d2443a0 Make it make-able by adding a rule for paper.ps.
Reviewed by:
Submitted by:	guido
1994-08-24 18:57:49 +00:00
Jordan K. Hubbard
c3181accea Some cosmetic changes.
Add pre-{build,extract,install,...} targets for Torsten, who apparently
needs them.  Can't do effective post-* targets without major work, sorry.

						Jordan
Reviewed by:
Submitted by:
1994-08-24 14:49:33 +00:00
Guido van Rooij
dc50661bfc Move fbtab file to share/examples/etc per Garrett's request.
Reviewed by:
Submitted by:
1994-08-23 20:25:28 +00:00
David Greenman
0be4285593 Woops, "8/16 mode" should read "8/16bit mode". 1994-08-23 10:51:40 +00:00
David Greenman
45dab6ecb2 Added manual page for my ethernet driver - if_ed.c, and removed old
manual page for the com driver (which is no longer in our source tree).
1994-08-23 09:50:48 +00:00
David Greenman
f4c08ab048 Corrected kernel base address. 1994-08-23 09:34:10 +00:00
Andrey A. Chernov
a99465fe3d pc3r russian koi8-r syscons console added 1994-08-22 20:07:56 +00:00
Guido van Rooij
695fcfc975 Add Sun alike fbtab functionality.
Reviewed by:
Submitted by:	guido
1994-08-22 19:35:49 +00:00
Bruce Evans
53c89efc34 - Make each target depend on its source so that all the targets don't get
get built every time.
- Use the standard clean and cleandir targets.
1994-08-22 15:28:17 +00:00
Jordan K. Hubbard
40ac3d51ca Ok, this should work with a centralized package directory now (so you
can elect to dump all finished packages in one directory).
Submitted by:	jkh
1994-08-22 13:25:33 +00:00
Jordan K. Hubbard
99188fedd9 Make package target a lot more general.
Submitted by:	jkh
1994-08-22 13:11:32 +00:00
Jordan K. Hubbard
301cdacf77 Whoops - left out the package rule!
Submitted by:	jkh
1994-08-22 13:02:16 +00:00
Jordan K. Hubbard
824137748f Use proper proper package suffix.
Submitted by:	jkh
1994-08-22 12:07:19 +00:00
Jordan K. Hubbard
12c6fd4131 Whoops, left out a backslash in my package rule.
Submitted by:	jkh
1994-08-22 12:00:34 +00:00
Jordan K. Hubbard
7fd2d1ca27 Ok, now we warn if we're about to recreate the distfile from configured
sources.  Configuring doesn't always _do_ anything, which is why it's
a warning and not an error.
Submitted by:	jkh
1994-08-22 11:23:17 +00:00
Jordan K. Hubbard
984dd1a95a New bsd.port.subdir.mk file for use by ports. This groks all the
special ports building targets and will recurse properly.  Sorry,
Julian E - no fancy prompts, just recursion! :-)

Added a `bundle' target.  Purpose is as follows:

	You want to give someone a complete tree sans distfiles (for
	sticking on CDROM perhaps?) but the difficulty there is that
	the first time the user types `make clean', all the unpacked
	sources are gone again.  Typing `make bundle' recreates the
	original distfile if it can, so someone can "back up" their
	unpacked tree easily with one command.

	Whoops, just thought of something - it should warn if you
	configured the working source.
	Ok, next commit! :)
Submitted by:	jkh
1994-08-22 11:20:07 +00:00
Jordan K. Hubbard
44204c43cc I had to bite the bullet: There's now a port.subdir.mk that does the right
thing with recursive build, configure, bundle or extract targets.
Reviewed by:
Submitted by:
1994-08-22 10:46:38 +00:00
Jordan K. Hubbard
a57d411ac1 Sigh.. Some of these configs are a little hairy. I need to know the
${PORTSDIR} too now - pass it to any and all config scripts.
Submitted by:	jkh
1994-08-21 18:26:10 +00:00
Jordan K. Hubbard
a1c49e4efc Make things a little more user-friendly
Submitted by:	jkh
1994-08-21 17:42:24 +00:00
Jordan K. Hubbard
34c3b2aff2 Get the .configure_done stuff working - it wasn't in the right place.
Submitted by:	jkh
1994-08-21 16:55:54 +00:00
Jordan K. Hubbard
d0d7662fb4 Start really adding some features here. Let's see:
1. New variable DEPENDS lets you list packages that this depends on,
   relative to the top (lang/tcl, x11/tk, etc).  These packages will
   always get made first.

2. Don't configure again if you've already done so successfully.

3. Add pre-configure and post-configure hooks.  You can now do a pre-configure,
   a local configure, a port-provided configure and finally a post-configure
   if you really really want to.  I can't imagine anything this will leave us
   not being able to do! :) [ Yes, I have actually found a use for at least
   two of these in one port - see x11/tk!].

Submitted by:	jkh
1994-08-21 16:37:09 +00:00
Jordan K. Hubbard
9bd3cef5dc Simplify the whole configuration script business quite a bit. What
was I thinking before..
Submitted by:	jkh
1994-08-21 15:04:03 +00:00
Jordan K. Hubbard
09e9c8438a Whoops, the check for a missing distfile was slightly bogus. Now it works.
Submitted by:	jkh
1994-08-21 14:32:40 +00:00
Jordan K. Hubbard
754969c971 Make any local configuration file unconditional. That is, if one exists
then run it even if GNU configure is to be run later.
Submitted by:	jkh
1994-08-21 14:10:16 +00:00
Jordan K. Hubbard
173b9407ed Commit my new ports make macros. Still not 100% complete yet by any means
but fairly usable at this stage.
Submitted by:	jkh
1994-08-21 13:12:57 +00:00
Bruce Evans
ed575421e9 - bsd.dep.mk and bsd.own.mk have been required for some time. Install them.
- Install with group BINGRP, not BINOWN.
1994-08-20 08:25:00 +00:00
Bruce Evans
ad780a968f Install with group BINGRP, not BINOWN. 1994-08-20 08:16:43 +00:00
Garrett Wollman
1b72a208c7 Actually install LKM examples. 1994-08-19 20:43:42 +00:00
David Greenman
62a6e4161e Terry Lambert's loadable kernel module support - example modules. 1994-08-19 12:42:13 +00:00
Jordan K. Hubbard
d5ca85cdd4 Reenable the makedb stuff; it works fine.
Submitted by:	jkh
1994-08-16 22:44:28 +00:00
Jordan K. Hubbard
6acd8e2475 Bruce Evans is right - this shouldn't touch /etc *at all* and I should
have nuked it, not fixed it.  No longer install /etc/localtime.
Reviewed by:
Submitted by:
1994-08-11 01:39:23 +00:00
Jordan K. Hubbard
0419c5b941 Add a preventative rm of /etc/localtime in the install rule just in
case it's a link (in which case the subsequent install will fall over).
Submitted by:	jkh
1994-08-11 00:54:30 +00:00
Jordan K. Hubbard
bfc54eff9f Change a .0 to a .5.
Submitted by:	jkh
1994-08-11 00:45:38 +00:00
Jordan K. Hubbard
1e42b679cd Put the cons25 entries for syscons back.
Submitted by:	jkh
1994-08-11 00:39:39 +00:00
Jordan K. Hubbard
60303bdf64 termcap.0 -> termcap.5
Submitted by:	jkh
1994-08-11 00:24:33 +00:00
Jordan K. Hubbard
d20fc875b8 Correct me.0 -> me.7
Submitted by:	jkh
1994-08-11 00:11:44 +00:00
Garrett Wollman
9830dcf4b8 Install procfs(5). 1994-08-10 20:04:57 +00:00
Garrett Wollman
2e461b47d9 Oops, fix typo. 1994-08-10 20:03:54 +00:00
Garrett Wollman
237dfed1d4 Initial manual page for the new procfs. 1994-08-10 20:03:06 +00:00
Garrett Wollman
652f974539 Added example of how to tell various FreeBSD versions apart. 1994-08-10 06:40:36 +00:00
Garrett Wollman
45f7f888bb Make the install targets obey the INSTALLFLAGS requests in the new
Makefiles.

DANGER WILL ROBINSON!

This will cause repeat installs of certain programs, such as `init' and
`rcp', to fail unless one of the two conditions is met:

	1) You are in single-user mode.
	2) Your security level is set to 0 or -1.

If you have compiled a kernel from the latest sources, your kernel
security level is set to -1 by default, which will keep `init' from
fiddling with it.  You can increase it, but not decrease it, from the
command line with the command `sysctl -w kern.securelevel=<new value>'.
I believe that -1 is the most appropriate value to use while we are still
developing the code, although when we ship it should be changed back to 0.

See init(8) for more information.
1994-08-10 02:48:08 +00:00
Garrett Wollman
8ccf48ea2d Make man page installation work for ``unattached'' and kernel pages. 1994-08-09 18:41:38 +00:00
Garrett Wollman
99e4ba4265 Make examples install into /usr/share/examples. Like with includes, you
have a choice between SHARED=copies and SHARED=symlinks.  The default
is to copy.

I have also added a /usr/share/examples/etc directory, where I hope to
have all sample configuration files which in real use go into /etc installed.
(This way, if the user really screws the real one up, they can always go
back to a known-working distribution copy, even if they don't have sources.)
1994-08-09 18:25:38 +00:00
Poul-Henning Kamp
627e55f2c5 Submitted by: Bruce Evans <bde@kralizec.zeta.org.au>
Fixed the makefile.
1994-08-09 00:16:56 +00:00
Garrett Wollman
920f8baa30 Don't pass ${LDADD} to ${AR}. Use ${ARADD} for that. 1994-08-08 15:45:55 +00:00
Garrett Wollman
c1d06ca15a Moved YP general explanation manual page to a slightly more appropriate
location.
1994-08-08 01:07:26 +00:00
Garrett Wollman
944fcc15f8 Sun RPC demo programs from 4.4-Lite 1994-08-07 18:50:51 +00:00
David Greenman
b3bfc7199e Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
Garrett Wollman
d14f862c56 Add a couple of files we created in 1.x. 1994-08-04 21:10:08 +00:00
Garrett Wollman
3585b293d1 Spplat our 1.1.5 `mk' ifiles over the top of the 4.4 ones. So far
as I can tell, this is ts the right thing to do.
1994-08-04 21:09:27 +00:00
Poul-Henning Kamp
75f6127b36 Reviewed by: phk
Killed a bunch of control chars.
1994-07-24 02:04:51 +00:00
Poul-Henning Kamp
c41bc9bba4 Reviewed by: phk
Added a clean target.
1994-07-24 01:45:20 +00:00
Poul-Henning Kamp
636ccd3581 Reviewed by: phk
More binary files killed using uuencode.
1994-07-24 01:39:14 +00:00
Rodney W. Grimes
f249e6f1f8 The file tmac.r was not shipped on the 4.4 tape, mark this fact. 1994-07-06 02:17:29 +00:00
Rodney W. Grimes
3161b790c6 all: does not need to depend on ${MAN5}, remove special case clean:
and cleandir: targets, simple use a CLEANFILES+= to handle this very
simple special case.
Add ${COPY} knob to install commands so that files don't disappear out
of the obj tree after a make install.
1994-07-06 02:16:59 +00:00
Rodney W. Grimes
c0f2e210a8 Mark the fact that we have not imported man8.{hp300,tahoe,vax}. (There
was not man8.sparc :-).)
1994-07-06 02:14:36 +00:00
Rodney W. Grimes
c1aa8c2d51 Mark the fact that we have not imported man4.{hp300,sparc,tahoe,vax}. 1994-07-06 02:13:54 +00:00
Rodney W. Grimes
aafa95440e The directory man3f did not come on the tape, mark it XXX MISSING. 1994-07-06 02:13:00 +00:00
Rodney W. Grimes
44145cfc14 The files connectives and words did not come on the tape, mark them
XXX MISSING.
1994-07-06 02:12:25 +00:00
Rodney W. Grimes
81cc6e12fe Disable doc for now since it had a bunch of symbolic links I am not
ready to go deal with just yet.
Disable man for now it will be fixed shortly, just wanted all the man
page converion stuff to be done togeather since that is a major functional
change and really belongs in a seperate commit.
1994-07-06 02:11:36 +00:00
Andrey A. Chernov
2402b6287e Add commented out STARTUP_LOCALE with explanation 1994-06-16 17:13:53 +00:00
Jordan K. Hubbard
67e56d3693 Flags 0x80 now means enable the diags, not disable. 1994-06-15 23:28:07 +00:00
Adam David
33d04130bd Changed MDEC_OPT=BOOTWAIT= to BOOTWAIT= 1994-06-15 21:32:38 +00:00
Adam David
4a1bed6807 added comments for how to use CCFPU and MDEC_OPT 1994-06-15 20:24:16 +00:00
Andrey A. Chernov
c4a6b5c74b Remove CXXFLAGS from here, handled in another place 1994-06-14 11:46:52 +00:00
Andrey A. Chernov
476a220578 Add commented out PRINTER=ps entry for easy choose
system documentation format
1994-06-09 11:13:52 +00:00
Andrey A. Chernov
e6f5a68194 Add commented out CXXFLAGS entry similar to CFLAGS entry 1994-06-09 08:32:58 +00:00
Geoff Rehmet
624ca9967b Add mention of WANT_MSUN, HAVE_FPU and NOMANCOMPRESS
(NOMANCOMPRESS works together with the new bsd.man.mk to turn off
compression of manual pages - manual pages are installed compressed
by default now.)
1994-06-05 20:37:15 +00:00
Andreas Schulz
e2ca48bacc Added a manpage for the tw device. Changed the Makefile to install that
manpage into the proper place.
1994-06-05 16:21:49 +00:00
Andrey A. Chernov
c855131344 Updated for new sio driver 1994-06-04 00:41:25 +00:00
Andrey A. Chernov
2e9f7a3cb9 Remove obsoleted COM_BIDIR, FIFO_TRIGGER_* and "comcontrol bidir"
references
1994-06-01 21:38:46 +00:00
Poul-Henning Kamp
da63052f1e added make.conf template, which does nothing. 1994-06-01 00:58:06 +00:00
Rodney W. Grimes
afe61c1516 BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00
Rodney W. Grimes
dea673e932 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00
Geoff Rehmet
3074d43922 Add some clarifications to lpt manpage,
remove lpa manpage.
1994-05-22 12:29:21 +00:00
Andrey A. Chernov
dbdb1f56bb Correct reference to master port:
really it is last port on card, not first.
1994-05-07 01:15:10 +00:00
Geoff Rehmet
bc3919a9be Update lpt(4) man page to reflect recent changes to the lpt device driver.
(also point out that lpa is now defunct.)
1994-04-06 20:21:33 +00:00
Andrey A. Chernov
e8c3de7e2f Some changes from Julian Stacey installed 1994-03-18 13:40:01 +00:00
Andrey A. Chernov
d0251643c1 English corrected. 1994-02-19 15:50:38 +00:00
Andrey A. Chernov
a3ef21fa83 We lost ttyd for dialin, now restore it. 1994-02-19 13:19:33 +00:00
Rodney W. Grimes
8ae98d3e2f Put the flags field in the right place so that config does not complain
about improper syntax.
1994-02-17 17:44:07 +00:00
Andrey A. Chernov
0799d816fb Previous version restored back after Jordan's damage.
I already update this manpage from wilko, moreover,
I fix some his bugs and add some new material.

Jordan, pleeease, do following commands *before* each your commit:
	cvs update <file>
	cvs rlog <file>
and after update (before commit)
	cvs diff -c <file>
It can saves my life time at least...
1994-02-17 11:41:16 +00:00
Jordan K. Hubbard
0783bc487c Much improved manpage from wilko@idca.tds.philips.nl 1994-02-16 23:17:08 +00:00
Andrey A. Chernov
211439cc2a Man page update from wilko@idca.tds.philips.nl 1994-02-13 00:16:23 +00:00
Andrey A. Chernov
0f3a91e768 com.4 restored back 1994-02-11 10:55:12 +00:00
Andrey A. Chernov
a756a065cc Remove nonexistent com driver manpage.
Describe some additional features of sio.
1994-02-09 23:49:45 +00:00
Andreas Schulz
d38af35cd4 Fixed a little typo in the spkr.4 man page. 1994-02-06 12:24:59 +00:00
Garrett Wollman
fa93649905 Eliminate references to the ``U word'' and make page conform to Berkeley
conventions for formatting.  (Print it out on a PostScript printer
to see the difference.)
1994-02-03 07:32:01 +00:00
Nate Williams
8b2e5491db From: sos@login.dkuug.dk (S|ren Schmidt)
Subject: syscons-1.3
Date: Sat, 29 Jan 94 23:33:50 MET

But here is the (hopefully) final syscons-1.3....

....

I've changed sgetc so it works as the pccons parallel
(it now uses a scgetc internally).


[
There were a couple changes that Bruce Evans sent me that were applied
to this version along with some changes that S'ren didn't incorporate
into the final version.  There will be only minor changes if anything
from this version to his final release.
]
1994-02-01 06:22:29 +00:00
Andrey A. Chernov
bde1866a63 Added octave-tracking.
Added the slur-mark feature.
Name of ioctl's include sys/spkr.h changed to machine/speaker.h
1993-11-09 02:38:17 +00:00
Andrey A. Chernov
840c9e583c Virtual consoles now ttyvX, not ttyXX (according to MAKEDEV) 1993-11-09 01:49:38 +00:00
Rodney W. Grimes
976608fbb1 Install mse man page, and create link for it 1993-10-19 20:20:33 +00:00
Rodney W. Grimes
4b4d7f421c Move the mse mouse man page to the man4.i386 directory 1993-10-19 20:19:15 +00:00
Rodney W. Grimes
fa67110305 From: baukno@login.dkuug.dk (S|ren Schmidt)
Subject: Patches to syscons/wd

Man pages for keyboard & screen (using syscons)
1993-09-09 00:32:25 +00:00
Rodney W. Grimes
b9a1ef14c0 New manual pages from NetBSD, revised for FreeBSD slightly 1993-08-28 12:41:23 +00:00
Andrew Moore
f48c5293f6 add links to ../ 1993-07-23 21:29:57 +00:00
Charlie Root
99f770b8b8 New manual page system 1993-07-02 06:44:07 +00:00
Rodney W. Grimes
9002c02abc Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00