1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
pager=${pager:-more}
$pager <<EOF
* First copy an appropriate system/Make.* to ./Make.sys
and edit it according to your needs, i.e:
$ cp system/Make.MY_SYSTEM Make.sys
* then to compile the package type:
$ make all
* finally do:
$ ./xcConfigure
==============================================================================
* * * Here is a list of make targets * * *
==============================================================================
Usage: make all | clean | clean-external-src
--
all:
all = bindir + tcl + tk + mesa + fftw + meschach + xcrysden
The "make all" simply makes all. That is: compiles all the
source files and creates the executalbles.
If external/src/ directory exists, then it also downloads and
compiles all the external libraries (Tcl/Tk, Mesa, FFTW,
Meschach), which were requested for compilation by
COMPILE_package=yes variable in Make.sys.
--
install:
Installs the compiled package systemwide to a
$prefix/share/xcrysden-version/ and
$prefix/lib/xcrysden-version/ directories and makes xcrysden
wrapper in $prefix/bin/. The default value of $prefix is
/usr/local, but this can be changed by running as:
"prefix=XXXX make install".
BEWARE: assumes that Tcl/Tk/GL/GLU/FFTW/Meschach libraries are
available system-wide (i.e. it does not use the external/lib
directory).
--
clean | veryclean | distclean:
Various levels of cleaning.
------------------------------------------------------------------------
The following targets are suitable only for developers, for making
various package distributions:
--
srcdist:
Creates the source tar.gz package-archive.
--
bindist-shared:
Creates the shared binary tar.gz package-archive. Note: you should
previously compiled the package and linked it with shared libraries
--
bindist-semishared:
Creates the shared binary tar.gz package-archive with the Tcl, Tk,
and Mesa shared libraries in external/lib subdirectory. Note: you should
previously compiled the package and linked it with shared libraries
--
bindist-static:
Creates the statically linked binary tar.gz package-archive. Note:
you should previously compiled the package and linked it with
static libraries
EOF
|