view oldXMenu/Imakefile @ 26789:03a6016a38bf

(#includes): Allow compilation with only Xaw. (xaw3d_arrow_scroll, xaw3d_pick_top): New variables. (xt_action_hook): Replace XAW3D by XAW. (xaw3d_jump_callback): Renamed to xaw_jump_callback. (xaw_jump_callback): Renamed from xaw3d_jump_callback. Determine epsilon dynamically and don't try to be too clever. (xaw3d_scroll_callback): Renamed to xaw_scroll_callback. (xaw_scroll_callback): Renamed from xaw3d_scroll_callback. Handle both Xaw3d with arrow-scrollbars and with Xaw-style scrollbar (using `ratio'). (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d scrollbar we have so as to set it up more optimally and to fix xaw3d_arrow_scroll and xaw3d_pick_top. (x_set_toolkit_scroll_bar_thumb): Try to maintain 2 spare pixels at the bottom of the Xaw3d scrollbar, to work around its tendency to refuse shrinking the thumb. Also make sure that `XawScrollbarSetThumb' is not ignored, using a major gross hack. (x_initialize): Init default values for xaw3d_arrow_scroll and xaw3d_pick_top.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 10 Dec 1999 01:40:21 +0000
parents bbce331da1be
children 695cf19ef79e
line wrap: on
line source

        HEADERS = XMenu.h
       LINTLIBS = ../lib/X/llib-lX.ln
   INSTALLFLAGS = $(INSTINCFLAGS)
         RANLIB = ranlib -t

SRCS =  Activate.c \
	AddPane.c \
	AddSel.c \
	ChgPane.c \
	ChgSel.c \
	Create.c \
	DelPane.c \
	DelSel.c \
	Destroy.c \
	Error.c \
	EvHand.c \
	FindPane.c \
	FindSel.c \
	InsPane.c \
	InsSel.c \
	Internal.c \
	Locate.c \
	Post.c \
	Recomp.c \
	SetAEQ.c \
	SetFrz.c \
	SetPane.c \
	SetSel.c \
	XCrAssoc.c \
	XDelAssoc.c \
	XDestAssoc.c \
	XLookAssoc.c \
	XMakeAssoc.c

OBJS =  Activate.o \
	AddPane.o \
	AddSel.o \
	ChgPane.o \
	ChgSel.o \
	Create.o \
	DelPane.o \
	DelSel.o \
	Destroy.o \
	Error.o \
	EvHand.o \
	FindPane.o \
	FindSel.o \
	InsPane.o \
	InsSel.o \
	Internal.o \
	Locate.o \
	Post.o \
	Recomp.o \
	SetAEQ.o \
	SetFrz.o \
	SetPane.o \
	SetSel.o \
	XCrAssoc.o \
	XDelAssoc.o \
	XDestAssoc.o \
	XLookAssoc.o \
	XMakeAssoc.o

#if DebugOldLibXMenu && ProfileOldLibXMenu
DebuggedAndProfiledLibraryObjectRule()
#else
# if DebugOldLibXMenu
DebuggedLibraryObjectRule()
# else
#  if ProfileOldLibXMenu
ProfiledLibraryObjectRule()
#  else
NormalLibraryObjectRule()
#  endif
# endif
#endif

NormalLibraryTarget(XMenu11,$(OBJS))
LintLibraryTarget(XMenu11,$(SRCS))
InstallLibrary(XMenu11,$(USRLIBDIR))
#if InstallLintLibs
InstallLintLibrary(XMenu11,$(LINTLIBDIR))
#endif
InstallMultiple($(HEADERS),$(INCDIR))

#if ProfileOldLibXMenu
ProfiledLibraryTarget(XMenu11,$(OBJS))
InstallLibrary(XMenu11_p,$(USRLIBDIR))
#endif

#if DebugOldLibXMenu
DebuggedLibraryTarget(XMenu11,$(OBJS))
#endif

DependTarget()

NormalLintTarget($(SRCS))