|
#############################################################################
##
#W Makefile GAP source Frank Celler
##
##
#Y Copyright (C) 1997, Lehrstuhl D fuer Mathematik, RWTH Aachen, Germany
##
## This file is the top level make file. It is generated from `Makefile.in'
## by the `configure' script. After unpacking XGAP you simply type
##
## ./configure
##
## to create a make file and then
##
## make
##
## to compile and link XGAP.
##
## The "default" target:
## - creates a subdirectory CPU-VENDOR-OS in the directory `bin',
## - copies the configuration script into this directory,
## - it switches into this directory and executes the configure script,
## - it makes XGAP in this directory.
##
## The "clean" target:
## - removes the subdirectory CPU-VENDOR-OS in the directory `bin'
## - removes any files created by `configure'
##
SHELL=/bin/sh
CC=@CC@
@SET_MAKE@
GAParch=@GAPARCH@
default: config compile
config: bin/$(GAParch)/configure bin/$(GAParch)/Makefile
bin/$(GAParch)/configure: cnf/configure.out
mkdir -p bin/$(GAParch)
@rm -f bin/$(GAParch)/configure
cp cnf/configure.out bin/$(GAParch)/configure
bin/$(GAParch)/Makefile: bin/$(GAParch)/configure cnf/config.hin
( cd bin/$(GAParch) ; CC=$(CC) ./configure @gp_configure_options@ )
compile: bin/$(GAParch)/configure bin/$(GAParch)/Makefile xgap.sh
( cd bin/$(GAParch) ; $(MAKE) CC=$(CC) )
cp xgap.sh bin/xgap.sh
xgap.sh:
./config.status xgap.sh
clean:
rm -rf bin/$(GAParch)
rm -f xgap.sh bin/xgap.sh
distclean: clean
rm -f config.cache config.log config.status Makefile
.PHONY: default config compile clean distclean
[ Dauer der Verarbeitung: 0.20 Sekunden
(vorverarbeitet)
]
|