*** empty log message ***
This commit is contained in:
parent
66cd45fa90
commit
4a47a768c6
|
@ -56,7 +56,7 @@ distdir = /users/ftp/pub/s48
|
||||||
# really needed if you want to build the linker or rebuild initial.image.
|
# really needed if you want to build the linker or rebuild initial.image.
|
||||||
include $(srcdir)/filenames.make
|
include $(srcdir)/filenames.make
|
||||||
#
|
#
|
||||||
#NetBSD make wants to see this instead: (or use GNU make on BSD. -bri)
|
# Berkeley make wants to see this instead: (or use GNU make on BSD. -bri)
|
||||||
#.include "$(srcdir)/filenames.make"
|
#.include "$(srcdir)/filenames.make"
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ SCSHVMHACKS = proc2.o # postgcstub.o
|
||||||
SCSHOBJS = \
|
SCSHOBJS = \
|
||||||
scsh/dirstuff1.o \
|
scsh/dirstuff1.o \
|
||||||
scsh/fdports1.o \
|
scsh/fdports1.o \
|
||||||
scsh/flock.o scsh/flock1.o \
|
scsh/flock.o scsh/flock1.o \
|
||||||
scsh/jcontrol2.o scsh/jcontrol1.o \
|
scsh/jcontrol2.o scsh/jcontrol1.o \
|
||||||
scsh/machine/stdio_dep.o \
|
scsh/machine/stdio_dep.o \
|
||||||
scsh/machine/time_dep1.o \
|
scsh/machine/time_dep1.o \
|
||||||
|
@ -171,7 +171,7 @@ scsh/syscalls.o: scsh/syscalls1.h scsh/dirstuff1.h scsh/fdports1.h \
|
||||||
scsh/select1.h scsh/userinfo1.h
|
scsh/select1.h scsh/userinfo1.h
|
||||||
|
|
||||||
include $(srcdir)/scsh/machine/Makefile.inc
|
include $(srcdir)/scsh/machine/Makefile.inc
|
||||||
#NetBSD make wants to see this instead: (or use GNU make on BSD. -bri)
|
# Berkeley make wants to see this instead: (or use GNU make on BSD. -bri)
|
||||||
#.include "$(srcdir)/scsh/machine/Makefile.inc"
|
#.include "$(srcdir)/scsh/machine/Makefile.inc"
|
||||||
|
|
||||||
$(VM): main.o $(OBJS) $(AIX_P)
|
$(VM): main.o $(OBJS) $(AIX_P)
|
||||||
|
|
|
@ -923,7 +923,7 @@ fi
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
## NetBSD and FreeBSD( and maybe 386BSD also)
|
## NetBSD and FreeBSD ( and maybe 386BSD also)
|
||||||
*-*-*bsd* )
|
*-*-*bsd* )
|
||||||
dir=bsd
|
dir=bsd
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef __NetBSD__
|
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||||
#include <nlist.h>
|
#include <nlist.h>
|
||||||
#include <link.h>
|
#include <link.h>
|
||||||
#else
|
#else
|
||||||
|
@ -96,7 +96,7 @@ dynamic_load(char*sharedobjname)
|
||||||
return -1;
|
return -1;
|
||||||
};
|
};
|
||||||
newhandle=dlopen(pathname, S48_DLOPEN_MODE);
|
newhandle=dlopen(pathname, S48_DLOPEN_MODE);
|
||||||
#if defined(__NetBSD__)
|
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||||
if (newhandle == -1) {
|
if (newhandle == -1) {
|
||||||
fprintf(stderr, " dynamic_load of %s can't dlopen %s",
|
fprintf(stderr, " dynamic_load of %s can't dlopen %s",
|
||||||
sharedobjname, pathname);
|
sharedobjname, pathname);
|
||||||
|
|
Loading…
Reference in New Issue