aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/mkpkg
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/images/tv/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'pkg/images/tv/mkpkg')
-rw-r--r--pkg/images/tv/mkpkg37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkg/images/tv/mkpkg b/pkg/images/tv/mkpkg
new file mode 100644
index 00000000..3ad9be17
--- /dev/null
+++ b/pkg/images/tv/mkpkg
@@ -0,0 +1,37 @@
+# TV package.
+
+$call relink
+$exit
+
+update:
+ $ifeq (USE_IIS, yes) @iis $endif
+ $call relink
+ $call install
+ ;
+
+relink:
+ $set LIBS1 = "-liminterp -lncar -lgks -lds -lxtools"
+ $set LIBS2 = "-lgsurfit -lnlfit -lcurfit -lllsq -liminterp"
+ $checkout libds.a lib$
+ $update libds.a
+ $checkin libds.a lib$
+ $update libpkg.a
+ $omake x_tv.x
+ $link x_tv.o libpkg.a $(LIBS1) $(LIBS2) -o xx_tv.e
+ ;
+
+install:
+ $move xx_tv.e bin$x_tv.e
+ ;
+
+libds.a:
+ @display
+ @wcslab
+ ;
+
+libpkg.a:
+ @imedit
+ @imexamine
+ @tvmark
+ @wcslab
+ ;