*** [.bin.graphics]makefile.vms-orig Wed Jun 13 21:16:19 1990 --- [.bin.graphics]makefile.vms Fri Jun 15 17:28:51 1990 *************** *** 0 **** --- 1,23 ---- + .SUFFIXES: .cc + + CXX = gcc/plus + CFLAGS = + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + IVLIB = gnu_cc:[000000]ivg/opt + GXXLIB = gnu_cc:[000000]gxx/opt + + .cc.obj: + def def1 salty$$dua0:[angel.iv.src.libinterviews.]/trans=(conc,term); \ + def def2 salty$$dua0:[angel.iv.src.libinterviews.Generated.]/trans=(conc,term); \ + def def3 salty$$dua0:[angel.iv.src.interviews.std.]/trans=(conc,term); \ + def def4 salty$$dua0:[angel.iv.src.]/trans=(conc,term); \ + $(CXX) /inc=(def1:,def2:,def3:,def4:) $(CFLAGS) $< + + OBJS = graphics.obj + + all: graphics.exe + + graphics.exe: $(OBJS) + link/exe=$@ $(OBJS), $(IVLIB), $(GXXLIB) + *** [.bin.iclass]classbuffer.cc-orig Fri Feb 2 18:22:42 1990 --- [.bin.iclass]classbuffer.cc Wed Jun 13 13:11:46 1990 *************** *** 185,193 **** --- 185,217 ---- return file[length-1] == 'h' && file[length-2] == '.'; } + #ifdef VMS + extern "C" int unixtovms(); + extern "C" int directory_file_name(); + #endif + static boolean IsADirectory (const char* path, struct stat& filestats) { + #ifdef VMS + const char *p; + char vpath[512]; + char dirspec[512]; + + if (strchr(path, '/')) { + if (unixtovms(path, vpath)) + p = vpath; + else + return 0; + } + else + p = path; + if (directory_file_name(p, dirspec) == 1 && stat(dirspec, &filestats) == 0) + return filestats.st_mode & S_IFDIR; + else + return 0; + #else stat(path, &filestats); return filestats.st_mode & S_IFDIR; + #endif } void ClassBuffer::Search (const char* path) { *** [.bin.iclass]direct.cc-orig Wed Jun 13 21:26:49 1990 --- [.bin.iclass]direct.cc Wed Jun 13 21:28:31 1990 *************** *** 96,110 **** --- 96,156 ---- return successful; } + #ifdef VMS + extern "C" int unixtovms(); + extern "C" int directory_file_name(); + #endif + boolean Directory::IsADirectory (const char* path) { + #ifdef VMS + const char *p; + char vpath[512]; + char dirspec[512]; + struct stat filestats; + + if (strchr(path, '/')) { + if (unixtovms(path, vpath)) + p = vpath; + else + return 0; + } + else + p = path; + if (directory_file_name(p, dirspec) == 1 && stat(dirspec, &filestats) == 0) + return filestats.st_mode & S_IFDIR; + else + return 0; + #else struct stat filestats; stat(path, &filestats); return filestats.st_mode & S_IFDIR; + #endif } + #ifdef VMS + extern "C" char *shell$translate_vms(); + extern "C" char *getenv(); + #endif + const char* Directory::Home (const char* name) { + #ifdef VMS + char *vmsHome; + char *unixHome; + struct passwd* pw; + if (name == nil) { + if (vmsHome = getenv("HOME")) { + unixHome = shell$translate_vms(vmsHome); + return unixHome; + } + else + return "/sys$login"; + } + else + pw = getpwnam(name); + #else struct passwd* pw = (name == nil) ? getpwuid(getuid()) : getpwnam(name); + #endif return (pw == nil) ? nil : pw->pw_dir; } *** [.bin.iclass]main.cc-orig Tue Feb 6 20:16:31 1990 --- [.bin.iclass]main.cc Tue Feb 6 20:16:21 1990 *************** *** 72,76 **** --- 72,80 ---- world->InsertApplication(iclass); iclass->Run(); + #ifdef VMS + return 1; + #else return 0; + #endif } *** [.bin.iclass]makefile.vms-orig Wed Jun 13 21:16:24 1990 --- [.bin.iclass]makefile.vms Fri Jun 15 17:29:07 1990 *************** *** 0 **** --- 1,27 ---- + + .SUFFIXES: .cc + + CC = gcc/plus + CFLAGS = + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + IVSRC = salty$$dua0:[angel.iv.src. + IVLIB = gnu_cc:[000000]iv/opt + GXXLIB = gnu_cc:[000000]gxx/opt + + .cc.obj: + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $(CFLAGS) $< + + OBJS= classbuffer.obj, classeditor.obj, classinfo.obj, \ + dialogs.obj, direct.obj, globals.obj, \ + iclass.obj, main.obj + + all: iclass.exe + + iclass.exe: $(OBJS) + link/exe=$@ $(OBJS), $(IVLIB), $(GXXLIB) + *** [.bin.idraw]dialogbox.cc-orig Fri Feb 2 16:36:50 1990 --- [.bin.idraw]dialogbox.cc Wed Jun 13 13:27:50 1990 *************** *** 490,496 **** --- 490,500 ---- const int bufsize = MAXPATHLEN+1; static char buf[bufsize]; + #ifdef VMS + getcwd(buf, bufsize, 0); /* Return cwd in Unix format */ + #else getcwd(buf, bufsize); + #endif strcat(buf, "/"); if (file != nil) { *** [.bin.idraw]drawing.cc-orig Thu Jan 25 14:09:01 1990 --- [.bin.idraw]drawing.cc Thu Jan 25 14:08:48 1990 *************** *** 136,146 **** --- 136,150 ---- boolean Drawing::PrintPicture (const char* cmd, State* state) { boolean successful = false; if (cmd != nil) { + #ifdef VMS + fprintf(stderr, "Can't print on VMS yet.\n"); + #else FILE* stream = popen(cmd, "w"); if (stream != nil) { successful = picture->WritePicture(stream, state, true); pclose(stream); } + #endif } return successful; } *** [.bin.idraw]editor.cc-orig Wed Jun 13 21:25:43 1990 --- [.bin.idraw]editor.cc Thu Jan 25 14:16:31 1990 *************** *** 1220,1222 **** --- 1220,1242 ---- state->UpdateViews(); drawingview->Update(); } + + #ifdef VMS + #include + + extern "C" { + char * + tempnam(char *dir, char *prefix) + { + char *s; + char *malloc(); + char *mktemp(); + + s = malloc(strlen(dir) + strlen(prefix) + 6 + 1); + strcpy(s, dir); + strcat(s, prefix); + strcat(s, "xxxxxx"); + return mktemp(s); + } + } + #endif *** [.bin.idraw]main.cc-orig Tue Feb 6 14:16:13 1990 --- [.bin.idraw]main.cc Tue Feb 6 14:16:44 1990 *************** *** 119,126 **** --- 119,133 ---- world->Remove(idraw); delete idraw; + #ifndef VMS + /* Strange bug I can't find */ delete world; + #endif + #ifdef VMS + const int SUCCESS = 1; + #else const int SUCCESS = 0; + #endif return SUCCESS; } *** [.bin.ifc]makefile.vms-orig Wed Jun 13 21:16:30 1990 --- [.bin.ifc]makefile.vms Fri Jun 15 17:29:54 1990 *************** *** 0 **** --- 1,24 ---- + .SUFFIXES: .cc + + CXX = gcc/plus + CXXFLAGS = /debug /noopt + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + IVLIB = gnu_cc:[000000]iv/opt + GXXLIB = gnu_cc:[000000]gxx/opt + IVSRC = salty$$du0:[angel.iv.src. + + .cc.obj: + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CXX) /inc=(def1:,def2:,def3:,def4:) $(CXXFLAGS) $< + + all: ifc.exe + + OBJS = ifc.obj + + ifc.exe: $(OBJS) + link/exe=$@ $(OBJS), $(IVLIB), $(GXXLIB) + *** [.bin.sted]makefile.vms-orig Wed Jun 13 21:16:36 1990 --- [.bin.sted]makefile.vms Fri Jun 15 17:30:08 1990 *************** *** 0 **** --- 1,22 ---- + + .SUFFIXES: .cc + + CC = gcc/plus + CFLAGS = + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + IVLIB = gnu_cc:[000000]iv/opt + GXXLIB = gnu_cc:[000000]gxx/opt + + .cc.obj: + def def1 salty$$dua0:[angel.iv.src.libinterviews.]/trans=(conc,term); \ + def def2 salty$$dua0:[angel.iv.src.libinterviews.Generated.]/trans=(conc,term); \ + def def3 salty$$dua0:[angel.iv.src.interviews.std.]/trans=(conc,term); \ + def def4 salty$$dua0:[angel.iv.src.]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $(CFLAGS) $< + + all: sted.exe + + sted.exe: sted.obj + link/exe=$@ sted, $(IVLIB), $(GXXLIB) + *** [.bin.sted]sted.cc-orig Wed Jun 13 21:14:03 1990 --- [.bin.sted]sted.cc Tue Feb 6 20:18:06 1990 *************** *** 459,464 **** --- 459,468 ---- sted->Run(); delete sted; + #ifdef VMS + return 1; + #else delete world; return 0; + #endif } *** [.interviews.std]ctype.h-orig Tue Jan 16 03:02:15 1990 --- [.interviews.std]ctype.h Tue Jan 16 03:02:29 1990 *************** *** 30,36 **** --- 30,40 ---- extern "C" { #endif + #ifdef VMS + #include "gnu_cc_include:[000000]ctype.h" + #else #include "//usr/include/ctype.h" + #endif /* just in case standard header file didn't */ #ifndef ctype_h *** [.interviews.std]dirent.h-orig Fri Jan 19 14:36:16 1990 --- [.interviews.std]dirent.h Wed Jun 13 18:14:24 1990 *************** *** 38,44 **** --- 38,48 ---- #define closedir dirent_h_closedir #endif + #ifdef VMS + #include "gnu_gxx_include:[000000]ndir.h" + #else #include "//usr/include/dirent.h" + #endif #undef opendir #undef readdir *************** *** 51,56 **** --- 55,63 ---- #endif extern DIR* opendir(const char*); + #ifdef VMS + #define dirent direct + #endif extern struct dirent* readdir(DIR*); extern long telldir(DIR*); extern void seekdir(DIR*); *** [.interviews.std]errno.h-orig Tue Jan 16 01:15:25 1990 --- [.interviews.std]errno.h Tue Jan 16 03:00:48 1990 *************** *** 30,36 **** --- 30,40 ---- extern "C" { #endif + #ifdef VMS + #include "gnu_cc_include:[000000]errno.h" + #else #include "//usr/include/errno.h" + #endif /* just in case standard header didn't */ #ifndef errno_h *** [.interviews.std]fcntl.h-orig Tue Jan 16 03:18:07 1990 --- [.interviews.std]fcntl.h Tue Jan 16 03:18:35 1990 *************** *** 32,38 **** --- 32,42 ---- #define fcntl fcntl_h_fcntl + #ifdef VMS + #include "gnu_cc_include:[000000]fcntl.h" + #else #include "//usr/include/fcntl.h" + #endif #undef fcntl *** [.interviews.std]math.h-orig Tue Jan 16 01:11:44 1990 --- [.interviews.std]math.h Tue Jan 16 03:00:57 1990 *************** *** 79,85 **** --- 79,89 ---- #define single math_h_single #define strtod math_h_strtod + #ifdef VMS + #include "gnu_cc_include:[000000]math.h" + #else #include "//usr/include/math.h" + #endif #undef single #undef strtod *** [.interviews.std]pwd.h-orig Tue Jan 16 20:39:53 1990 --- [.interviews.std]pwd.h Tue Jan 16 20:40:37 1990 *************** *** 37,43 **** --- 37,47 ---- #define setpwent pwd_h_setpwent #define endpwent pwd_h_endpwent + #ifdef VMS + #include "gnu_gxx_include:[000000]pwd.h" + #else #include "//usr/include/pwd.h" + #endif #undef getpwent #undef getpwuid *** [.interviews.std]signal.h-orig Tue Jan 16 03:15:02 1990 --- [.interviews.std]signal.h Tue Jan 16 11:28:32 1990 *************** *** 37,43 **** --- 37,47 ---- */ #define signal c_signal + #ifdef VMS + #include "gnu_cc_include:[000000]signal.h" + #else #include "//usr/include/sys/signal.h" + #endif #undef signal typedef void (*SignalHandler)(...); *** [.interviews.std]stdio.h-orig Tue Jan 16 01:14:20 1990 --- [.interviews.std]stdio.h Tue Jan 16 03:01:12 1990 *************** *** 70,76 **** --- 70,80 ---- #define tmpnam stdio_h_tmpnam /* use the standard C header file */ + #ifdef VMS + #include "gnu_cc_include:[000000]stdio.h" + #else #include "//usr/include/stdio.h" + #endif /* change the names back */ #undef fopen *** [.interviews.std]time.h-orig Tue Jan 16 03:17:25 1990 --- [.interviews.std]time.h Tue Jan 16 03:17:15 1990 *************** *** 37,43 **** --- 37,47 ---- #define asctime time_h_asctime #define tzset time_h_tzset + #ifdef VMS + #include "gnu_cc_include:[000000]time.h" + #else #include "//usr/include/time.h" + #endif #undef time #undef ctime *** [.interviews.std.os]fs.h-orig Wed Jun 13 13:24:01 1990 --- [.interviews.std.os]fs.h Wed Jun 13 13:24:29 1990 *************** *** 58,64 **** --- 58,68 ---- extern int chdir(const char*); extern char* getwd(char*); + #ifdef VMS + extern char* getcwd(char*, int, int); + #else extern char* getcwd(char*, int); + #endif extern int mkdir(const char*, int); extern int mknod(const char*, int, int); extern int mount(const char*, const char*, int, int); *** [.interviews.std.sys]dir.h-orig Tue Jan 16 20:41:43 1990 --- [.interviews.std.sys]dir.h Tue Jan 16 20:41:35 1990 *************** *** 38,44 **** --- 38,48 ---- #define closedir sys_dir_h_closedir #endif + #ifdef VMS + #include "gnu_gxx_include:[000000]ndir.h" + #else #include "//usr/include/sys/dir.h" + #endif #undef opendir #undef readdir *** [.interviews.std.sys]stat.h-orig Tue Jan 16 03:14:04 1990 --- [.interviews.std.sys]stat.h Tue Jan 16 03:14:35 1990 *************** *** 30,36 **** --- 30,40 ---- extern "C" { #endif + #ifdef VMS + #include "gnu_cc_include:[sys]stat.h" + #else #include "//usr/include/sys/stat.h" + #endif /* just in case standard header didn't */ #ifndef sys_stat_h *** [.interviews.std.sys]time.h-orig Tue Jan 16 03:13:08 1990 --- [.interviews.std.sys]time.h Tue Jan 16 03:13:43 1990 *************** *** 44,50 **** --- 44,54 ---- #define asctime time_h_asctime #define tzset time_h_tzset + #ifdef VMS + #include "gnu_cc_include:[sys]time.h" + #else #include "//usr/include/sys/time.h" + #endif #undef gettimeofday #undef settimeofday *** [.interviews.x11]xlib.h-orig Tue Jun 12 19:45:11 1990 --- [.interviews.x11]xlib.h Tue Jun 12 21:04:16 1990 *************** *** 236,241 **** --- 236,451 ---- #undef virtual /* + Map X library routine names to lowercase. + */ + #ifdef VMS + #define XOpenDisplay xopendisplay + #define XDisplayName xdisplayname + #define XCloseDisplay xclosedisplay + #define XGetDefault xgetdefault + #define XInternAtom xinternatom + #define XListInstalledColormaps xlistinstalledcolormaps + #define XGetAtomName xgetatomname + #define XSetScreenSaver xsetscreensaver + #define XForceScreenSaver xforcescreensaver + #define XActivateScreenSaver xactivatescreensaver + #define XResetScreenSaver xresetscreensaver + #define XGetScreenSaver xgetscreensaver + #define XAddHost xaddhost + #define XAddHosts xaddhosts + #define XListHosts xlisthosts + #define XRemoveHost xremovehost + #define XRemoveHosts xremovehosts + #define XCreateWindow xcreatewindow + #define XCreateSimpleWindow xcreatesimplewindow + #define XDestroyWindow xdestroywindow + #define XDestroySubwindows xdestroysubwindows + #define XMapWindow xmapwindow + #define XMapRaised xmapraised + #define XMapSubwindows xmapsubwindows + #define XUnmapWindow xunmapwindow + #define XConfigureWindow xconfigurewindow + #define XMoveWindow xmovewindow + #define XResizeWindow xresizewindow + #define XMoveResizeWindow xmoveresizewindow + #define XSetWindowBorderWidth xsetwindowborderwidth + #define XRaiseWindow xraisewindow + #define XLowerWindow xlowerwindow + #define XCirculateSubwindows xcirculatesubwindows + #define XCirculateSubwindowsUp xcirculatesubwindowsup + #define XCirculateSubwindwosDown xcirculatesubwindwosdown + #define XRestackWindows xrestackwindows + #define XChangeWindowAttributes xchangewindowattributes + #define XSetWindowBackground xsetwindowbackground + #define XSetWindowBackgroundPixmap xsetwindowbackgroundpixmap + #define XSetWindowBorder xsetwindowborder + #define XSetWindowBorderPixmap xsetwindowborderpixmap + #define XCreateFontCursor xcreatefontcursor + #define XCreatePixmapCursor xcreatepixmapcursor + #define XCreateGlyphCursor xcreateglyphcursor + #define XRecolorCursor xrecolorcursor + #define XFreeCursor xfreecursor + #define XQueryBestCursor xquerybestcursor + #define XDefineCursor xdefinecursor + #define XUndefineCursor xundefinecursor + #define XQueryTree xquerytree + #define XGetWindowAttributes xgetwindowattributes + #define XGetGeometry xgetgeometry + #define XTranslateCoordinates xtranslatecoordinates + #define XGetWindowProperty xgetwindowproperty + #define XListProperties xlistproperties + #define XChangeProperty xchangeproperty + #define XRotateWindowProperties xrotatewindowproperties + #define XDeleteProperty xdeleteproperty + #define XSetSelectionOwner xsetselectionowner + #define XGetSelectionOwner xgetselectionowner + #define XConvertSelection xconvertselection + #define XStoreName xstorename + #define XFetchName xfetchname + #define XSetIconName xseticonname + #define XGetIconName xgeticonname + #define XSetCommand xsetcommand + #define XCreateColormap xcreatecolormap + #define XCopyColormapAndFree xcopycolormapandfree + #define XFreeColormap xfreecolormap + #define XSetWindowColormap xsetwindowcolormap + #define XAllocColor xalloccolor + #define XAllocNamedColor xallocnamedcolor + #define XLookupColor xlookupcolor + #define XStoreColors xstorecolors + #define XStoreColor xstorecolor + #define XAllocColorCells xalloccolorcells + #define XAllocColorPlanes xalloccolorplanes + #define XStoreNamedColor xstorenamedcolor + #define XFreeColors xfreecolors + #define XQueryColor xquerycolor + #define XQueryColors xquerycolors + #define XLoadFont xloadfont + #define XQueryFont xqueryfont + #define XListFontsWithInfo xlistfontswithinfo + #define XLoadQueryFont xloadqueryfont + #define XFreeFont xfreefont + #define XGetFontProperty xgetfontproperty + #define XListFonts xlistfonts + #define XFreeFontNames xfreefontnames + #define XSetFontPath xsetfontpath + #define XGetFontPath xgetfontpath + #define XFreeFontPath xfreefontpath + #define XTextWidth xtextwidth + #define XTextWidth16 xtextwidth16 + #define XTextExtents xtextextents + #define XTextExtents16 xtextextents16 + #define XQueryTextExtents xquerytextextents + #define XQueryTextExtents16 xquerytextextents16 + #define XDrawText xdrawtext + #define XDrawText16 xdrawtext16 + #define XDrawString16 xdrawstring16 + #define XDrawImageString16 xdrawimagestring16 + #define XCreateGC xcreategc + #define XCopyGC xcopygc + #define XChangeGC xchangegc + #define XFreeGC xfreegc + #define XSetState xsetstate + #define XSetFunction xsetfunction + #define XSetPlaneMask xsetplanemask + #define XSetForeground xsetforeground + #define XSetBackground xsetbackground + #define XSetLineAttributes xsetlineattributes + #define XSetDashes xsetdashes + #define XSetFillStyle xsetfillstyle + #define XSetFillRule xsetfillrule + #define XQueryBestSize xquerybestsize + #define XQueryBestTile xquerybesttile + #define XQueryBestStipple xquerybeststipple + #define XSetTile xsettile + #define XSetStipple xsetstipple + #define XSetTSOrigin xsettsorigin + #define XSetFont xsetfont + #define XSetClipOrigin xsetcliporigin + #define XSetClipMask xsetclipmask + #define XSetClipRectangles xsetcliprectangles + #define XSetArcMode xsetarcmode + #define XSetSubwindowMode xsetsubwindowmode + #define XSetGraphicsExposures xsetgraphicsexposures + #define XCreatePixmap xcreatepixmap + #define XCreateBitmapFromData xcreatebitmapfromdata + #define XFreePixmap xfreepixmap + #define XClearArea xcleararea + #define XClearWindow xclearwindow + #define XCopyArea xcopyarea + #define XCopyPlane xcopyplane + #define XDrawPoint xdrawpoint + #define XDrawPoints xdrawpoints + #define XDrawLine xdrawline + #define XDrawLines xdrawlines + #define XDrawSegments xdrawsegments + #define XDrawRectangle xdrawrectangle + #define XDrawRectangles xdrawrectangles + #define XDrawArc xdrawarc + #define XDrawArcs xdrawarcs + #define XFillRectangle xfillrectangle + #define XFillRectangles xfillrectangles + #define XFillPolygon xfillpolygon + #define XFillArc xfillarc + #define XFillArcs xfillarcs + #define XDrawString xdrawstring + #define XDrawImageString xdrawimagestring + #define XGrabButton xgrabbutton + #define XUngrabButton xungrabbutton + #define XGrabPointer xgrabpointer + #define XUngrabPointer xungrabpointer + #define XChangeActivePointerGrab xchangeactivepointergrab + #define XGrabKeyboard xgrabkeyboard + #define XUngrabKeyboard xungrabkeyboard + #define XGrabKey xgrabkey + #define XUngrabKey xungrabkey + #define XAllowEvents xallowevents + #define XGrabServer xgrabserver + #define XUngrabServer xungrabserver + #define XWarpPointer xwarppointer + #define XSetInputFocus xsetinputfocus + #define XGetInputFocus xgetinputfocus + #define XChangePointerControl xchangepointercontrol + #define XGetPointerControl xgetpointercontrol + #define XChangeKeyboardControl xchangekeyboardcontrol + #define XGetKeyboardControl xgetkeyboardcontrol + #define XAutoRepeatOn xautorepeaton + #define XAutoRepeatOff xautorepeatoff + #define XBell xbell + #define XSetPointerMapping xsetpointermapping + #define XGetPointerMapping xgetpointermapping + #define XQueryPointer xquerypointer + #define XChangeKeyboardMapping xchangekeyboardmapping + #define XSetModifierMapping xsetmodifiermapping + #define XGetModifierMapping xgetmodifiermapping + #define XSelectInput xselectinput + #define XFlush xflush + #define XSync xsync + #define XEventsQueued xeventsqueued + #define XPending xpending + #define XNextEvent xnextevent + #define XPeekEvent xpeekevent + #define XIfEvent xifevent + #define XCheckIfEvent xcheckifevent + #define XPeekIfEvent xpeekifevent + #define XPutBackEvent xputbackevent + #define XWindowEvent xwindowevent + #define XCheckWindowEvent xcheckwindowevent + #define XMaskEvent xmaskevent + #define XCheckMaskEvent xcheckmaskevent + #define XGetMotionEvents xgetmotionevents + #define XSendEvent xsendevent + #define XLookupKeysym xlookupkeysym + #define XRefereshKeyboardMapping xrefereshkeyboardmapping + #define XLookupString xlookupstring + #define XRebindKeySym xrebindkeysym + #define XCreateImage xcreateimage + #define XPutImage xputimage + #define XGetImage xgetimage + #define XSubGetImage xsubgetimage + #endif + + /* * Xlib operations. */ *** [.libgraphic]pfile.c-orig Wed Jan 24 20:40:03 1990 --- [.libgraphic]pfile.c Wed Jun 13 18:05:21 1990 *************** *** 198,203 **** --- 198,208 ---- } } + #ifdef VMS + #define unlink remove + extern "C" char *remove(char *); + #endif + boolean PFile::Erase () { return unlink(name) == 0 && fclose(fd) != EOF && *** [.libgraphic.vms]makefile.vms-orig Thu Jun 14 13:07:29 1990 --- [.libgraphic.vms]makefile.vms Fri Jun 15 17:31:19 1990 *************** *** 0 **** --- 1,351 ---- + # Makefile generated by imake - do not edit! + # $XConsortium: imake.c,v 1.48 89/10/10 18:33:21 jim Exp $ + + # + # "IVImake.tmpl" - generic imake template customized for InterViews + # + # Change platform-specific parameters in the appropriate .cf files. + # Define local site-specific parameters in IVlocal.def. You may + # need a full rebuild after changing some parameters. + # + + # architecture: VAX + + # platform: $XConsortium: ultrix.cf,v 1.16 89/10/11 18:54:54 jim Exp $ + # operating system: Ultrix-32 3.0 + + # + # generic make variables + # + + SHELL = /bin/sh + + TOP = ../../../. + CURRENT_DIR = ./src/libgraphic/VAX + SRC = .. + GEN = ../Generated + M = vms + X = X11 + + AOUT = a.out + AFTERINSTALL = $(RM) + AR = library/create + BOOTSTRAPCFLAGS = + BOOTSTRAPCPUCMD = /bin/sh $(SCRIPTSRC)/cpu.sh $(CONFIGSRC) + CC = gcc/plus + CPP = /lib/cpp $(STD_CPP_DEFINES) + PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) + DEPEND = makedepend + DEPENDCFLAGS = $(ALLDEFINES) -I/usr/include/CC + GENCLASS = mkclass + IMAKE = imake + IMAKETMPL = "IVImake.tmpl" + IMAKEOPTS = -T $(IMAKETMPL) -I$(CONFIGSRC) -I$(XCONFIGDIR) + INSTALL = install + LD = g++ + LINT = lint + LINTLIBFLAG = -C + LINTOPTS = -axz + LN = ln -s + MAKE = make X=$X $(MFLAGS) + MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh + MV = mv + CP = cp + RANLIB = ranlib + RANLIBINSTFLAGS = + RM = rm -f + TAGS = ctags + TROFF = psroff + STD_INCLUDES = + STD_CPP_DEFINES = + STD_DEFINES = + EXTRA_LOAD_FLAGS = + EXTRA_LIBRARIES = + + INSTPGMFLAGS = -s + INSTBINFLAGS = -m 0755 + INSTUIDFLAGS = -m 4755 + INSTLIBFLAGS = -m 0664 + INSTINCFLAGS = -m 0444 + INSTMANFLAGS = -m 0444 + INSTDATFLAGS = -m 0444 + INSTKMEMFLAGS = -m 4755 + + INCLUDES = -I$(SRC) -I$(GEN) -I$(INCLUDESRC)/Std -I$(IVSRC) + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + CDEBUGFLAGS = + ALLDEFINES = $(STD_INCLUDES) $(INCLUDES) $(STD_DEFINES) $(DEFINES) + CFLAGS = $(CDEBUGFLAGS) $(ALLDEFINES) $(EXTRA_CFLAGS) + LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) + LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) + + IMAKE_CMD = $(IMAKE) $(IMAKEOPTS) $(EXTRA_IMAKEOPTS) + RM_CMD = $(RM) .emacs_* *.CKP *.ln *.BAK *.bak *.a *.o *..c ,* *~ \ + a.out core errs tags TAGS make.log make.out + + # + # project-specific make variables + # + + USRLIBDIR = $(TOP)/installed/lib/$$CPU + BINDIR = $(TOP)/installed/bin/$$CPU.$X + LOCALBINDIR = $(TOP)/installed/bin/$$CPU + INCDIR = $(TOP)/installed/include + TEMPLATESDIR = $(INCDIR)/Templates + CONFIGDIR = $(TOP)/installed/config + XCONFIGDIR = $(DESTDIR)/usr/lib/X11/config + MANPATH = $(DESTDIR)/usr/man + MANSOURCEPATH = $(MANPATH)/man + MANDIR = $(MANSOURCEPATH)n + LIBMANDIR = $(MANSOURCEPATH)n + RELATIVEMANDIR = $(TOP)/installed/man + + IVSRC = $(TOP)/src + CONFIGSRC = $(IVSRC)/config + INCLUDESRC = $(IVSRC)/InterViews + TEMPLATESSRC = $(INCLUDESRC)/Templates + BINSRC = $(IVSRC)/bin + IMAKESRC = $(BINSRC)/imake + SCRIPTSRC = $(BINSRC)/scripts + LIBINTERVIEWSSRC = $(IVSRC)/libInterViews + LIBGRAPHICSRC = $(IVSRC)/libgraphic + LIBTEXTSRC = $(IVSRC)/libtext + MANSRC = $(IVSRC)/man + + TEMPLATES = $(TEMPLATESSRC) + LIBINTERVIEWS = $(LIBINTERVIEWSSRC)/$M/libInterViews$X.a + LIBGRAPHIC = $(LIBGRAPHICSRC)/$M/libgraphic.a + LIBTEXT = $(LIBTEXTSRC)/$M/libtext.a + + # + # libgraphic - source files for the Graphic library + # + + CDEBUGFLAGS = /debug + ECHO = write sys$$output + + IVSRC = salty$$du0:[angel.iv.src. + .c.obj: + @$(ECHO) "compiling $*" + $(RM) $@ + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $< + + SRCS = $(SRC)/*.c + OBJS = \ + base.obj, \ + cache.obj, \ + damage.obj, \ + ellipses.obj, \ + geomobjs.obj, \ + grblock.obj, \ + grconstruct.obj, \ + hash.obj, \ + instance.obj, \ + label.obj, \ + lines.obj, \ + objman.obj, \ + persistent.obj, \ + pfile.obj, \ + picture.obj, \ + polygons.obj, \ + ppaint.obj, \ + rasterrect.obj, \ + ref.obj, \ + reflist.obj, \ + splines.obj, \ + stencil.obj + + all:: libgraphic.olb + + libgraphic.olb: $(OBJS) + @$(ECHO) "building $@" + $(RM) $@ + $(AR) $@ $(OBJS) + + install:: libgraphic.olb + copy libgraphic.olb salty$$dua0:[angel.iv.installed.lib] + + depend:: $(SRCS) + $(DEPEND) -s "# DO NOT DELETE" -- $(DEPENDCFLAGS) -- $(SRCS) + + base.obj: [-]base.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + cache.obj: [-]cache.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + damage.obj: [-]damage.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + ellipses.obj: [-]ellipses.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + geomobjs.obj: [-]geomobjs.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + grblock.obj: [-]grblock.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + grconstruct.obj: [-]grconstruct.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + hash.obj: [-]hash.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + instance.obj: [-]instance.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + label.obj: [-]label.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + lines.obj: [-]lines.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + objman.obj: [-]objman.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + persistent.obj: [-]persistent.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + pfile.obj: [-]pfile.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + picture.obj: [-]picture.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + polygons.obj: [-]polygons.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + ppaint.obj: [-]ppaint.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + rasterrect.obj: [-]rasterrect.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + ref.obj: [-]ref.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + reflist.obj: [-]reflist.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + splines.obj: [-]splines.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + stencil.obj: [-]stencil.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + # + # common rules for all Makefiles + # + + clean:: + $(RM_CMD) \#* + + Makefile:: + -@if [ -f Makefile ]; then \ + $(RM) Makefile.bak; \ + $(MV) Makefile Makefile.bak; \ + else exit 0; fi + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -DInMachineDepSubdir -f $(SRC)/Imakefile + + install:: + Makefiles:: + + # + # dependencies generated by makedepend + # + + # DO NOT DELETE *** [.libinterviews]filebrowser.c-orig Fri Feb 2 00:30:00 1990 --- [.libinterviews]filebrowser.c Fri Feb 2 00:30:07 1990 *************** *** 26,31 **** --- 26,33 ---- #include + #include + #include #include #include *************** *** 151,159 **** --- 153,182 ---- return successful; } + #ifdef VMS + extern "C" char *shell$translate_vms(); + extern "C" char *getenv(); + #endif + const char* FBDirectory::Home (const char* name) { + #ifdef VMS + char *vmsHome; + char *unixHome; + struct passwd* pw; + if (name == nil) { + if (vmsHome = getenv("HOME")) { + unixHome = shell$translate_vms(vmsHome); + return unixHome; + } + else + return "/sys$login"; + } + else + pw = getpwnam(name); + #else struct passwd* pw = (name == nil) ? getpwuid(getuid()) : getpwnam(name); + #endif return (pw == nil) ? nil : pw->pw_dir; } *************** *** 301,306 **** --- 324,330 ---- const char* FBDirectory::ExpandTilde (const char* tildeName, int length) { const char* name = nil; + const char *s; if (length > 1) { static char buf[MAXNAMLEN+1]; *************** *** 451,456 **** --- 475,487 ---- if (dir->IsADirectory(Concat(lastpath, name))) { char buf[MAXPATHLEN+1]; strcpy(buf, name); + #ifdef VMS + int l = strlen(buf); + if (l > 4 && buf[l-4] == '.' && buf[l-3] == 'd' && buf[l-2] == 'i' + && buf[l-1] == 'r') { + buf[l-4] = 0; + } + #endif strcat(buf, "/"); Append(buf); } else { *** [.libinterviews]world.c-orig Fri Feb 2 18:04:38 1990 --- [.libinterviews]world.c Fri Feb 2 18:04:24 1990 *************** *** 253,262 **** if (arg[0] == '=') { match = true; PutProp(".geometry", &arg[1]); ! } else if (strchr(arg, ':') != nil) { match = true; PutProp("display", arg); } } if (!match) { newargv[newargc] = arg; --- 253,266 ---- if (arg[0] == '=') { match = true; PutProp(".geometry", &arg[1]); ! } ! #ifndef VMS ! /* Use -display to specify it, ":" is magic in VMS */ ! else if (strchr(arg, ':') != nil) { match = true; PutProp("display", arg); } + #endif } if (!match) { newargv[newargc] = arg; *** [.libinterviews]x11-world.c-orig Wed Jan 17 14:00:55 1990 --- [.libinterviews]x11-world.c Mon Feb 5 23:08:37 1990 *************** *** 59,65 **** --- 59,81 ---- uname(&name); strncpy(_host, name.nodename, sizeof(_host)); #else + #ifdef VMS + char *s, *r; + + if (s = getenv("SYS$NODE")) { + if (*s == '_') + s++; + if (*s == '_') + s++; + if (r = strchr(s, ':')) + *r = '\0'; + strcpy(_host, s); + } + else + strcpy(_host, "localhost"); + #else ::gethostname(_host, sizeof(_host)); + #endif #endif return _host; } *** [.libinterviews.vms]makefile.vms-orig Thu Jun 14 13:07:45 1990 --- [.libinterviews.vms]makefile.vms Fri Jun 15 17:31:35 1990 *************** *** 0 **** --- 1,875 ---- + # Makefile generated by imake - do not edit! + # $XConsortium: imake.c,v 1.48 89/10/10 18:33:21 jim Exp $ + + # + # "IVImake.tmpl" - generic imake template customized for InterViews + # + # Change platform-specific parameters in the appropriate .cf files. + # Define local site-specific parameters in IVlocal.def. You may + # need a full rebuild after changing some parameters. + # + + # architecture: VAX + + # platform: $XConsortium: ultrix.cf,v 1.16 89/10/11 18:54:54 jim Exp $ + # operating system: Ultrix-32 3.0 + + # + # generic make variables + # + + SHELL = /bin/sh + + TOP = ../../../. + CURRENT_DIR = ./src/libInterViews/VAX + SRC = .. + GEN = ../Generated + M = vms + X = X11 + + AOUT = a.out + AFTERINSTALL = $(RM) + AR = library/create + BOOTSTRAPCFLAGS = + BOOTSTRAPCPUCMD = /bin/sh $(SCRIPTSRC)/cpu.sh $(CONFIGSRC) + CC = gcc/plus + ECHO = write sys$$output + CPP = /lib/cpp $(STD_CPP_DEFINES) + PREPROCESSCMD = cc -E $(STD_CPP_DEFINES) + DEPEND = makedepend + DEPENDCFLAGS = $(ALLDEFINES) -I/usr/include/CC + GENCLASS = mkclass + IMAKE = imake + IMAKETMPL = "IVImake.tmpl" + IMAKEOPTS = -T $(IMAKETMPL) -I$(CONFIGSRC) -I$(XCONFIGDIR) + INSTALL = install + LD = g++ + LINT = lint + LINTLIBFLAG = -C + LINTOPTS = -axz + LN = ln -s + MAKE = make X=$X $(MFLAGS) + MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh + MV = mv + CP = cp + RANLIB = ranlib + RANLIBINSTFLAGS = + RM = rm -f + TAGS = ctags + TROFF = psroff + STD_INCLUDES = + STD_CPP_DEFINES = + STD_DEFINES = + EXTRA_LOAD_FLAGS = + EXTRA_LIBRARIES = + + INSTPGMFLAGS = -s + INSTBINFLAGS = -m 0755 + INSTUIDFLAGS = -m 4755 + INSTLIBFLAGS = -m 0664 + INSTINCFLAGS = -m 0444 + INSTMANFLAGS = -m 0444 + INSTDATFLAGS = -m 0444 + INSTKMEMFLAGS = -m 4755 + + INCLUDES = -I$(SRC) -I$(GEN) -I$(INCLUDESRC)/Std -I$(IVSRC) + INCLUDES = /inc=(def1:, def2:, def3:, def4:) + + CDEBUGFLAGS = /debug + ALLDEFINES = $(STD_INCLUDES) $(INCLUDES) $(STD_DEFINES) $(DEFINES) + CFLAGS = $(CDEBUGFLAGS) $(ALLDEFINES) $(EXTRA_CFLAGS) + LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) + LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) + + IMAKE_CMD = $(IMAKE) $(IMAKEOPTS) $(EXTRA_IMAKEOPTS) + RM_CMD = $(RM) .emacs_* *.CKP *.ln *.BAK *.bak *.a *.o *..c ,* *~ \ + a.out core errs tags TAGS make.log make.out + + # + # project-specific make variables + # + + USRLIBDIR = $(TOP)/installed/lib/$$CPU + BINDIR = $(TOP)/installed/bin/$$CPU.$X + LOCALBINDIR = $(TOP)/installed/bin/$$CPU + INCDIR = $(TOP)/installed/include + TEMPLATESDIR = $(INCDIR)/Templates + CONFIGDIR = $(TOP)/installed/config + XCONFIGDIR = $(DESTDIR)/usr/lib/X11/config + MANPATH = $(DESTDIR)/usr/man + MANSOURCEPATH = $(MANPATH)/man + MANDIR = $(MANSOURCEPATH)n + LIBMANDIR = $(MANSOURCEPATH)n + RELATIVEMANDIR = $(TOP)/installed/man + + IVSRC = $(TOP)/src + CONFIGSRC = $(IVSRC)/config + INCLUDESRC = $(IVSRC)/InterViews + TEMPLATESSRC = $(INCLUDESRC)/Templates + BINSRC = $(IVSRC)/bin + IMAKESRC = $(BINSRC)/imake + SCRIPTSRC = $(BINSRC)/scripts + LIBINTERVIEWSSRC = $(IVSRC)/libInterViews + LIBGRAPHICSRC = $(IVSRC)/libgraphic + LIBTEXTSRC = $(IVSRC)/libtext + MANSRC = $(IVSRC)/man + + TEMPLATES = $(TEMPLATESSRC) + LIBINTERVIEWS = $(LIBINTERVIEWSSRC)/$M/libInterViews$X.a + LIBGRAPHIC = $(LIBGRAPHICSRC)/$M/libgraphic.a + LIBTEXT = $(LIBTEXTSRC)/$M/libtext.a + + # + # libInterViews - source files for the InterViews library + # + + + CDEBUGFLAGS = /debug /noopt + SRCS = $(SRC)/*.c $(GEN)/*.c + GENERICS = \ + $(GEN)/ftable.h \ + $(GEN)/itable.h \ + $(GEN)/btable.h \ + $(GEN)/table.c \ + $(GEN)/table2.h \ + $(GEN)/table2.c + + XOBJS = \ + $X-bitmap.obj, \ + $X-canvas.obj, \ + $X-cursor.obj, \ + $X-event.obj, \ + $X-inter.obj, \ + $X-paint.obj, \ + $X-painter.obj, \ + $X-raster.obj, \ + $X-reqerr.obj, \ + $X-scene.obj, \ + $X-sensor.obj, \ + $X-wmhints.obj, \ + $X-world.obj, \ + $X-wview.obj + + # + # The following files are missing + # _ctorlist.o + # _dtorlist.o + # _exit.o + # _finish.o + # _init.o + # connection.o + # space.o + # spaceman.o + # chief.o + # + OBJS = \ + _handler.obj, \ + adjuster.obj, \ + banner.obj, \ + bitmap.obj, \ + border.obj, \ + box.obj, \ + button.obj, \ + catalog.obj, \ + control.obj, \ + cursor.obj, \ + deck.obj, \ + deputy.obj, \ + dialog.obj, \ + filebrowser.obj, \ + filechooser.obj, \ + frame.obj, \ + glue.obj, \ + interactor.obj, \ + menu.obj, \ + message.obj, \ + paint.obj, \ + painter.obj, \ + panner.obj, \ + perspective.obj, \ + propsheet.obj, \ + raster.obj, \ + regexp.obj, \ + resource.obj, \ + rubband.obj, \ + rubcurve.obj, \ + rubgroup.obj, \ + rubline.obj, \ + rubrect.obj, \ + rubverts.obj, \ + scene.obj, \ + scroller.obj, \ + sensor.obj, \ + shape.obj, \ + stream.obj, \ + strbrowser.obj, \ + strchooser.obj, \ + streditor.obj, \ + strpool.obj, \ + strtable.obj, \ + stub.obj, \ + subject.obj, \ + table.obj, \ + table2.obj, \ + tagtable.obj, \ + textbuffer.obj, \ + textdisplay.obj, \ + texteditor.obj, \ + transformer.obj, \ + tray.obj, \ + viewport.obj, \ + world.obj, \ + worldview.obj, \ + ${XOBJS} + + all:: libInterViews$X.olb + + libInterViews$X.olb: $(OBJS) + @$(ECHO) "building $@" + $(RM) $@ + $(AR) $@ $(OBJS) + + install:: libInterViews$X.olb + copy libInterViews$X.olb salty$$dua0:[angel.iv.installed.lib] + + depend:: $(SRCS) $(GENERICS) + $(DEPEND) -s "# DO NOT DELETE" -- $(DEPENDCFLAGS) -- $(SRCS) + + IVSRC = salty$$du0:[angel.iv.src. + .c.obj: + @$(ECHO) "compiling $*" + $(RM) $@ + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _ctorlist.obj: [-]_ctorlist.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _dtorlist.obj: [-]_dtorlist.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _exit.obj: [-]_exit.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _finish.obj: [-]_finish.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _handler.obj: [-]_handler.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + _init.obj: [-]_init.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + adjuster.obj: [-]adjuster.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + banner.obj: [-]banner.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + bitmap.obj: [-]bitmap.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + border.obj: [-]border.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + box.obj: [-]box.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + button.obj: [-]button.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + catalog.obj: [-]catalog.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + chief.obj: [-]chief.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + connection.obj: [-]connection.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + control.obj: [-]control.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + cursor.obj: [-]cursor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + deck.obj: [-]deck.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + deputy.obj: [-]deputy.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + dialog.obj: [-]dialog.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + filebrowser.obj: [-]filebrowser.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + filechooser.obj: [-]filechooser.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + frame.obj: [-]frame.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + glue.obj: [-]glue.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + interactor.obj: [-]interactor.c + @$(ECHO) "compiling $(SRC)/interactor.c" + $(RM) $@ + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /def="no_select" [-]interactor.c + + menu.obj: [-]menu.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + message.obj: [-]message.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + paint.obj: [-]paint.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + painter.obj: [-]painter.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + panner.obj: [-]panner.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + perspective.obj: [-]perspective.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + propsheet.obj: [-]propsheet.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + raster.obj: [-]raster.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + regexp.obj: [-]regexp.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + resource.obj: [-]resource.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubband.obj: [-]rubband.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubcurve.obj: [-]rubcurve.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubgroup.obj: [-]rubgroup.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubline.obj: [-]rubline.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubrect.obj: [-]rubrect.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + rubverts.obj: [-]rubverts.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + scene.obj: [-]scene.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + scroller.obj: [-]scroller.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + sensor.obj: [-]sensor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + shape.obj: [-]shape.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + space.obj: [-]space.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + spaceman.obj: [-]spaceman.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + stream.obj: [-]stream.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + strbrowser.obj: [-]strbrowser.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + strchooser.obj: [-]strchooser.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + streditor.obj: [-]streditor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + strpool.obj: [-]strpool.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + strtable.obj: [-]strtable.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + stub.obj: [-]stub.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + subject.obj: [-]subject.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + table.obj: [-.generated]table.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + table2.obj: [-.generated]table2.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + tagtable.obj: [-]tagtable.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + textbuffer.obj: [-]textbuffer.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + textdisplay.obj: [-]textdisplay.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + texteditor.obj: [-]texteditor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + transformer.obj: [-]transformer.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + tray.obj: [-]tray.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + viewport.obj: [-]viewport.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + world.obj: [-]world.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + worldview.obj: [-]worldview.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-bitmap.obj: [-]$X-bitmap.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-canvas.obj: [-]$X-canvas.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-cursor.obj: [-]$X-cursor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-event.obj: [-]$X-event.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-inter.obj: [-]$X-inter.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-paint.obj: [-]$X-paint.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-painter.obj: [-]$X-painter.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-raster.obj: [-]$X-raster.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-reqerr.obj: [-]$X-reqerr.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-scene.obj: [-]$X-scene.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-sensor.obj: [-]$X-sensor.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-wmhints.obj: [-]$X-wmhints.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-world.obj: [-]$X-world.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $X-wview.obj: [-]$X-wview.c + def def1 $(IVSRC)libinterviews.]/trans=(conc,term); \ + def def2 $(IVSRC)libinterviews.Generated.]/trans=(conc,term); \ + def def3 $(IVSRC)interviews.std.]/trans=(conc,term); \ + def def4 $(IVSRC)]/trans=(conc,term); \ + $(CC) $(CFLAGS) /inc=(def1:,def2:,def3:,def4:) $*.c + + $(GEN)/btable.h:: $(TEMPLATES)/genptrtable2.h + @$(ECHO) "generating $(GEN)/btable.h" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/genptrtable2.h $@ \ + Table=BitmapTable TableKey1="unsigned long" TableKey2="int" \ + TableValue="class Bitmap*" + chmod 444 $@ + + $(GEN)/ftable.h:: $(TEMPLATES)/genptrtable.h + @$(ECHO) "generating $(GEN)/ftable.h" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/genptrtable.h $@ \ + Table=FontTable TableKey="class StringId*" TableValue="class FontRep*" + chmod 444 $@ + + $(GEN)/itable.h:: $(TEMPLATES)/genptrtable.h + @$(ECHO) "generating $(GEN)/itable.h" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/genptrtable.h $@ \ + Table=InteractorTable TableKey="void*" TableValue="class Interactor*" + chmod 444 $@ + + $(GEN)/table.c:: $(TEMPLATES)/gentable.c + @$(ECHO) "generating $(GEN)/table.c" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/gentable.c $@ \ + Table=Table TableKey="void*" TableValue="void*" name=InterViews/table + chmod 444 $@ + + $(GEN)/table2.c:: $(TEMPLATES)/gentable2.c + @$(ECHO) "generating $(GEN)/table2.c" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/gentable2.c $@ \ + Table=Table2 TableKey1="void*" TableKey2="void*" TableValue="void*" \ + name=table2 + chmod 444 $@ + + $(GEN)/table2.h:: $(TEMPLATES)/gentable2.h + @$(ECHO) "generating $(GEN)/table2.h" + $(RM) $@ + $(GENCLASS) $(TEMPLATES)/gentable2.h $@ \ + Table=Table2 TableKey1="void*" TableKey2="void*" TableValue="void*" + chmod 444 $@ + + # + # common rules for all Makefiles + # + + clean:: + $(RM_CMD) \#* + + Makefile:: + -@if [ -f Makefile ]; then \ + $(RM) Makefile.bak; \ + $(MV) Makefile Makefile.bak; \ + else exit 0; fi + $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -DInMachineDepSubdir -f $(SRC)/Imakefile + + install:: + Makefiles:: + + # + # dependencies generated by makedepend + # + + # DO NOT DELETE