-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathEnviron.12
54 lines (38 loc) · 1.7 KB
/
Environ.12
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
# Environ
# $Id$
# This file defines constants which are used in HDB application makefiles.
# It must be placed in the HDB application root directory and must be
# included ("include") in every application or library makefile which uses
# these constants.
# This version was added and Edited by M. Bogner, Sutron Corporation to
# use for compilations of pro*c code on the Linux machine and to use
# the ORACLE 10 Libraries on the Database box.
# This file was created and edited by M. Bogner March 2011
# Environment variable HDB_ENV defines the root directory of an
# HDB application development environment. It should be set in
# your .cshrc_hdb_app file.
# directory which holds all HDB application binaries
HDB_APP_BIN = $(HDB_ENV)/bin64
# directory which holds all HDB specific library files
HDB_APP_LIB = $(HDB_ENV)/lib64
# directory which holds all HDB global include files
HDB_APP_INCLUDE = $(HDB_ENV)/include
# directory which holds TCL/TK include files
#TK_INCLUDES = /usr/include
# TCL/TK library files
#TK_LIBS = -ltk8.4 -ltcl8.4 -lm
# Oracle library files
ORACLE_LIB = -L$(ORACLE_HOME)/lib -lclntsh -lpthread -lrt -lclntshcore
### ORACLE 9, Solaris Code below
# directory which holds TCL/TK include files
TK_INCLUDES = /usr/sfw/include
# TCL/TK library files
TK_LIBS = -L/usr/sfw/lib -ltk8.3 -ltcl8.3 -lm
# Oracle library files
#ORACLE_LIB = -L$(ORACLE_HOME)/lib32 -lagent9 -lclient9 -lclntsh -lcommon9 -lcore9 -lgeneric9 -lmm -lslax9 -lsql9 -lwtc9 -lvsn9
# all libraries required by HDB applications
# M Bogner Removed ldmi since dmi no longer used???
#HDB_LIBS = -L$(HDB_APP_LIB) -ldmi -lhdb -lutils $(ORACLE_LIB) -lhdb
HDB_LIBS = -L$(HDB_APP_LIB) -lhdb -lutils $(ORACLE_LIB) -lhdb
# Compiler
CC = gcc