aboutsummaryrefslogtreecommitdiff
path: root/pkg/proto/vol/src/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/proto/vol/src/mkpkg
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'pkg/proto/vol/src/mkpkg')
-rw-r--r--pkg/proto/vol/src/mkpkg44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkg/proto/vol/src/mkpkg b/pkg/proto/vol/src/mkpkg
new file mode 100644
index 00000000..c0930db7
--- /dev/null
+++ b/pkg/proto/vol/src/mkpkg
@@ -0,0 +1,44 @@
+# Make the VOLUMES tasks.
+
+$call relink
+$exit
+
+update:
+ $call relink
+ $call install
+ ;
+
+relink:
+ $set LIBS = "-lxtools"
+ $update libpkg.a
+ $omake x_vol.x
+ $link x_vol.o libpkg.a $(LIBS) -o xx_vol.e
+ ;
+
+install:
+ $move xx_vol.e bin$x_vol.e
+ ;
+
+tfiles:
+ $ifolder (vtransmit.x, vtransmit.gx)
+ $generic -k vtransmit.gx -o vtransmit.x $endif
+ $ifolder (imjoin.x, imjoin.gx)
+ $generic -k imjoin.gx -o imjoin.x $endif
+ ;
+
+libpkg.a:
+ $ifeq (USE_GENERIC, yes) $call tfiles $endif
+
+ t_pvol.x <ctype.h> <imhdr.h> pvol.h
+ vproject.x <math.h> <imhdr.h> pvol.h
+ vmatrix.x <imhdr.h> pvol.h
+ vtransmit.x <imhdr.h> pvol.h
+ vgetincr.x pvol.h
+ pv_gmem.x <imhdr.h>
+ t_imjoin.x <imhdr.h> <error.h> <syserr.h>
+ imjoin.x <imhdr.h>
+ imminmax.x <imhdr.h>
+ @im3dtran
+ @i2sun
+ ;
+