File: Project.tmpl

package info (click to toggle)
casio 2.2-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 700 kB
  • ctags: 418
  • sloc: ansic: 3,452; makefile: 90
file content (145 lines) | stat: -rw-r--r-- 4,096 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
XCOMM -------------------------------------------------------------------------
XCOMM X Window System Build Parameters
XCOMM $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $

/*****************************************************************************
 *                                                                           *
 *                            DEFAULT DEFINITONS                             *
 *                                                                           *
 * The following section contains defaults for things that can be overridden *
 * in the various *.cf and site.def files.  DO NOT EDIT!                     *
 *                                                                           *
 ****************************************************************************/

#ifndef ManDirectoryRoot
#ifdef ProjectRoot
#define ManDirectoryRoot Concat(ProjectRoot,/man)
#else
#if SystemV4
#define ManDirectoryRoot /usr/share/man
#else
#define ManDirectoryRoot /usr/man
#endif
#endif
#endif
#ifndef ManSuffix
#define ManSuffix	n		/* use just one tab or cpp will die */
#endif
#ifndef LibManSuffix
#define LibManSuffix	3		/* use just one tab or cpp will die */
#endif
#ifndef BinDir
#ifdef ProjectRoot
#define BinDir Concat(ProjectRoot,/bin)
#else
#define BinDir /usr/local/bin
#endif
#endif
#ifndef ConfigDir
#define ConfigDir $(USRLIBDIR)/config/DP
#endif
#ifndef LintlibDir
#define LintlibDir $(USRLIBDIR)/lint
#endif
#ifndef ManPath
#define ManPath ManDirectoryRoot
#endif
#ifndef ManSourcePath
#define ManSourcePath $(MANPATH)/man
#endif
#ifndef ManDir
#define ManDir $(MANSOURCEPATH)$(MANSUFFIX)
#endif
#ifndef LibmanDir
#define LibmanDir $(MANSOURCEPATH)$(LIBMANSUFFIX)
#endif
#ifndef UseCCMakeDepend			/* use slow cc -E script */
#define UseCCMakeDepend NO
#endif
#ifndef DependDir
#if UseCCMakeDepend
#define DependDir $(SCRIPTSRC)
#else
#define DependDir $(UTILSRC)/makedepend
#endif
#endif
#ifndef DependCmd
#define DependCmd $(DEPENDSRC)/makedepend
#endif
#ifndef RemoveTargetProgramByMoving
#define RemoveTargetProgramByMoving NO
#endif
#ifndef AllocateLocalDefines
#define AllocateLocalDefines /**/
#endif

#ifndef ForceNormalLib
#define ForceNormalLib (HasSaberC | HasGcc)
#endif

XCOMM -------------------------------------------------------------------------
XCOMM X Window System make variables; this need to be coordinated with rules

/*
 * This list must be reflected in the DIRS_TO_BUILD list in the top-level
 * Makefile.
 */
          PATHSEP = /			/* for building filenames */
        USRLIBDIR = UsrLibDir		/* libraries */
           BINDIR = BinDir		/* programs */
          INCROOT = IncRoot		/* base of where to put header files */
        CONFIGDIR = ConfigDir		/* build configuration information */
       LINTLIBDIR = LintlibDir		/* lint libraries */

          MANPATH = ManPath		/* top of manual page tree */
    MANSOURCEPATH = ManSourcePath	/* prefix for man page sources */
        MANSUFFIX = ManSuffix		/* suffix for man pages */
     LIBMANSUFFIX = LibManSuffix	/* suffix for library man pages */
           MANDIR = ManDir		/* man pages for commands */
        LIBMANDIR = LibmanDir		/* man pages for library routines */

            IMAKE = imake		/* assume publicly installed */
           DEPEND = makedepend		/* ditto */
        MKDIRHIER = mkdirhier		/* ditto */

        CONFIGSRC = $(TOP)/config
        DEPENDSRC = DependDir
         IMAKESRC = $(CONFIGSRC)

/*
 * _Use - makes a choice based on UseInstalled.
 */
#ifndef _Use
#ifdef UseInstalled
#define _Use(a,b) a
#else
#define _Use(a,b) b
#endif
#endif

/*
 * _UseCat - combination of _Use and Concat.
 *           exists to avoid problems with some preprocessors
 */
#ifndef _UseCat
#if __STDC__ && !defined(UnixCpp)
#ifdef UseInstalled
#define _UseCat(a,b,c) a##c
#else
#define _UseCat(a,b,c) b##c
#endif
#else
#ifdef UseInstalled
#define _UseCat(a,b,c) a/**/c
#else
#define _UseCat(a,b,c) b/**/c
#endif
#endif
#endif

/* leave these but give all blank values */

          DEPLIBS =
         DEPLIBS1 =
         DEPLIBS2 =
         DEPLIBS3 =