# build configuration of gtool4 # (C) TOYODA Eizi, 2000. All rights reserved. # # 2001/06/18 ODAKA, Masatsugu # DCLF77LIBDIR: set directory to which DCL is installed. # (DCL インストールディレクトリの指定) # #DCLF77LIBDIR = /usr/local/dcl-5.2/lib DCLF77LIBDIR = /usr/lib/dcl-5.2-ffc/lib # # DCLF90DIR: set directory to which dcl-f90 is installed. # (dcl-f90 インストールディレクトリの指定) # #DCLF90DIR = /usr/local/dcl-f90 DCLF90DIR = /usr/lib/dcl-f90 # # Don't edit followings! # DCLF90LIBDIR = $(DCLF90DIR)/lib DCLF90MODDIR = $(DCLF90DIR)/include # INCLUDES : set directory to which dcl-f90 modules are installed. # (dcl-f90 モジュールファイルインストールディレクトリの指定) # INCLUDES= -I$(DCLF90MODDIR) # NCDIR : set directory to which netcdf is installed. # (netcdf インストールディレクトリの指定) # #NCDIR = /usr/local/netcdf/lib NCDIR = /usr/local/netcdf-3.5/lib # XLIBDIR : set directory to which X window library is installed. # (X ライブラリインストールディレクトリの指定) # XLIBDIR = /usr/X11R6/lib # LIBS : set all linked libraries (Don't edit!) # (リンクライブラリファイルの指定) # LIBS=-L$(DCLF90LIBDIR) -ldclf90 \ -L$(DCLF77LIBDIR) -ldcl52f77 \ -L$(NCDIR) -lnetcdf \ -L$(XLIBDIR) -lX11 # DEST_LIB : set directory to which the library libgtool4.a is installed # (gtool4 ライブラリインストールディレクトリの指定) # # DEST_LIB=/usr/local/gtool4/lib DEST_LIB=/usr/lib/gtool4/lib # DEST_INC : directory to which the module files are installed # (gtool4 モジュールインストールディレクトリの指定) # #DEST_INC=/usr/local/gtool4/include DEST_INC=/usr/lib/gtool4/include # DEST_BIN : directory to which the executable files are installed # (gtool4 実行ファイルインストールディレクトリの指定) # #DEST_BIN=/usr/local/bin DEST_BIN=/usr/local/gtool4/bin # DEST_DOC : directory to which the gtool4 documantation files are installed # (gtool4 ドキュメントァイルインストールディレクトリの指定) # DEST_DOC=/usr/share/doc/gtool4 # MODS : MODULE FILES SPECIFICATION # For most systems, MODS=*.mod works. For HITACHI # OPTIMIZING Fortran 90 on HP-UX or HI-UX/WE2, MODS=*.f90 works. # (日立最適化フォートランに対応させるための処置) # MODS=*.mod # AR : Library builder specification # (アーカイブコマンドの指定) # AR=ar rvf # FC : Fortran compiler specification # For most systems, simply FC=f90 works. # For Fujitsu frt compilers, `FC=f90 -Am' is needed to # make *.mod files. # (フォートランコンパイラの指定 # 富士通コンパイラの場合は FC=f90 -Am とする) #FC=f90 FC=f90 -Am # suffixe rules(サフィックスルール) # .SUFFIXES: .SUFFIXES: .f90 .o .f90.o: $(FC) -c $(FC_OPTIONS) $(INCLUDES) $(INCLUDE_GT) $<