--- Imakefile.orig	Sat Feb  5 07:59:08 2000
+++ Imakefile	Sun Nov 12 15:02:20 2000
@@ -11,7 +11,7 @@
 
 DEFINES = -DSHAPE
 INCLUDES = -I$(INCROOT)/X11
-SYS_LIBRARIES = -lXm -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm
+SYS_LIBRARIES = ${MOTIFLIB} -lXpm $(XTOOLLIB) -lXext $(XLIB) -lm
 DEPLIBS = 
 
 SRCS =	account.c askuser.c calendar.c color.c drawing.c \
@@ -25,5 +25,5 @@
 	tooltips.o trans.o util.o xinvest.o xutil.o
 
 
-ComplexProgramTarget(Xinvest)
+ComplexProgramTargetNoMan(Xinvest)
 InstallAppDefaults(Xinvest)
