REQUESTS = AllocColor AllocColorCells AllocColorPlanes AllocNamedColor\ AllowEvents Bell ChangeActivePointerGrab ChangeGC ChangeHosts\ ChangeKeyboardControl ChangeKeyboardMapping ChangePointerControl\ ChangeProperty ChangeSaveSet ChangeWindowAttributes CirculateWindow\ ClearArea CloseFont ConfigureWindow ConvertSelection CopyArea\ CopyColormapAndFree CopyGC CopyPlane CreateColormap CreateCursor\ CreateGC CreateGlyphCursor CreatePixmap CreateWindow DeleteProperty\ DestroySubwindows DestroyWindow FillPoly ForceScreenSaver FreeColormap\ FreeColors FreeCursor FreeGC FreePixmap GetAtomName GetFontPath\ GetGeometry GetImage GetInputFocus GetKeyboardControl\ GetKeyboardMapping GetModifierMapping GetMotionEvents GetPointerControl\ GetPointerMapping GetProperty GetScreenSaver GetSelectionOwner\ GetWindowAttributes GrabButton GrabKey GrabKeyboard GrabPointer\ GrabServer ImageText16 ImageText8 InstallColormap InternAtom KillClient\ ListExtensions ListFonts ListFontsWithInfo ListHosts\ ListInstalledColormaps ListProperties LookupColor MapSubwindows\ MapWindow NoOperation OpenFont PolyArc PolyFillArc PolyFillRectangle\ PolyLine PolyPoint PolyRectangle PolySegment PolyText16 PolyText8\ PutImage QueryBestSize QueryColors QueryExtension QueryFont QueryKeymap\ QueryPointer QueryTextExtents QueryTree RecolorCursor ReparentWindow\ RotateProperties SendEvent SetAccessControl SetClipRectangles\ SetCloseDownMode SetDashes SetFontPath SetInputFocus SetModifierMapping\ SetPointerMapping SetScreenSaver SetSelectionOwner StoreColors\ StoreNamedColor TranslateCoordinates UngrabButton UngrabKey\ UngrabKeyboard UngrabPointer UngrabServer UninstallColormap\ UnmapSubwindows UnmapWindow WarpPointer EXTS = SHAPE SHAPE_FILENAME = shape SHAPE_FILES = query SGCCALLS = ChangeSGC CreateSGC SGC_GC LOCALCALLS = default-screen max-keycode min-keycode nscreens root\ root-colormap root-depth root-height root-visual root-width xc-udata CONVCALLS = draw-line draw-point draw-rectangle fill-arc fill-rectangle\ kbmap lookup-color CC_ADD = -g CFLAGS_ADD = -I. BUILDBINS = tester mmterm LIBS_tester = liblx.a -laio -les LIBS_mmterm = liblx.a -laio BUILDLIBS = liblx.a OBJ_liblx = $(CONVCALLS:S/$/.o/:S/^/conv-/)\ $(LOCALCALLS:S/$/.o/:S/^/local-/) $(REQUESTS:S/$/.o/:S/^/req-/)\ $(SGCCALLS:S/$/.o/:S/^/sgc-/) auth.o chain.o close.o cvt.o errs.o\ events.o hostlist.o initial.o keysym-tables.o lx-xi.o lx_abort.o map.o\ priv.o proto.o req-simple-none.o req-simple-single.o resource.o sgc.o\ str_tconc.o strlist.o vars.o xidlist.o .for x in $(EXTS) OBJ_liblx += $($(x)_FILES:S/$/.o/:S/^/lx-$($(x)_FILENAME)-/) .endfor OBJ_liblx != ls -t ${OBJ_liblx:S/.o$/.c/} OBJ_liblx := ${OBJ_liblx:S/.c$/.o/} INSTALLHDR = lx.h lx-keysyms.h INSTALLMAN = lx.3 VERSION = 0.1 .MAIN: $(BUILDBINS) $(OBJ_liblx): lx.h lx-keysyms.h internal.h tester.o mmterm.o: lx.h lx-keysyms.h lx-keysyms.h keysym-tables.c: keysyms process-keysyms ./process-keysyms .for f in $(SHAPE_FILES) lx-shape-$(f).o: lx.h lx-xi.h lx-shape.h lx-shape-int.h lx-shape-proto.h .endfor tester: liblx.a mmterm: liblx.a .include