home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9303 < prev    next >
Encoding:
Text File  |  1992-09-02  |  3.4 KB  |  114 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!dcatlas!drewo
  3. From: drewo@dcatlas.dot.gov (Andrew R. Orndorff)
  4. Subject: Re: More on aXe 
  5. Message-ID: <1992Sep2.140958.27574@dcatlas.dot.gov>
  6. Keywords: aXe
  7. Reply-To: Andrew Orndorff <dcatlas!drewo@uunet.uu.net>
  8.  Organization: NHTSA Data Center, Washington, D.C., USA
  9. Organization: U.S Dept. of Transportation
  10. References: <1992Sep1.195127.1040@tamsun.tamu.edu> <1992Sep1.205343.3026@uts.cc.wayne.edu>
  11. Date: Wed, 2 Sep 1992 14:09:58 GMT
  12. Lines: 100
  13.  
  14.  
  15.     I'm not sure why people are having problems with this - we've
  16. compiled and begun heavily using aXe on all of our 3.2.1 workstations
  17. without any difficulty.
  18.  
  19.     We're using the Imakefile that's included below...of course, we
  20. don't have Wcl installed so that section remains commented out.
  21.  
  22.     Otherwise, I didn't change anything from the default distribution.
  23. ----------
  24. #include "Axe.tmpl"
  25.  
  26. /* Comment out or delete the next line if not building under R5 */
  27. /*#define R5*/
  28.  
  29. /* Where do you want the executables to be installed */
  30. Bindir = /u/local/bin
  31.  
  32. /* Where do you want the app defaults file to be installed */
  33. Appdir = ${XAPPLOADDIR}
  34.  
  35. /* Where do you want the man page to be installed */
  36. Mandir = /u/local/man/man1
  37.  
  38. /* Where do you want the help files to be installed */
  39. Helpdir = /u/local/lib
  40.  
  41. /* Do you have Wcl 2.02 installed? The default assumes not */
  42. /* If you do, uncomment in the next two sections to say where ... */
  43.  
  44. /*  ...the include files are, i.e. XpIncDir/X11/Xp exists */
  45. /* #define XpIncDir /usr/local/Wcl/include */
  46.  
  47. /* ...and where the Xp library is, i.e. XpLibDir/libXp.a (or .so.?.?) exists */
  48. /* #define XpLibDir /usr/local/Wcl/lib */
  49.  
  50. /* Uncomment the next line if you have <sys/dir.h> rather than <dirent.h> */
  51. /* #define NoDirent */
  52.  
  53. /*------ No need (hopefully) to change anything below this line ------*/
  54.  
  55.  
  56. #ifdef R5
  57. R5ONLY_SRCS = Viewlist.c
  58. R5ONLY_OBJS = Viewlist.o
  59. #else
  60. R4ONLY_SRCS = Porthole.c
  61. R4ONLY_OBJS = Porthole.o
  62. #endif
  63.  
  64. #ifndef XpLibDir
  65. TABLE_SRCS = Table.c TableVec.c TableLoc.c
  66. TABLE_OBJS = Table.o TableVec.o TableLoc.o
  67. #endif
  68.  
  69. SRCS = ${TABLE_SRCS} \
  70.        AxeWindow.c AxeEditor.c AxeMenuBtn.c AxeSimMenu.c \
  71.        AxeSmeBSB.c AxeCommand.c AxeTextDeck.c AxeText.c \
  72.        AxeiiText.c \
  73.        FileNomWin.c FileNom.c ${R5ONLY_SRCS} ${R4ONLY_SRCS} ScrollText.c \
  74.        NumericPad.c CtrlCodeSel.c Preference.c Confirmer.c \
  75.        insertfile.c match.c axe.c
  76. OBJS = ${TABLE_OBJS} \
  77.        AxeWindow.o AxeEditor.o AxeMenuBtn.o AxeSimMenu.o \
  78.        AxeSmeBSB.o AxeTextDeck.o AxeCommand.o AxeText.o \
  79.        AxeiiText.o \
  80.        FileNomWin.o FileNom.o ${R5ONLY_OBJS} ${R4ONLY_OBJS} ScrollText.o \
  81.        NumericPad.o CtrlCodeSel.o Preference.o Confirmer.o \
  82.        insertfile.o match.o axe.o
  83.  
  84. #ifndef XpLibDir
  85.  EXTRA_INCLUDES = -I.
  86. LOCAL_LIBRARIES = XawClientLibs
  87. #else
  88.  EXTRA_INCLUDES = -I. -I/**/XpIncDir
  89.   LOCAL_LDFLAGS = -L/**/XpLibDir
  90. LOCAL_LIBRARIES = -lXp XawClientLibs
  91. #endif
  92.         DEPLIBS = XawClientDepLibs
  93.  
  94. ComplaxeProgramTarget(axe,${Bindir},${Appdir},${Mandir},${Helpdir})
  95. InstallAxeDefaults(Axe,${Appdir})
  96. InstallMultiple(axe.help.gnrl axe.help.bind axe.help.cust axe.help.pops axe.help.chng,${Helpdir})
  97.  
  98. SpecialObjectRule(AxeEditor.o,,-DHELPDIR=\"${Helpdir}\")
  99. #ifdef NoDirent
  100. SpecialObjectRule(FileNom.o,,-DNODIRENT)
  101. #endif
  102.  
  103.  
  104. AllTarget(coaxe)
  105. NormalProgramTarget(coaxe,coaxe.o,,-lX11,)
  106. InstallCoaxe(${Bindir})
  107. ----------
  108.  
  109.     Andrew Orndorff
  110.  
  111.     NHTSA Data Center
  112.     Internet:    dcatlas!zeus.dot.gov!drewo@uunet.uu.net
  113.     UUCP:        ...uunet!dcatlas!drewo
  114.