aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/tv/mkpkg
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /pkg/images/tv/mkpkg
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
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
+ ;