Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / applications / utilities / postProcessing / graphics / fieldview9Reader / Make / options
blobb21a3eef2d65b888295482d95d44f7dbf22da620
1 /*
2  * Note: compilation options takes from ld_fv script from Fieldview9.
3  * Only Linux tested.
4  *
5  */
7 #if defined(linux) || defined(linux64)
9     FV_LIBS = \
10         $(FV_HOME)/user/obj/linux_x86/fv.o \
11         -lGL -lGLU -lXmu -lXp -lXt $(XLIBS) -ldl
13 #elif defined(solaris) || defined(solarisGcc)
15     FV_LIBS = \
16         $(FV_HOME)/user/obj/solaris/fv.o \
17         -i \
18         -L/usr/dt/lib -R/usr/dt/lib -lMrm -lXm \
19         -L/opt/SUNWits/Graphics-sw/xgl-3.0/lib \
20         -R/opt/SUNWits/Graphics-sw/xgl-3.0/lib -lxgl \
21         -L/usr/openwin/lib -R/usr/openwin/lib \
22         -L$(FV_HOME)/user/obj/solaris \
23         -lGL -lGLU  -lXt $(XLIBS) \
24         -lgen -lnsl -lsocket -lw -lintl -ldl
26 #elif defined(sgiN32) || defined(sgiN32Gcc)
28     FV_LIBS = \
29         $(FV_HOME)/user/obj/iris/fv.o \
30         $(FV_HOME)/user/obj/iris/fv2.o \
31         $(FV_HOME)/user/obj/iris/fv3.o \
32         $(FV_HOME)/user/obj/iris/netserver.o \
33         $(FV_HOME)/user/obj/iris/pV_Server.o \
34         $(FV_HOME)/user/obj/iris/dore.o \
35         $(FV_HOME)/user/obj/iris/libpV3ser.a \
36         $(FV_HOME)/user/obj/iris/libgpvm3.a \
37         $(FV_HOME)/user/obj/iris/libpvm3.a \
38         $(FV_HOME)/user/obj/iris/libBLT.a \
39         $(FV_HOME)/user/obj/iris/libtk8.2.a \
40         $(FV_HOME)/user/obj/iris/libtcl8.2.a \
41         -lGL -lGLU -lgl \
42         -lMrm -lXm -lXt $(XLIBS) -lPW \
43         -lftn -lc
45 #elif defined(sgi64) || defined(sgi64Gcc)
47     FV_LIBS = \
48         $(FV_HOME)/user/obj/iris64/fv.o \
49         $(FV_HOME)/user/obj/iris64/fv2.o \
50         $(FV_HOME)/user/obj/iris64/fv3.o \
51         $(FV_HOME)/user/obj/iris64/netserver.o \
52         $(FV_HOME)/user/obj/iris64/pV_Server.o \
53         $(FV_HOME)/user/obj/iris64/dore.o \
54         $(FV_HOME)/user/obj/iris64/libpV3ser.a \
55         $(FV_HOME)/user/obj/iris64/libgpvm3.a \
56         $(FV_HOME)/user/obj/iris64/libpvm3.a \
57         $(FV_HOME)/user/obj/iris64/libBLT.a \
58         $(FV_HOME)/user/obj/iris64/libtk8.2.a \
59         $(FV_HOME)/user/obj/iris64/libtcl8.2.a \
60         -lGL -lGLU \
61         -lMrm -lXm -lXt $(XLIBS) -lPW \
62         -lftn -lc
64 #elif defined(ibm) || defined(ibmGcc)
66     FV_LIBS = \
67         -bh:4 -T512 -H512 \
68         -bmaxdata:0x60000000 \
69         $(FV_HOME)/user/obj/ibm_rs/fv.o \
70         -L/usr/lib -L$(FV_HOME)/user/obj/ibm_rs \
71         -lMrm -lXm -lXt -lX11 -lxlf90 \
72         -lGL -lGLU -lXext \
73         -lm -lc -lPW -lIM -lgl
75 #elif defined(hpux)
77     FV_LIBS = \
78         $(FV_HOME)/user/obj/hp_700/fv.o \
79         -L/opt/graphics/common/lib \
80         -L/usr/lib/Motif1.2 \
81         -L/opt/graphics/OpenGL/lib \
82         -L$(FV_HOME)/user/obj/hp_700 \
83         -lGL -lGLU  -lXext \
84         -lXwindow  -lhpgfx \
85         -lXhp11 -lMrm -lXm -lXt -lX11 \
86         -lM -lc -lPW -ldld -ldce $endlib \
87         -Wl,+b: -Wl,+s
89 #endif
92 EXE_INC = \
93     -I$(FV_HOME)/uns \
94     -I$(LIB_SRC)/finiteVolume/lnInclude \
95     -I$(LIB_SRC)/meshTools/lnInclude \
96     -I$(LIB_SRC)/browser/lnInclude \
97     -I$(LIB_SRC)/lagrangian/basic/lnInclude
99 EXE_LIBS = \
100     $(FV_LIBS) \
101     -lfiniteVolume \
102     -lmeshTools