diff options
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 4a90e55..8170e8b 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -1,12 +1,22 @@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +libdir = $(exec_prefix)/lib +#libdir = @libdir@ +includedir = @includedir@ +datarootdir = @datarootdir@ +datadir = @datadir@ +mandir = @mandir@ + 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) +WITHTCL =--with-tcl=$(prefix)/tcl$(TCLVER)/unix +WITHTK =--with-tk=$(prefix)/tk$(TCLVER)/unix $(WITHTCL) CACHE =--config-cache --cache-file=../config.cache include ./make.include @@ -32,7 +42,7 @@ tcl$(TCLVER)/unix/Makefile : @echo "*** Configure tcl$(TCLVER) ***" cd tcl$(TCLVER)/unix; \ ./configure \ - --prefix $(ROOT) --exec-prefix $(ROOT) \ + --prefix $(prefix) --exec-prefix $(prefix) --libdir $(libdir) \ --disable-shared --enable-symbols \ --config-cache --cache-file=../../config.cache @@ -47,7 +57,7 @@ tk$(TCLVER)/unix/Makefile : cd tk$(TCLVER)/unix; \ ./configure \ $(TKFLAGS) \ - --prefix $(ROOT) --exec-prefix $(ROOT) \ + --prefix $(prefix) --exec-prefix $(prefix) --libdir $(libdir) \ --disable-shared --enable-symbols \ --config-cache --cache-file=../../config.cache @@ -70,4 +80,3 @@ tkunixdistclean : 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 - |