WSTester updated to work plus hopefully all the other changes that need to go into...
[jabaws.git] / binaries / src / ViennaRNA / Utils / Makefile.am
diff --git a/binaries/src/ViennaRNA/Utils/Makefile.am b/binaries/src/ViennaRNA/Utils/Makefile.am
new file mode 100644 (file)
index 0000000..006ed98
--- /dev/null
@@ -0,0 +1,16 @@
+pkgbindir = $(pkgdatadir)/bin
+pkgbin_PROGRAMS = b2ct popt
+
+pscript = b2mt.pl ct2b.pl dpzoom.pl mountain.pl relplot.pl rotate_ss.pl cmount.pl colorrna.pl coloraln.pl refold.pl switch.pl
+pkgbin_SCRIPTS = $(pscript) Fold
+
+EXTRA_DIST = $(pscript) Fold
+
+LDADD = -L../lib -lRNA -lm
+
+AM_CPPFLAGS = -I$(srcdir)/../H
+
+$(pscript) : Makefile
+       if test -n "@PerlCmd@"; then \
+         @PerlCmd@ -npi -e 's|^#!\S+|#!@PerlCmd@|' $@ ; \
+       fi