Ticket #18815: patch-Imakefile.diff
File patch-Imakefile.diff, 3.2 KB (added by raphael@…, 16 years ago) |
---|
-
Imakefile
old new 30 30 XCOMM Also, you may have to uncomment and redefine MKDIRHIER because "make" looks 31 31 XCOMM for it relative to the BINDIR variable. 32 32 XCOMM 33 BINDIR = /usr/bin 34 XCOMM MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier -p 35 MKDIRHIER = mkdirhier 33 BINDIR = __PREFIX/bin 34 DESTDIR = __DESTROOT 35 MKDIRHIER = mkdirhier 36 XCOMM MKDIRHIER = mkdirhier 37 38 EXTRA_LDOPTIONS = -L__PREFIX/lib 36 39 37 40 XCOMM Uncomment and change XAPPLOADDIR to the directory where you want the 38 41 XCOMM app-defaults resource files to go. You will have to use the environment … … 45 48 XCOMM different tree than the "correct" tree that your X system expects. The usual 46 49 XCOMM purpose of DESTDIR is to test an install process by installing in a benign area. 47 50 48 X COMM XAPPLOADDIR = /home/user/xfig51 XAPPLOADDIR = __PREFIX/lib/X11/app-defaults 49 52 50 53 XCOMM Uncomment the following definition for XAW3D if you want to use 51 54 XCOMM the 3d Athena Widget Set (highly recommended!) … … 55 58 XCOMM Uncomment the following if you have David Hawkey's Xaw3D version 1.5E which has 56 59 XCOMM some new features, including "Tips", which replace xfig's "help balloons" 57 60 58 XCOMM#define XAW3D1_5E61 #define XAW3D1_5E 59 62 60 63 #ifdef XAW3D1_5E 61 64 DUSEXAW3D = -DXAW3D -DXAW3D1_5E 62 XAWLIB = -lXaw3d 15e65 XAWLIB = -lXaw3d 63 66 #else 64 67 XAW_SRC = w_menuentry.c SmeCascade.c SmeBSB.c SimpleMenu.c 65 68 XAW_OBJ = w_menuentry.o SmeCascade.o SmeBSB.o SimpleMenu.o … … 72 75 XCOMM Redefine the following if your PNG library, zlib library and/or include file 73 76 XCOMM are in different places 74 77 75 PNGLIBDIR = $(USRLIBDIR)76 PNGINC = -I /usr/local/include77 ZLIBDIR = $(USRLIBDIR)78 PNGLIBDIR = __PREFIX/lib 79 PNGINC = -I__PREFIX/include 80 ZLIBDIR = __PREFIX/lib 78 81 79 82 XCOMM If don't want JPEG support, comment out the #define USEJPEG line 80 83 XCOMM Uncomment the #define for USEJPEG if you want to be able to import … … 93 96 94 97 #ifdef USEJPEG 95 98 #ifdef USEINSTALLEDJPEG 96 JPEGLIBDIR = /usr/local/lib97 JPEGINC = -I /usr/include/X1199 JPEGLIBDIR = __PREFIX/lib 100 JPEGINC = -I__PREFIX/include 98 101 #else 99 102 JPEGLIBDIR = ../jpeg 100 103 JPEGINC = -I$(JPEGLIBDIR) … … 116 119 #define USEXPM_ICON 117 120 118 121 #ifdef USEXPM 119 XPMLIBDIR = /usr/ local/lib120 XPMINC = -I/usr/ local/include/X11122 XPMLIBDIR = /usr/X11R6/lib 123 XPMINC = -I/usr/X11R6/include/X11 121 124 #endif 122 125 123 126 XCOMM Uncomment the following definiton if you want to use the small icons … … 166 169 XCOMM XFIGLIBDIR = $(LIBDIR) 167 170 168 171 XCOMM use this if you want the multi-key data base file in the standard X11 tree 169 XFIGLIBDIR = $(LIBDIR)/xfig172 XFIGLIBDIR = __PREFIX/lib/xfig 170 173 171 174 XCOMM XFIGDOCDIR tells where the html and pdf documentation should go 172 175 XCOMM XFIGDOCDIR = $(DOCDIR)/xfig 173 XFIGDOCDIR = /usr/local/xfig/doc176 XFIGDOCDIR = __PREFIX/share/doc/xfig 174 177 175 178 XCOMM MANDIR tells where the standard man pages should go (no need to change it 176 179 XCOMM if you want the man pages installed in the standard place on your system 177 180 XCOMM MANDIR = $(MANSOURCEPATH)$(MANSUFFIX) 178 MANDIR = /usr/local/xfig/man181 MANDIR = __PREFIX/share/man/man$(MANSUFFIX) 179 182 180 183 XCOMM If your system doesn't have strstr undefine the following definition 181 184 XCOMM HAVE_NO_NOSTRSTR = -DNOSTRSTR