1 $NetBSD: patch-ad,v 1.3 2009/09/09 17:21:52 joerg Exp $
3 --- tools/Imakefile.in.orig Tue Oct 27 03:02:45 1998
4 +++ tools/Imakefile.in Mon May 1 04:41:40 2000
9 - VFLIB = $(VFLIB_LIBDIR)/libVFlib2.la
10 + VFLIB = $(LDFLAGS) -lVFlib2 $(EXT_LIBRARY)
12 PROGRAMS = disol kban ktest vfperf vftest fmtest
13 SRCS = disol.c kban.c ktest.c vfperf.c vftest.c fmtest.c
14 OBJS = disol.lo kban.lo ktest.lo vfperf.lo vftest.lo fmtest.lo
15 - INSTALL_PROGRAMS = ktest
16 + INSTALL_PROGRAMS = $(PROGRAMS)
18 default all:: $(PROGRAMS)
23 -disol: disol.lo $(VFLIB)
25 $(LIBTOOL) --mode=link \
26 $(CC) -o $@ disol.lo $(VFLIB)
29 $(CC) $(CFLAGS) -c disol.c
32 -kban: kban.lo $(VFLIB)
34 $(LIBTOOL) --mode=link \
35 $(CC) -o $@ kban.lo $(VFLIB)
38 $(CC) $(CFLAGS) -c kban.c
41 -ktest: ktest.lo $(DEPXLIB) $(VFLIB)
42 +ktest: ktest.lo $(DEPXLIB)
43 $(LIBTOOL) --mode=link \
44 $(CC) -o $@ $(LDOPTIONS) ktest.lo $(XLIB) $(VFLIB)
47 $(CC) $(CFLAGS) $(ALLINCLUDES) -c ktest.c
50 -vf2bdf: vf2bdf.lo $(VFLIB)
52 $(LIBTOOL) --mode=link \
53 $(CC) -o $@ vf2bdf.lo $(VFLIB)
56 $(CC) $(CFLAGS) -c vf2bdf.c
59 -vfperf: vfperf.lo $(VFLIB)
61 $(LIBTOOL) --mode=link \
62 $(CC) -o $@ vfperf.lo $(VFLIB)
65 $(CC) $(CFLAGS) -c vfperf.c
68 -vftest: vftest.lo $(DEPXLIB) $(VFLIB)
69 +vftest: vftest.lo $(DEPXLIB)
70 $(LIBTOOL) --mode=link \
71 $(CC) -o $@ $(LDOPTIONS) vftest.lo $(XLIB) $(VFLIB)
74 $(CC) $(CFLAGS) $(ALLINCLUDES) -c vftest.c
77 -fmtest: fmtest.lo $(VFLIB)
79 $(LIBTOOL) --mode=link \
80 $(CC) -o $@ fmtest.lo $(VFLIB)
83 @if [ ! -d $(bindir) ] ; then \
84 ./recmkdir $(bindir); fi
85 @for P in $(INSTALL_PROGRAMS) ; do \
86 - $(LIBTOOL) $(CP) $$P $(bindir)/$$P ; \
87 + $(LIBTOOL) --mode=install $(BSD_INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
90 @for P in $(INSTALL_PROGRAMS) ; do \