diff --git a/Makefile.in b/Makefile.in index e39926d..a498263 100644 --- a/Makefile.in +++ b/Makefile.in @@ -99,6 +99,10 @@ LIBCIG = cig/lib$(VM).a CIG = cig/cig CIGOBJS = cig/libcig.o cig/libcig1.o SCSHVMHACKS = proc2.o # postgcstub.o + +SCSHLIBS = scsh/regexp/libregexp.a +LIBS = $(LIBS) $(SCSHLIBS) + SCSHOBJS = \ scsh/dirstuff1.o \ scsh/fdports1.o \ @@ -110,7 +114,6 @@ SCSHOBJS = \ scsh/putenv.o \ scsh/rdelim.o \ scsh/re.o scsh/re1.o \ - scsh/regexp/libregexp.a \ scsh/select.o scsh/select1.o \ scsh/syscalls.o scsh/syscalls1.o \ scsh/time.o scsh/time1.o \ @@ -172,7 +175,7 @@ include $(srcdir)/scsh/machine/Makefile.inc #NetBSD make wants to see this instead: (or use GNU make on BSD. -bri) #.include "$(srcdir)/scsh/machine/Makefile.inc" -$(VM): main.o $(OBJS) $(AIX_P) +$(VM): main.o $(OBJS) $(LIBS) $(AIX_P) $(CC) $(LDFLAGS) $(LDFLAGS_AIX) -o $@ main.o $(OBJS) $(LIBS) $(LIBCIG): main.o $(OBJS)