[2772] | 1 | # --------- File IRIX64_CC_make.inc --------
|
---|
| 2 |
|
---|
| 3 | # Liste des librariries externes
|
---|
| 4 | SOPEXTLIBS = $(SOPEXTLIBP) $(SOPEXTLIBLIST)
|
---|
| 5 |
|
---|
| 6 | # Chemin et librairie pour PI
|
---|
| 7 | PIINC =
|
---|
| 8 | PILIBS = -lXm -lXt -lX11
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | # Flag preprocesseur
|
---|
| 12 | # ---NOTICE-- Changing the -64 flag below
|
---|
| 13 | # requires removing the definition of SGI_ARCH64 flag in machdefs.h
|
---|
| 14 | CPPFLAGS = -I$(SOPHYAINCP) $(PIINC)
|
---|
| 15 | # Def compilateur C et flags
|
---|
| 16 | CC = cc
|
---|
| 17 | CFLAGS = -64 -O -g
|
---|
| 18 | # Def compilateur C++ et flags
|
---|
| 19 | CXX = CC
|
---|
| 20 | CXXFLAGS = -64 -prelink -LANG:std -O -g
|
---|
| 21 | # flags specifiques pour templates repository...
|
---|
| 22 | CXXTEMPFLG =
|
---|
| 23 | # Compilo fortran / commande et flags a verifier
|
---|
| 24 | FC = f90
|
---|
| 25 | FFLAGS = -64
|
---|
| 26 | # Pour fabriquer les lib .a
|
---|
| 27 | AR = /usr/bin/ar
|
---|
| 28 | ARFLAGS = -rcs
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | # Ordres de compilation
|
---|
| 32 | CCOMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) -c
|
---|
| 33 | CXXCOMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
|
---|
| 34 | FCCOMPILE = $(FC) $(FFLAGS) -c
|
---|
| 35 |
|
---|
| 36 | # Extension de nom pour les librairies partagees
|
---|
| 37 | SLEXT = so
|
---|
| 38 | # Fabrication de librairies partagees
|
---|
| 39 | CMDSHLCXX = $(CXX) $(CXXFLAGS) $(CXXTEMPFLG) -shared
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | # Liste de librairie de base, necessaire pour libsophya
|
---|
| 43 | SOPBASELIBS = -lpthread -lm
|
---|
| 44 | LIBFORT =
|
---|
| 45 |
|
---|
| 46 | # --- Chemin pour l ensemble les librairies SOPHYA , +ExtLibs, +PI
|
---|
| 47 | SOPHYASLBLIST = -L$(SOPHYASLBP) -lsophya $(SOPBASELIBS)
|
---|
| 48 | SOPHYAEXTSLBLIST = -L$(SOPHYASLBP) -lextsophya -lsophya $(SOPEXTLIBS) $(SOPBASELIBS)
|
---|
| 49 | SOPHYAALLSLBLIST = -L$(SOPHYASLBP) -lPI -lextsophya -lsophya $(PILIBS) $(SOPEXTLIBS) $(SOPBASELIBS)
|
---|
| 50 |
|
---|
| 51 | # Commande de link pour creation d executables
|
---|
| 52 | CXXLINK = $(CXX) $(CXXFLAGS)
|
---|
| 53 | CLINK = $(CC) $(CFLAGS)
|
---|
| 54 | FCLINK = $(FC) $(FFLAGS)
|
---|
| 55 |
|
---|
| 56 | # Commande de link pour creation de module pouvant etre charge dynamiquement
|
---|
| 57 | CXXDLL = $(CXX) $(CXXFLAGS) -shared
|
---|