summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:54:14 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:54:14 (GMT)
commitbfdb956a12440632b94ee8f7ecc7e1787883957f (patch)
tree233cf3cecec29f6d62d272e0677d490de5fbfea3 /unix/Makefile.in
parent7f402e480a04b974617c04142993d3919457d342 (diff)
downloadblt-bfdb956a12440632b94ee8f7ecc7e1787883957f.zip
blt-bfdb956a12440632b94ee8f7ecc7e1787883957f.tar.gz
blt-bfdb956a12440632b94ee8f7ecc7e1787883957f.tar.bz2
Initial commit
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in73
1 files changed, 73 insertions, 0 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
new file mode 100644
index 0000000..f5f18bc
--- /dev/null
+++ b/unix/Makefile.in
@@ -0,0 +1,73 @@
+OS = @OS@
+ARCH = @ARCH@
+ROOT = @ROOT@
+TKFLAGS = @TKFLAGS@
+TKIMGFLAGS = @TKIMGFLAGS@
+JOBS = @CORES@
+
+WITHTCL =--with-tcl=$(ROOT)/tcl$(TCLVER)/unix
+WITHTK =--with-tk=$(ROOT)/tk$(TCLVER)/unix $(WITHTCL)
+CACHE =--config-cache --cache-file=../config.cache
+
+include ./make.include
+
+#--------------------------build
+
+.PHONY : saods9 tcl tk
+
+saods9 : dirs tcl tk \
+ tclcheckdns tcliis tclsignal \
+ tclzvfs tclxml xpa \
+ tkblt tktable tkimg \
+ tkmpeg tkhtml1 tkcon \
+ tksao ds9
+
+tcl : tcl$(TCLVER)/unix/Makefile
+ @echo ""
+ @echo "*** Install tcl$(TCLVER) ***"
+ $(MAKE) -C tcl$(TCLVER)/unix -j $(JOBS) install
+
+tcl$(TCLVER)/unix/Makefile :
+ @echo ""
+ @echo "*** Configure tcl$(TCLVER) ***"
+ cd tcl$(TCLVER)/unix; \
+ ./configure \
+ --prefix $(ROOT) -exec-prefix $(ROOT) \
+ --disable-shared --enable-symbols \
+ --config-cache --cache-file=../../config.cache
+
+tk : tk$(TCLVER)/unix/Makefile
+ @echo ""
+ @echo "*** Install tk$(TCLVER) ***"
+ $(MAKE) -C tk$(TCLVER)/unix -j $(JOBS) install
+
+tk$(TCLVER)/unix/Makefile :
+ @echo ""
+ @echo "*** Configure tk$(TCLVER) ***"
+ cd tk$(TCLVER)/unix; \
+ ./configure \
+ $(TKFLAGS) \
+ --prefix $(ROOT) -exec-prefix $(ROOT) \
+ --disable-shared --enable-symbols \
+ --config-cache --cache-file=../../config.cache
+
+#--------------------------clean
+
+.PHONY : tkunixclean
+
+tkunixclean :
+
+#--------------------------distclean
+
+.PHONY : tkunixdistclean
+
+tkunixdistclean :
+
+#--------------------------distribution
+
+.PHONY : dist
+
+dist :
+ cd bin; tar cvf - ds9* | gzip > ../dist/ds9.$(ARCH).$(DS9VERSION).tar.gz
+ cd bin; tar cvf - xpa* | gzip > ../dist/xpa.$(ARCH).$(XPAVERSION).tar.gz
+