File: Axe.tmpl

package info (click to toggle)
axe 6.1.2-10
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 1,468 kB
  • ctags: 2,245
  • sloc: ansic: 20,638; sed: 361; tcl: 72; makefile: 46; sh: 20
file content (135 lines) | stat: -rw-r--r-- 4,168 bytes parent folder | download
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
/* Where do you want the executables to be installed */
Bindir = ${BINDIR}

/* Where do you want the app defaults file to be installed */
Appdir = ${XAPPLOADDIR}

/* Where do you want the man page to be installed */
Mandir = ${MANDIR}

/* Where do you want the ancilliary files to be installed */
AxeLibdir = ${LIBDIR}

/* As of aXe 6.0 the help is presented using a separate application called   */
/* axinfo. Repeat the above exercise for it.                                 */
InfoBindir = ${Bindir}
InfoAppdir = ${Appdir}
InfoMandir = ${Mandir}
InfoLibdir = /usr/share/info



/* Do you have Wcl 2.2 or later (just for the Table widget) installed?   */
/* If not then the 2.5 Table widget that is provided will be compiled    */
/* If you do, and want to use it, then uncomment and modify the next two */
/* sections to say where...                                              */

/*  ...the include files are, i.e. XpIncDir/X11/Xp exists */
/* #define XpIncDir /usr/local/Wcl/include */

/* ...and where the Xp and Wc libraries are */
/*    i.e. XpLibDir/libXp.a (or .so.?.?) exists */
/* #define XpLibDir /usr/local/Wcl/lib */



/* If you want to incorporate the optional extension language feature first */
/* read the file INSTALL for more information and uncomment the next line */
#define Extension 

/*  ...and state where the Tcl include files are */
#define TclIncDir /usr/include/tcl8.2

/* ...and where the library is, i.e. TclLibDir/libtcl.a (or .so.?.?) exists */
#define TclLibDir /usr/lib



/* Uncomment the next but one line if you want to build an Xaw3d version */
/* Please read the file INSTALL for essential information in this area */
/* #define ThreeD */

/* ... and state the pathname of the directory containing the Xaw3d headers */
/* #define Xaw3dIncDir /usr/local/Xaw3d/include/X11/Xaw3d */

/* ... and where the Xaw3d library is to be found. This can be omitted */
/* if the library is in the standard place in the installed X tree */
/* #define Xaw3dLibDir /usr/local/Xaw3d/lib */



/* Uncomment the next line if you have <sys/dir.h> rather than <dirent.h> */
/* NB It is probably also necessary to specify this under SYSV to force the*/
/*    inclusion of <sys/dir.h>. The symptons when it might be required are */
/*    characters missing from the filenames in the file selector popup.    */ 
/* #define NODIRENT */



/* Uncomment the final line if you have X11R5 patched to >= patchlevel 20 */
/* Otherwise a workaround for a bug that was fixed in that patch will be  */
/* enabled. The workaround assists regular expression query replace.      */
/* Query replace via the standard search popup will still be buggy though */
/* HAVEX11R5PL20 = -DHAVEX11R5PL20 */



/* If you know, or find, that your system doesn't have scandir/alphasort */
/* you might like to try the supplied versions to see if they work. In   */
/* which case uncomment the next line */
/* #define NOSCANDIR */



/* If you find that MAXPATHLEN is not defined then uncomment the next line */
/* MAXPATHLEN = -DMAXPATHLEN=1024 */


/*------ No need (hopefully) to change anything below this line ------*/

#if ProjectX < 5
R4ONLY_SRCS = Porthole.c
R4ONLY_OBJS = Porthole.o
#else
R5ONLY_SRCS = Viewlist.c
R5ONLY_OBJS = Viewlist.o
#endif

#ifdef XpLibDir
TABLE_INCLUDES = -I/**/XpIncDir
 TABLE_LDFLAGS = -L/**/XpLibDir
    TABLE_LIBS = -lXp -lWc
#else
    TABLE_SRCS = Table.c TableVec.c TableLoc.c
    TABLE_OBJS = Table.o TableVec.o TableLoc.o
#endif

#ifdef Extension
    EXTN_SRCS = Language.c
    EXTN_OBJS = Language.o
EXTN_INCLUDES = -I/**/TclIncDir
 EXTN_LDFLAGS = -L/**/TclLibDir
#    EXTN_LIBS = -ltcl8.0 -lm
    EXTN_LIBS = -ltcl8.2 -lm
    EXTENSION = -DEXTENSION
#endif
    EXTN_DEPS = AxeEditor.o axe.o

#ifdef ThreeD
XAW3D_INCLUDES = -I./X11/Xaw3d
#if defined(SunArchitecture) && (OSMajorVersion >= 5)
 XAW3D_LDFLAGS = -t -L/**/Xaw3dLibDir
#else
 XAW3D_LDFLAGS = -L/**/Xaw3dLibDir
#endif
    XAW3D_LIBS = -lXaw3d
         XAW3D = -DXAW3D
#endif
    XAW3D_DEPS = AxeCommand.o AxeMenuBtn.o AxeSmeBSB.o

#ifdef NOSCANDIR
  SCANDIR_SRCS = scandir.c
  SCANDIR_OBJS = scandir.o
#endif

DEFINES = ${EXTENSION} ${XAW3D} ${HAVEX11R5PL20} ${MAXPATHLEN}