/* * Common config file * * Don't forget to look at options.h to make sure that it looks OK. */ /* * If the compile fails because the command lines are too long then move * the CDEFINES stuff into options.h (has to be done on DEC OSF/1 and * Ultrix machines). */ /* * Installation directories. Uncomment and change to taste if you want to * install in a "non-standard" directory. * * You might want to set CUTILDIR to $(LIBDIR)/chimera to keep the * utilities/filters separate from the main binaries. * * CBINDIR - chimera's executable and other arch dependent stuff * gets installed here * CUTILDIR - scripts and other arch independent stuff goes here but the * default is to use BINDIR. * CLIBDIR - configuration files * CMANDIR - manual pages (not used) */ CBINDIR = $(BINDIR) CUTILDIR = $(BINDIR) CLIBDIR = $(LIBDIR)/chimera CMANDIR = $(MANDIR) CETCDIR = $(LOCALBASE)/etc CDEFINES = \ -DCUTILDIR=\"$(CUTILDIR)\" \ -DCONVERT_FILES=\"~/.chimera_convert:$(CLIBDIR)/convert\" \ -DMIME_TYPE_FILES=\"~/.chimera_mime.types:$(CETCDIR)/mime.types\" \ -DMAIL_CAPS=\"~/.mailcap:$(CLIBDIR)/mailcap\" \ -DPROTOCOL_FILES=\"~/.chimera_protocol:$(CLIBDIR)/protocol\" \ -DCACHE_INFO_FILES=\"~/.chimera_cacheinfo:$(CLIBDIR)/cacheinfo\" \ -DHELP_URL=\"file:$(CLIBDIR)/help.html\" \ -DHOME_URL=\"file:$(CLIBDIR)/home.html\" /* * These may need to be changed if you customize the location of the * app-defaults or the man pages. */ /* XAPPLOADDIR = $(CLIBDIR) MANSUFFIX = 1 */ /* * Uncomment if you want to use SOCKS. * * SOCKSLIB probably needs to be something like * -L/usr/local/lib -lsocks */ /* CSOCKS = -DSOCKS CSOCKSLIB = -lsocks */ /* * CTERMLIB should be something like -L/usr/local/lib -lclient * CTERMINC should be something like -I/usr/local/include * * Term 2.x is required */ /* CTERMLIB = -L/usr/local/term/lib -ltermnet CTERMINC = -I/usr/local/term/include CTERM = -DTERM */ /* * Set to 1 as needed. */ #define NEED_STRSTR 0 #define NEED_GETCWD 0 #define NEED_STRTOL 0 #define NEED_STRCASECMP 0 CEXTRA_DEFINES = -DHAVE_MKTIME -DHAVE_STDLIB_H -DHAVE_STRING_H \ -DHAVE_UNISTD_H /* * OSF1 needs -D_BSD */ /* CEXTRA_DEFINES = -DHAVE_MKTIME -DHAVE_STDLIB_H -DHAVE_STRING_H \ -DHAVE_UNISTD_H -DHAVE_MALLOC_H -D_BSD */ /* * Extra libraries */ /* CEXTRA_LIBS = -lbsd # DEC OSF/1 CEXTRA_LIBS = -lresolv # Some SunOS CEXTRA_LIBS = -lsocket -lnsl # Solaris 2.x */ /* * So we can do conditional compilation depending on the release of X11 */ #if defined(ProjectX) SHTAB = ProjectX XRELEASE = -DXRELEASE=$(SHTAB) #else XRELEASE = 0 #endif #define MyNull CBINDIR = /usr/X11R6/bin CUTILDIR = /usr/X11R6/lib/chimera CLIBDIR = /usr/X11R6/lib CMANDIR = /usr/X11R6/man/man1 XAPPLOADDIR = /usr/X11R6/lib/chimera