Last change
on this file since 2720 was 2720, checked in by ansari, 20 years ago |
Creation nouveau module de gestion de code BuildMgr (Reza 17 Mai 2005)
|
File size:
1.3 KB
|
Line | |
---|
1 | # --------- File Linux_g_make.inc --------
|
---|
2 |
|
---|
3 | # Liste des librariries externes
|
---|
4 | SOPEXTLIBS = $(SOPEXTLIBP) $(SOPEXTLIBLIST) -lg2c
|
---|
5 |
|
---|
6 | # Chemin et librairie pour PI
|
---|
7 | PIINC = -I/usr/X11R6/include/
|
---|
8 | PILIBS = -L/usr/X11R6/lib/ -lXm -lXt -lX11
|
---|
9 |
|
---|
10 |
|
---|
11 | # Flag preprocesseur
|
---|
12 | CPPFLAGS = -DLinux -I$(SOPHYAINCP) -I$(SOPEXTINCP) $(SOPEXTINC) $(PIINC)
|
---|
13 | # Def compilateur C et flags
|
---|
14 | CC = gcc
|
---|
15 | CFLAGS = -Wall -Wpointer-arith -Wmissing-prototypes -O -g
|
---|
16 | # Def compilateur C++ et flags
|
---|
17 | CXX = g++
|
---|
18 | CXXFLAGS = -Wall -Wpointer-arith -Wmissing-prototypes -Wsynth -O -g
|
---|
19 | # Compilo fortran
|
---|
20 | FC = g77
|
---|
21 | FFLAGS =
|
---|
22 | # Pour fabriquer les lib .a
|
---|
23 | AR = ar
|
---|
24 | ARFLAGS = -rcs
|
---|
25 |
|
---|
26 |
|
---|
27 | # Ordres de compilation
|
---|
28 | CCOMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) -c
|
---|
29 | CXXCOMPILE = $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c
|
---|
30 |
|
---|
31 | # Extension de nom pour les librairies partagees
|
---|
32 | SLEXT = so
|
---|
33 | # Fabrication de librairies partagees
|
---|
34 | CMDSHLCXX = $(CXX) -shared
|
---|
35 |
|
---|
36 |
|
---|
37 | # Liste de librairie de base, necessaire pour libsophya
|
---|
38 | SOPBASELIBS = -lpthread -lm -lc -ldl
|
---|
39 |
|
---|
40 | # --- Chemin pour l'ensemble les librairies SOPHYA , +ExtLibs, +PI
|
---|
41 | SOPHYASLBLIST = -L$(SOPHYASLBP) -lsophya $(SOPBASELIBS)
|
---|
42 | SOPHYAEXTSLBLIST = -L$(SOPHYASLBP) -lextsophya -lsophya $(SOPEXTLIBS) $(SOPBASELIBS)
|
---|
43 | SOPHYAALLSLBLIST = -L$(SOPHYASLBP) -lPI -lextsophya -lsophya $(PILIBS) $(SOPEXTLIBS) $(SOPBASELIBS)
|
---|
44 |
|
---|
45 | CXXLINK = $(CXX) $(CXXFLAGS)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.