summaryrefslogtreecommitdiffstats
path: root/scilab/Makefile.incl.in
blob: 065bf6ba1b1c77fb12964f3a1b4ba2a7c8e8e3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
RM = @RM@
AR = @AR@ @AR_FLAGS@
FILES_TO_CLEAN = @FILES_TO_CLEAN@

all::

clean::
	@echo Cleaning 
	@$(RM) $(FILES_TO_CLEAN)
distclean::
	@$(RM) $(FILES_TO_CLEAN)

RANLIB = @RANLIB@

TERMCAPLIB = @TERMCAPLIB@

##################################################################
# NOTE: the following schemes for compiling and linking are not  #
#       exactly used for the main executable scilex; for it, see #
#       the files Makefile.<host>                                #
##################################################################

############
# C compiler
# typically, for compiling use: CFLAGS = $(CC_OPTIONS)
# and for linking: $(CC) -o $(PROGRAM) $(OBJS) $(CC_LDFLAGS)
###########
CC = @CC@
CC_OPTIONS = @CC_OPTIONS@ @GTKCFLAGS@
CC_LDFLAGS = @CC_LDFLAGS@ 
CC_PICFLAGS = @CC_PICFLAGS@

##################
# Fortran compiler
# typically, for compiling use: FFLAGS = $(FC_OPTIONS)
# and for linking: $(FC) -o $(PROGRAM) $(OBJS) $(FC_LDFLAGS)
##################
FC = @FC@
FC_OPTIONS = @FC_OPTIONS@
FC_LDFLAGS = @FC_LDFLAGS@
FC_PICFLAGS = @FC_PICFLAGS@

########
# Linker
# typically, for linking: $(LD) -o $(PROGRAM) $(OBJS) $(LD_LDFLAGS)
########
LD = @LD@
LD_LDFLAGS = @LD_LDFLAGS@

##########
# X Window: use $(XFLAGS) for compilation and $(XLIBS) for linking
# typically, for compiling use: CFLAGS = $(CC_OPTIONS) $(XFLAGS)
# and for linking with X Window
#  with C compiler: $(CC) -o $(PROGRAM) $(OBJS) $(CC_LDFLAGS) $(XLIBS)
#  with Fortran compiler: $(FC) -o $(PROGRAM) $(OBJS) $(FC_LDFLAGS) $(XLIBS)
#  with linker: $(LD) -o $(PROGRAM) $(OBJS) $(LD_LDFLAGS) $(XLIBS)
##########
DLDLIB = @DLDLIB@
DLD_SUBDIR = @DLD_SUBDIR@
PVMLIB = @PVMLIB@
PVMGLIB = @PVMGLIB@
PVMROOT = @PVMROOT@
PVMINCLUDE = @PVMINCLUDE@
XAWLIB = @XAWLIB@
XMULIB = @XMULIB@
XAW_LOCAL_SUBDIR = @XAW_LOCAL_SUBDIR@
XAW_LOCAL_LIB = @XAW_LOCAL_LIB@
XFLAGS = @X_CFLAGS@ @XAW_LOCAL_INCLUDES@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
XLIBS = @GTKLIBS@ @X_LIBS@ $(XAWLIB) $(XMULIB) -lXt -lXext @X_PRE_LIBS@ -lX11 $(X_EXTRA_LIBS)

#####################
# TCL/TK
#####################
TK_INC_PATH = @TK_INC_PATH@
TCL_INC_PATH = @TCL_INC_PATH@
TCLTK_LIBS = @TCLTK_LIBS@

#####################
# for WIN32 version 
# win32 libraries for gcwin32 
WIN32LIBS=-mwindows -lwsock32 -lshell32 -lcomctl32  -lwinspool -lm 
WINLIBS = $(TCLTK_LIBS) $(WIN32LIBS)
LINKEROPT= $(LD_LDFLAGS)
# Ressource compiler 
RC=windres 
RCVARS=-O coff