Commit Graph

181 Commits

Author SHA1 Message Date
christos 9103779d38 Add more info that recent amd's want. XXX: this is not cross-build friendly. 2004-01-11 18:37:35 +00:00
christos 8baf088e39 PR/17103: FUKAUMI Naoki: Make this print the correct OS version and other
info. This breaks each time someone imports a new amd.
2004-01-11 18:37:01 +00:00
lukem 130ab7336b 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.
2003-10-21 10:01:19 +00:00
lukem a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
lukem a93ea220fc 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".
2003-08-01 17:03:41 +00:00
yamt cc3f08f723 define HAVE_XDR_MOUNTRES3 in pre-generated config.h as we have mountres3 now.
this makes amd buildable for archs without shlibs support like hpcsh.
(i've tested i386->hpcsh cross-compile)

pointed by Torsten Harenberg on tech-hpcsh
and analyzed by Valeriy E. Ushakov.
2003-05-18 09:44:28 +00:00
yamt c18e1d32a6 make amd compile again.
pointed by Geoff Wing.
2003-05-08 13:34:04 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
wiz 97808774c1 Restore RCS Id, lost during last update. 2003-03-09 17:57:50 +00:00
christos a9085b5c40 disable YP and HESIOD in config.h, and mention why... (thanks uwe) 2003-03-09 01:55:48 +00:00
christos 37deef3cda adjust to 6.1b2 2003-03-09 01:36:38 +00:00
christos 3e354b00a7 ufs is ffs not ufs. 2003-02-11 16:17:13 +00:00
uwe 045242f27d Restore changes made in revision 1.20 and lost during last upgrade.
We pass HAVE_MAP_{NIS,HESIOD} on the command line, based on
USE_{YP,HESIOD} make variables, so #if 0 them here.
2003-01-03 14:07:56 +00:00
christos 7fc3700a4c ops_autofs.c is gone. 2002-11-29 23:25:06 +00:00
christos 1339a09219 catch up with 6.1b1 2002-11-29 23:23:59 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
tron 6db3449490 Add new option "xlatecookie" to amd(8) to support NFS v3 mounts with cookie
translation. The changes were provided by Mark Davies in PR bin/17245.
2002-06-14 15:16:53 +00:00
itojun 2cc8b1799d detect endianness correctly by using BYTE_ORDER. 2002-05-30 14:48:44 +00:00
itojun 2234e66e0e embed correct machine/machine_arch info into binary. PR 17103.
(fixes 1.18 -> 1.19 change)
From: Takeshi Nakayama <tn@catvmics.ne.jp>
2002-05-30 14:25:34 +00:00
thorpej 9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
simonb 2db48f4c88 Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
some cases).
2001-09-10 11:18:41 +00:00
veego 221a388192 Regenerated for am-utils 6.0.6.
The configure script was fixed, so the default output of configure is now
fine.
2001-05-13 18:11:56 +00:00
veego 2f8b710391 Bump the minor number because of the addition of haseq and hasmnteq. 2001-05-13 18:11:12 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami 270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
itojun 4519a2cf89 libc has clnt_sperrno(), no need to pull it into libamu.
this also raises problem when we try to link amd statically.  PR 11187.
bumps libamu major.
2001-01-04 14:21:09 +00:00
veego 048d058532 Fill in 26 defines for MNT2_NFS_OPT_ which the configure script didn't
find and were lost in the upgrade of am-utils.
2000-11-21 12:14:18 +00:00
wiz 45b07c3e8f Since amd compiles with WAUDIT=2, include it in Makefile. 2000-11-21 02:03:26 +00:00
wiz 20845d16f4 remove outdated comment 2000-11-20 01:58:43 +00:00
wiz c9669422d2 Make config_local.h more cross-compile safe. Thanks simonb! 2000-11-20 01:56:13 +00:00
wiz d53f0cf553 Fix thinko on my part (we do have setitimer). 2000-11-20 01:23:14 +00:00
wiz 0f1a444c28 restore ID tag (forgot removing $$) 2000-11-20 00:27:23 +00:00
wiz e5d9f656ce Replace old build structure with new reach-over one. 2000-11-20 00:24:41 +00:00
wiz 4f035159de Import of amd reach-over Makefiles for using the sources in dist/am-utils. 2000-11-20 00:16:18 +00:00
wiz efad173586 Add amd.conf.5 from dist/am-utils/scripts here, and install it.
Fixes PRs 5051, 7524, 8999, 10814.
XXX: Why are amd & friends not using reachover Makefiles, but a copy of
the source? This should be fixed...
2000-11-08 12:00:48 +00:00
is d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
matt 3ab02a8704 More #include <stdlib.h> string, etc. cleanup 2000-07-04 20:27:35 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
itojun 6cbe824ac3 previous fix against alignment issue was totally broken.
hope this one is okay.
2000-02-22 17:30:17 +00:00
itojun cc0b4656ef prevent align fault on alpha (SIOCGIFCONF). 2000-02-21 02:04:12 +00:00
bouyer f0f0eba116 In real_plog() change vsprintf() to vsnprintf() to be sure we'll never overflow
msg[]. I didn't check all the plog() call so I don't know if this overflow
is possible by a non-root user or not.
Suggested by Zdenek Salvet <salvet@ics.muni.cz> a looong time ago.
2000-01-15 15:51:54 +00:00
hwr e00fb667a6 Change bogus section headers. From PR 8735. 1999-11-03 21:44:37 +00:00
veego c613f31161 Add the doc subdir again. 1999-09-05 08:36:54 +00:00
veego 54a6edeaf0 Remove this files again. See rev 1.2 why we don't need them here. 1999-09-05 08:35:57 +00:00
veego 03f82227d8 Remove the doc subdir til we fix the build problem with it. 1999-09-05 08:14:08 +00:00
christos 38d7b50eed minor nits. 1999-09-04 23:08:44 +00:00
christos 18f0f293d7 make these undead. 1999-09-04 23:06:40 +00:00
christos bf36806743 Resolve corn-flakes 1999-09-04 22:38:15 +00:00
christos 39656c1d33 Import the latest to deal with security problems related to amq RPC. 1999-09-04 22:24:52 +00:00