File: cxx.def

package info (click to toggle)
ivtools 0.6.2-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 10,236 kB
  • ctags: 31,595
  • sloc: ansic: 137,968; makefile: 20,655; cpp: 14,588; sh: 169
file content (45 lines) | stat: -rw-r--r-- 1,374 bytes parent folder | download | duplicates (6)
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
/*
 * Definitions for DEC cxx
 */

#undef LanguageCCDefines
#define LanguageCCDefines -Dcplusplus_2_1

#undef CCDriver
#define CCDriver cxx

#undef DependCCFlags
#define DependCCFlags -I/usr/include/cxx $(CCDEFINES) $(CCINCLUDES)

#undef CCSuffix

/*
 * When dynamic link works, we might want to change that.
 */
#if HasSharedLibraries
/*#define HasSunOSSharedLibraries     YES */
#define HasSunOSSharedLibraries       NO
#endif

#undef SharedCCFlags
#define SharedCCFlags /**/

#undef NonSharedCCLdFlags
#if defined(UseNonShared) && defined(InObjectCodeDir)
#define NonSharedCCLdFlags -batch
#else
#define NonSharedCCLdFlags /**/
#endif

#undef NormalSunOSSharedLibraryTarget
#define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs)    @@\
AOUT = Concat(lib,libname.so)                                         @@\
SHARED_CCFLAGS = SharedCCFlags					      @@\
                                                                      @@\
AllTarget(Concat(lib,libname.so))                                     @@\
      $(LD) -shared -no_archive -o $@~ ldobjs                         @@\
      $(RM) $@                                                        @@\
      $(MV) $@~ $@                                                    @@\
                                                                      @@\
clean::								      @@\
      $(RM) Concat(lib,libname.so)