File: local.def

package info (click to toggle)
ivtools 1.1.3-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 15,852 kB
  • ctags: 42,880
  • sloc: ansic: 164,124; makefile: 36,976; cpp: 15,131; xml: 5,359; sh: 2,608
file content (180 lines) | stat: -rw-r--r-- 8,054 bytes parent folder | download | duplicates (4)
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
XCOMM -------------------------------------------------------------------------
XCOMM from <local.def>:

/*
 * Assume the use of gcc-2.3.3 or greater
 */ 
#undef LanguageCCDefines
#define LanguageCCDefines -Dcplusplus_2_1
#include <gcc.def>

/*
 * Default customization of kits.
 * Possible flags to define:
 *	sgi_motif_kit (SMFKit), motif_kit (MFKit),
 *	openlook_kit (OLKit), bw_kit (MonoKit)
 */
#ifndef KitFlags
#define KitFlags \
-Dmotif_kit \
-Dsgi_motif_kit \
-Dopenlook_kit \
-Dbw_kit \
-Ddefault_kit=SMFKit
#endif

/*
 * What you need to turn on debugging
 */
#undef TurnOnDebugging
#define TurnOnDebugging YES

/*
 * To disable removal of programs if a "make install" is done"
 */
#undef RemoveAfterInstall
#define RemoveAfterInstall NO

/* 
 * Where to look for config files.
 */
#undef ImakeIncludes
#ifndef UseInstalled
#define ImakeIncludes -I$(TOP)/config -I$(CONFIGSRC) -I$(XCONFIGDIR) -I$(IVTOOLSSRC)/../config
#else
#define ImakeIncludes -I$(TOP)/config -I$(CONFIGDIR) -I$(CONFIGDIR)/.. -I$(XCONFIGDIR) -I$(IVTOOLSSRC)/../config
#endif

/* 
 * TIFF C Compiler
 */ 
#ifndef TIFFCDriver
#define TIFFCDriver CCDriver
#endif

/* 
 * Make variables for building local to these packages.
 * APP_CCLDLIBS is defined in the Imakefile.
 */
    NORM_CCINCLUDES = -I$(CURRENT_DIR)/.. -I$(CURRENT_DIR)/../.. -I$(TOP)/src \
-I$(IVTOOLSSRC) $(BACKWARD_CCINCLUDES) -I$(IVTOOLSSRC)/include \
-I$(IVTOOLSSRC)/include/std $(X_CCINCLUDES)
    APP_CCINCLUDES = $(NORM_CCINCLUDES)
#if !HasDynamicSharedLibraries
     APP_CCDEPLIBS = $(APP_CCLDLIBS)
#endif

/*
 * Set base of this package to $(TOP)
 */
#undef IvToolsSrcRoot
#define IvToolsSrcRoot $(TOP)

/*
 * Location of ivtools libraries
 */
             IVTOOLSSRC = IvToolsSrcRoot/src

#if HasDynamicSharedLibraries
#if !UseRpath
  LIBUNIDRAWCOMMON = -L$(IVTOOLSSRC)/Unidraw-common/$(CPU) -lUnidraw-common
       LIBIVCOMMON = -L$(IVTOOLSSRC)/IV-common/$(CPU) -lIV-common
           LIBTIME = -L$(IVTOOLSSRC)/Time/$(CPU) -lTime
      LIBATTRIBUTE = -L$(IVTOOLSSRC)/Attribute/$(CPU) -lAttribute
        LIBCOMUTIL = -L$(IVTOOLSSRC)/ComUtil/$(CPU) -lComUtil
        LIBCOMTERP = -L$(IVTOOLSSRC)/ComTerp/$(CPU) -lComTerp
        LIBIVGLYPH = -L$(IVTOOLSSRC)/IVGlyph/$(CPU) -lIVGlyph
      LIBATTRGLYPH = -L$(IVTOOLSSRC)/AttrGlyph/$(CPU) -lAttrGlyph
       LIBCOMGLYPH = -L$(IVTOOLSSRC)/ComGlyph/$(CPU) -lComGlyph
      LIBGLYPHTERP = -L$(IVTOOLSSRC)/GlyphTerp/$(CPU) -lGlyphTerp
       LIBUNIIDRAW = -L$(IVTOOLSSRC)/UniIdraw/$(CPU) -lUniIdraw
 LIBOVERLAYUNIDRAW = -L$(IVTOOLSSRC)/OverlayUnidraw/$(CPU) -lOverlayUnidraw
       LIBTOPOFACE = -L$(IVTOOLSSRC)/TopoFace/$(CPU) -lTopoFace
   LIBGRAPHUNIDRAW = -L$(IVTOOLSSRC)/GraphUnidraw/$(CPU) -lGraphUnidraw
   LIBFRAMEUNIDRAW = -L$(IVTOOLSSRC)/FrameUnidraw/$(CPU) -lFrameUnidraw
     LIBCOMUNIDRAW = -L$(IVTOOLSSRC)/ComUnidraw/$(CPU) -lComUnidraw
       LIBDRAWSERV = -L$(IVTOOLSSRC)/DrawServ/$(CPU) -lDrawServ
#else
  LIBUNIDRAWCOMMON = -Wl,-rpath,$(IVTOOLSSRC)/Unidraw-common/$(CPU) -L$(IVTOOLSSRC)/Unidraw-common/$(CPU) -lUnidraw-common
       LIBIVCOMMON = -Wl,-rpath,$(IVTOOLSSRC)/IV-common/$(CPU) -L$(IVTOOLSSRC)/IV-common/$(CPU) -lIV-common
           LIBTIME = -Wl,-rpath,$(IVTOOLSSRC)/Time/$(CPU) -L$(IVTOOLSSRC)/Time/$(CPU) -lTime
      LIBATTRIBUTE = -Wl,-rpath,$(IVTOOLSSRC)/Attribute/$(CPU) -L$(IVTOOLSSRC)/Attribute/$(CPU) -lAttribute
        LIBCOMUTIL = -Wl,-rpath,$(IVTOOLSSRC)/ComUtil/$(CPU) -L$(IVTOOLSSRC)/ComUtil/$(CPU) -lComUtil
        LIBCOMTERP = -Wl,-rpath,$(IVTOOLSSRC)/ComTerp/$(CPU) -L$(IVTOOLSSRC)/ComTerp/$(CPU) -lComTerp
        LIBIVGLYPH = -Wl,-rpath,$(IVTOOLSSRC)/IVGlyph/$(CPU) -L$(IVTOOLSSRC)/IVGlyph/$(CPU) -lIVGlyph
      LIBATTRGLYPH = -Wl,-rpath,$(IVTOOLSSRC)/AttrGlyph/$(CPU) -L$(IVTOOLSSRC)/AttrGlyph/$(CPU) -lAttrGlyph
       LIBCOMGLYPH = -Wl,-rpath,$(IVTOOLSSRC)/ComGlyph/$(CPU) -L$(IVTOOLSSRC)/ComGlyph/$(CPU) -lComGlyph
      LIBGLYPHTERP = -Wl,-rpath,$(IVTOOLSSRC)/GlyphTerp/$(CPU) -L$(IVTOOLSSRC)/GlyphTerp/$(CPU) -lGlyphTerp
       LIBUNIIDRAW = -Wl,-rpath,$(IVTOOLSSRC)/UniIdraw/$(CPU) -L$(IVTOOLSSRC)/UniIdraw/$(CPU) -lUniIdraw
 LIBOVERLAYUNIDRAW = -Wl,-rpath,$(IVTOOLSSRC)/OverlayUnidraw/$(CPU) -L$(IVTOOLSSRC)/OverlayUnidraw/$(CPU) -lOverlayUnidraw
       LIBTOPOFACE = -Wl,-rpath,$(IVTOOLSSRC)/TopoFace/$(CPU) -L$(IVTOOLSSRC)/TopoFace/$(CPU) -lTopoFace
   LIBGRAPHUNIDRAW = -Wl,-rpath,$(IVTOOLSSRC)/GraphUnidraw/$(CPU) -L$(IVTOOLSSRC)/GraphUnidraw/$(CPU) -lGraphUnidraw
   LIBFRAMEUNIDRAW = -Wl,-rpath,$(IVTOOLSSRC)/FrameUnidraw/$(CPU) -L$(IVTOOLSSRC)/FrameUnidraw/$(CPU) -lFrameUnidraw
     LIBCOMUNIDRAW = -Wl,-rpath,$(IVTOOLSSRC)/ComUnidraw/$(CPU) -L$(IVTOOLSSRC)/ComUnidraw/$(CPU) -lComUnidraw
     LIBDRAWSERV = -Wl,-rpath,$(IVTOOLSSRC)/DrawServ/$(CPU) -L$(IVTOOLSSRC)/DrawServ/$(CPU) -lDrawServ
#endif
#else
  LIBUNIDRAWCOMMON = $(IVTOOLSSRC)/Unidraw-common/$(CPU)/libUnidraw-common.a
       LIBIVCOMMON = $(IVTOOLSSRC)/IV-common/$(CPU)/libIV-common.a
           LIBTIME = $(IVTOOLSSRC)/Time/$(CPU)/libTime.a
      LIBATTRIBUTE = $(IVTOOLSSRC)/Attribute/$(CPU)/libAttribute.a
        LIBCOMUTIL = $(IVTOOLSSRC)/ComUtil/$(CPU)/libComUtil.a
        LIBCOMTERP = $(IVTOOLSSRC)/ComTerp/$(CPU)/libComTerp.a
        LIBIVGLYPH = $(IVTOOLSSRC)/IVGlyph/$(CPU)/libIVGlyph.a
      LIBATTRGLYPH = $(IVTOOLSSRC)/AttrGlyph/$(CPU)/libAttrGlyph.a
       LIBCOMGLYPH = $(IVTOOLSSRC)/ComGlyph/$(CPU)/libComGlyph.a
      LIBGLYPHTERP = $(IVTOOLSSRC)/GlyphTerp/$(CPU)/libGlyphTerp.a
       LIBUNIIDRAW = $(IVTOOLSSRC)/UniIdraw/$(CPU)/libUniIdraw.a
 LIBOVERLAYUNIDRAW = $(IVTOOLSSRC)/OverlayUnidraw/$(CPU)/libOverlayUnidraw.a
       LIBTOPOFACE = $(IVTOOLSSRC)/TopoFace/$(CPU)/libTopoFace.a
   LIBGRAPHUNIDRAW = $(IVTOOLSSRC)/GraphUnidraw/$(CPU)/libGraphUnidraw.a
   LIBFRAMEUNIDRAW = $(IVTOOLSSRC)/FrameUnidraw/$(CPU)/libFrameUnidraw.a
     LIBCOMUNIDRAW = $(IVTOOLSSRC)/ComUnidraw/$(CPU)/libComUnidraw.a
      LIBDRAWSERV = $(IVTOOLSSRC)/DrawServ/$(CPU)/libDrawServ.a
#endif

#if defined(HPArchitecture)
#define SO sl
#else
#define SO so
#endif

#if HasDynamicSharedLibraries
  DEPUNIDRAWCOMMON = $(IVTOOLSSRC)/Unidraw-common/$(CPU)/libUnidraw-common.SO.$(VERSION)
       DEPIVCOMMON = $(IVTOOLSSRC)/IV-common/$(CPU)/libIV-common.SO.$(VERSION)
           DEPTIME = $(IVTOOLSSRC)/Time/$(CPU)/libTime.SO.$(VERSION)
      DEPATTRIBUTE = $(IVTOOLSSRC)/Attribute/$(CPU)/libAttribute.SO.$(VERSION)
        DEPCOMUTIL = $(IVTOOLSSRC)/ComUtil/$(CPU)/libComUtil.SO.$(VERSION)
        DEPCOMTERP = $(IVTOOLSSRC)/ComTerp/$(CPU)/libComTerp.SO.$(VERSION)
        DEPIVGLYPH = $(IVTOOLSSRC)/IVGlyph/$(CPU)/libIVGlyph.SO.$(VERSION)
      DEPATTRGLYPH = $(IVTOOLSSRC)/AttrGlyph/$(CPU)/libAttrGlyph.SO.$(VERSION)
       DEPCOMGLYPH = $(IVTOOLSSRC)/ComGlyph/$(CPU)/libComGlyph.SO.$(VERSION)
      DEPGLYPHTERP = $(IVTOOLSSRC)/GlyphTerp/$(CPU)/libGlyphTerp.SO.$(VERSION)
       DEPUNIIDRAW = $(IVTOOLSSRC)/UniIdraw/$(CPU)/libUniIdraw.SO.$(VERSION)
 DEPOVERLAYUNIDRAW = $(IVTOOLSSRC)/OverlayUnidraw/$(CPU)/libOverlayUnidraw.SO.$(VERSION)
       DEPTOPOFACE = $(IVTOOLSSRC)/TopoFace/$(CPU)/libTopoFace.SO.$(VERSION)
   DEPGRAPHUNIDRAW = $(IVTOOLSSRC)/GraphUnidraw/$(CPU)/libGraphUnidraw.SO.$(VERSION)
   DEPFRAMEUNIDRAW = $(IVTOOLSSRC)/FrameUnidraw/$(CPU)/libFrameUnidraw.SO.$(VERSION)
     DEPCOMUNIDRAW = $(IVTOOLSSRC)/ComUnidraw/$(CPU)/libComUnidraw.SO.$(VERSION)
     DEPDRAWSERV = $(IVTOOLSSRC)/DrawServ/$(CPU)/libDrawServ.SO.$(VERSION)
#endif

/* local override of location of libUnidraw */
#undef Ld_libUnidraw
#if !UseRpath
#define Ld_libUnidraw -L$(IVTOOLSSRC)/Unidraw/$(CPU) -lUnidraw
#else
#define Ld_libUnidraw -Wl,-rpath,$(IVTOOLSSRC)/Unidraw/$(CPU) -L$(IVTOOLSSRC)/Unidraw/$(CPU) -lUnidraw
#endif
#undef Dep_libUnidraw
#if HasDynamicSharedLibraries
#define Dep_libUnidraw $(IVTOOLSSRC)/Unidraw/$(CPU)/libUnidraw.SO.$(VERSION)
#else
#define Dep_libUnidraw $(IVTOOLSSRC)/Unidraw/$(CPU)/libUnidraw.a
#endif

/* actual shared library filename for install of symbolic link only */
#undef ClipPolyLibBase
#define ClipPolyLibBase libclippoly.SO

XCOMM -------------------------------------------------------------------------