aboutsummaryrefslogtreecommitdiff
path: root/pkg/images/imgeom/src/mkpkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/images/imgeom/src/mkpkg')
-rw-r--r--pkg/images/imgeom/src/mkpkg35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkg/images/imgeom/src/mkpkg b/pkg/images/imgeom/src/mkpkg
new file mode 100644
index 00000000..2e784d54
--- /dev/null
+++ b/pkg/images/imgeom/src/mkpkg
@@ -0,0 +1,35 @@
+# Library for the GEOMETRIC TRANSFORMATION tasks
+
+$checkout libpkg.a ../../
+$update libpkg.a
+$checkin libpkg.a ../../
+$exit
+
+generic:
+ $set GEN = "$$generic -k"
+
+ $ifolder (generic/blkav.x, blkav.gx)
+ $(GEN) blkav.gx -o generic/blkav.x $endif
+ $ifolder (generic/blkrp.x, blkrp.gx)
+ $(GEN) blkrp.gx -o generic/blkrp.x $endif
+ $ifolder (generic/imtrans.x, imtrans.gx)
+ $(GEN) imtrans.gx -o generic/imtrans.x $endif
+ $ifolder (generic/im3dtran.x, im3dtran.gx)
+ $(GEN) im3dtran.gx -o generic/im3dtran.x $endif
+ ;
+
+libpkg.a:
+ $ifeq (USE_GENERIC, yes) $call generic $endif
+
+ @generic
+
+ blkcomp.x <imhdr.h>
+ shiftlines.x <imhdr.h> <imset.h> <math/iminterp.h>
+ t_blkavg.x <imhdr.h>
+ t_blkrep.x <imhdr.h>
+ t_imshift.x <error.h> <imhdr.h> <imset.h> <math/iminterp.h>
+ t_imtrans.x <imhdr.h> <error.h> <mwset.h>
+ t_im3dtran.x <imhdr.h> <error.h> <mwset.h>
+ t_magnify.x <imhdr.h> <imset.h> <error.h> <math/iminterp.h>
+ t_shiftlines.x <error.h>
+ ;