--- Imakefile.orig 2010-01-25 00:56:38.287976000 +0900 +++ Imakefile 2010-01-25 00:59:31.955886193 +0900 @@ -13,6 +13,17 @@ XPOLL_DEF = -DNO_XPOLL_H #endif +#ifdef USE_XAW3DLIB +#undef XawClientLibs +#define XawClientLibs -lXaw3d $(XMULIB) $(XTOOLLIB) $(XLIB) +#endif + +#ifdef USE_NEXTAWLIB +#undef XawClientLibs +#define XawClientLibs -lneXtaw $(XMULIB) $(XTOOLLIB) $(XLIB) +#endif + + /* * add -DWTMP and -DLASTLOG if you want them. */ @@ -27,9 +38,12 @@ OSMAJORVERSION = OSMajorVersion OSMINORVERSION = OSMinorVersion - MAIN_DEFINES = -DUTMP $(TTYGROUPDEF) $(PUCCPTYDDEF) \ + MAIN_DEFINES = $(TTYGROUPDEF) $(PUCCPTYDDEF) \ -DOSMAJORVERSION=$(OSMAJORVERSION) \ -DOSMINORVERSION=$(OSMINORVERSION) +#if defined(OSRelVersion) && OSRelVersion < 900007 + MAIN_DEFINES+= -DUTMP +#endif MISC_DEFINES = /* -DALLOWLOGFILEEXEC */ XKB_DEFINES = XkbClientDefines DEFINES = $(XKB_DEFINES) $(XPOLL_DEF) -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER @@ -72,7 +86,7 @@ #endif #endif - TERMCAPLIB = TermcapLibrary + TERMCAPLIB = TermcapLibrary -lutil AllTarget($(PROGRAMS))