$NetBSD: patch-au,v 1.2 2005/03/03 12:01:30 garbled Exp $ --- examples/perftest/Makefile.in.orig 2004-08-04 09:08:28.000000000 -0700 +++ examples/perftest/Makefile.in 2004-10-15 09:34:01.000000000 -0700 @@ -114,7 +114,7 @@ vectest_SOURCES = vectest.f stress_SOURCES = stress.c daytime.c getopts.c tcomm_SOURCES = tcomm.c mpe_seq.c getopts.c -copytest_SOURCES = copytest.c duff.c +copytest_SOURCES = copytest.c # Distribution modifications EXTRA_DIST = config ${EXTRA_SCRIPTS} @@ -128,7 +128,7 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ +LIBS = @LIBS@ -lm tunepkt_SOURCES = tunepkt.c tunepkt_OBJECTS = tunepkt.o tunepkt_LDADD = $(LDADD) @@ -139,7 +139,7 @@ pktuse_LDADD = $(LDADD) pktuse_DEPENDENCIES = pktuse_LDFLAGS = -copytest_OBJECTS = copytest.o duff.o +copytest_OBJECTS = copytest.o copytest_LDADD = $(LDADD) copytest_DEPENDENCIES = copytest_LDFLAGS = @@ -276,12 +276,18 @@ install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ + @list='$(bin_PROGRAMS) $(EXTRA_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done + @list='$(EXTRA_SCRIPTS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @@ -342,7 +348,7 @@ mpptest: $(mpptest_OBJECTS) $(mpptest_DEPENDENCIES) @rm -f mpptest - $(LINK) $(mpptest_LDFLAGS) $(mpptest_OBJECTS) $(mpptest_LDADD) $(LIBS) + $(LINK) $(mpptest_LDFLAGS) $(mpptest_OBJECTS) $(mpptest_LDADD) $(LIBS) -lm goptest: $(goptest_OBJECTS) $(goptest_DEPENDENCIES) @rm -f goptest @@ -456,7 +462,7 @@ install: install-am uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-am -all-am: Makefile $(PROGRAMS) $(HEADERS) mpptestconf.h +all-am: Makefile $(PROGRAMS) $(EXTRA_PROGRAMS) $(HEADERS) mpptestconf.h all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install