#--------------------------------------------------------------------- # Copyright (C) GFD Dennou Club, 2000-2005. All rights reserved. #--------------------------------------------------------------------- # #= Template File for "Config.mk", build configuration of gt4f90io (autoconf) # # * Developers: # Eizi TOYODA, Masatsugu ODAKA, Shin-ichi TAKEHIRO, Yasuhiro MORIKAWA # * Version: $Id: Config.mk.in,v 1.1.1.1 2005/07/20 09:22:07 morikawa Exp $ # * Tag Name: $Name: gt4f90io-20050720 $ # * Change History: # #== Overview # # This file is template file to create "configure" script by # autoconf 2.13. Some functions are defined in "aclocal.m4" # (for example, DC_ARG_WITH). # # [JAPANESE] # このファイルは Makefile 群から呼び出される設定ファイル "Config.mk" # の雛形ファイルです. configure スクリプトによってこのファイル内の # 一部 (@ で囲まれた変数) が置き換えられ, "Config.mk" が生成されます. # configure は configure.in と aclocal.m4 に autoconf コマンドを # 用いることで生成されます. # ############################################################ ############################################################ #== for Debian install # # [JAPANESE] Debian インストール用 # DESTDIR = ############################################################ #== Fortran Compiler # # [JAPANESE] Fortran コンパイラ # FC=@FC@ # Flags needed when compiled and linked # [JAPANESE] コンパイル時・リンク時に必要なフラグ SYSFFLAGS=@SYSFFLAGS@ # Flags needed when linked # [JAPANESE] リンク時に必要なフラグ SYSLDFLAGS=@SYSLDFLAGS@ # Libraries needed when linked # [JAPANESE] リンク時に必要なライブラリ SYSLDLIBS=@SYSLDLIBS@ # Information of Modules (std.mod, HP.mod, fqs.mod, intel.d, hitachi.f90) # [JAPANESE] モジュール情報の渡し方 F90MODTYPE=@F90MODTYPE@ # Extensions of Module Files (".mod" or ".d" or ".f90") # [JAPANESE] モジュール情報ファイルの拡張子 MODEXT=@MOD@ # # Extensions of Module Files used when "make clean" # * if "F90MODTYPE = hitachi.f90", clean nothing. # # [JAPANESE] # make clean 時に使用するモジューリ情報ファイル指定 # (F90MODTYPE = hitachi.f90 のときは何も消してはならない) # MODS=@CLEAN_MODS@ ############################################################ #== Directory to which the all files are installed # # [JAPANESE] インストール先のディレクトリ # prefix=@prefix@@gt4dstsuffix@ exec_prefix=@exec_prefix@ gt4binsuffix=@gt4binsuffix@ DEST_LIB=$(DESTDIR)@libdir@ DEST_INC=$(DESTDIR)@includedir@ DEST_BIN=$(DESTDIR)@bindir@ DEST_DOC=$(DESTDIR)@docdir@ #== Editor for module information (Used when "F90MODTYPE=intel.d") IFCCEM=@IFCCEM@ ############################################################ #== gt4f90io library name lib$(LIBNAME).a # # [JAPANESE] ライブラリ名 lib$(LIBNAME).a # LIBNAME=@gt4libname@@gt4libsuffix@ ############################################################ #== SYSDEPABORT: system dependent routine # # [JAPANESE] システム依存系のルーチン # SYSDEPABORT=@SYSDEPABORT@ ############################################################ #== Directory to which the all files are compiled # # [JAPANESE] コンパイルを行うディレクトリ # GT4DIR=@GT4DIR@ ############################################################ #== Set Commands for compile and install source code # # Please edit according to your system. # # [JAPANESE] コンパイルやインストールに必要なコマンド群 # # システムに合わせて変更してください. # CP = cp -p INSTALL = install -m 644 INSTALLBIN = install -m 755 MKDIR = mkdir RM = rm -f RMDIR = rmdir TAGS = etags MAKE = @MAKE@ AR = @AR@ r # AR : Library builder specification RUBY = ruby # for Generation RD documents RD2 = rd2 # for Generation RD documents ############################################################ #== Set Commands for documentations # # [JAPANESE] ドキュメント生成に必要なコマンド # #RUBYLIB = $(DESTDIR) CSS = gt4f90io.css RD2HTM_LIB = $(RD2) -r rd/rd2html-lib RD2_JA_FLAG = --html-charset=EUC-JP --with-part=JA:rd RD2_EN_FLAG = --html-charset=US-ASCII --with-part=EN:rd RD2_LIB_FLAG = --with-part=HTML:include --out-code=euc RD2HTM_EXT_LIB = $(RD2) -r rd/rd2html-ext-lib EXT_LIB_FLAG = --ref-extension --native-inline --head-element # --headline-secno RD2_CSSFLAG = --with-css=$(CSS) RD2HTML = $(RD2HTM_EXT_LIB) $(RDFLAG) $(RD2_CSSFLAG) #== Suffixes Rules # #=== Initialize # .SUFFIXES: #=== Setting # .SUFFIXES: .f90 .o .f90.o: $(FC) -c $(INCLUDE_GT) $(FFLAGS) $(SYSFFLAGS) $(INCLUDES) $<