* Makefile.in (TARGET_FLAGS_TO_PASS): Pass down LD_FOR_TARGET and

NLMCONV_FOR_TARGET.  (SUBDIRS):  Add nlm target.
	* configure.in (powerpc-*-netware*):  Automatically configure nlm
	subdir.
	* nlm/Makefile.in:  Add {CC NLMCONV LD}_FOR_TARGET.  Remove alpha
	specific stuff.  Make things more configurable.
	* nlm/configure.in:  Add powerpc-*-netware* target.  Use
	gdbserve.mt/cpu.c/cpu.h for target stuff.  Get rid of tm/xm/nm.h
	files.
	* nlm/gdbserve.c:  Move Alpha specific stuff into other files.
	Remove lots of architecture-specific stuff.
	* nlm/gdbserve.def:  Add new imports.
	* nlm/ppc.c, nlm/ppc.h:  New files that contain PowerPC specific code.
	* nlm/prelude.c:  Don't include libhooks.h, get rid of call to
	register library.
	* nlm/prelude.o:  What was this doing here?
This commit is contained in:
Stu Grossman
1994-08-18 06:32:55 +00:00
parent 8c074d7ada
commit b7da24943d
15 changed files with 1572 additions and 298 deletions

View File

@@ -13,7 +13,10 @@
==============================================================================
*/
#include <nwpre.h>
#include "libhooks.h"
/*#include "libhooks.h"*/
#include <stddef.h>
extern int main (int, char **);
static int NLMID;
@@ -55,8 +58,5 @@ int _Prelude
&NLMID,
_cstart_);
if (!rc)
rc = _NWRegisterNLMLibraryUser(NLMID, _GetCLibNLMLibHandle());
return rc;
}