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
|
# ifndef ProjectName
# define ProjectName troffcvt
# endif
# ifndef ProjectMajorRelease
# define ProjectMajorRelease 1
# endif
# ifndef ProjectMinorRelease
# define ProjectMinorRelease 04
# endif
/*
* Name of file to include to get string function definitions. Override
* as <strings.h> on systems that don't have <string.h>
*/
#ifndef StringH
#define StringH <string.h>
#endif
#ifndef StringHDefines
#define StringHDefines -D'STRING_H=$(STRING_H)'
#endif
#ifndef ProjectDefines
#define ProjectDefines $(VARARGS_DEFINES) $(STRING_H_DEFINES)
#endif
#ifndef ProjectIncludes
#define ProjectIncludes -I. -I$(INCLUDESRC)
#endif
#ifndef LibDir
#define LibDir $(LOCALUSRLIBDIR)/troffcvt
#endif
#ifndef ProjLibDir
#define ProjLibDir /usr/share/troffcvt
#endif
/*
* Directory in which system macro files are found.
*/
#ifndef MacroLibDir
#define MacroLibDir /usr/share/groff/current/tmac
#endif
/*
* Prefix for constructing a system macro filename. These filenames
* are usually things like tmac.e or tmac.s, but some systems (e.g.,
* Solaris) use names like e or s.
*/
#ifndef MacroFilePrefix
#define MacroFilePrefix
#endif
/*
* Suffix for constructing a system macro filename. Some systems (e.g.
* groff >= 1.17) use names like e.tmac or s.tmac.
*/
#ifndef MacroFileSuffix
#define MacroFileSuffix .tmac
#endif
#ifndef TcGenLib
#define TcGenLib $(LOADERLIBPREFIX)$(LIBSRC)/libtcgen.a
#endif
#ifndef DepTcGenLib
#define DepTcGenLib $(LIBSRC)/libtcgen.a
#endif
#ifndef TcReadLib
#define TcReadLib $(LOADERLIBPREFIX)$(LIBSRC)/libtcread.a
#endif
#ifndef DepTcReadLib
#define DepTcReadLib $(LIBSRC)/libtcread.a
#endif
#ifndef TcUnixLib
#define TcUnixLib $(LOADERLIBPREFIX)$(LIBUNIXSRC)/libtcunix.a
#endif
#ifndef DepTcUnixLib
#define DepTcUnixLib $(LIBUNIXSRC)/libtcunix.a
#endif
LIBDIR = LibDir
PROJLIBDIR = ProjLibDir
MACROLIBDIR = MacroLibDir
MACROFILEPREFIX = MacroFilePrefix
MACROFILESUFFIX = MacroFileSuffix
STRING_H = StringH
STRING_H_DEFINES = StringHDefines
INCLUDESRC = $(TOP)/h
LIBSRC = $(TOP)/lib
LIBUNIXSRC = $(TOP)/libunix
LIBMACSRC = $(TOP)/libmac
UTILSRC = $(TOP)/util
DOCSRC = $(TOP)/doc
MANSRC = $(TOP)/man
TCGENLIB = TcGenLib
DEPTCGENLIB = DepTcGenLib
TCREADLIB = TcReadLib
DEPTCREADLIB = DepTcReadLib
TCUNIXLIB = TcUnixLib
DEPTCUNIXLIB = DepTcUnixLib
|