home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
x
/
xtrapv33.zip
/
extensions
/
lib
/
xtrap
/
Imakefile
< prev
next >
Wrap
Makefile
|
1992-09-14
|
3KB
|
87 lines
/*****************************************************************************
Copyright 1987, 1988, 1989, 1990, 1991 by Digital Equipment Corp., Maynard, MA
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
*****************************************************************************/
#define DoNormalLib NormalLibXTrap
#define DoSharedLib SharedLibXTrap
#define DoDebugLib DebugLibXTrap
#define DoProfileLib ProfileLibXTrap
#include <Library.tmpl>
#ifdef RsArchitecture
REQUIREDLIBS = $(EXTENSIONSRC)/lib/libXext.a $(XLIBSRC)/libX11.a \
$(TOOLKITSRC)/libXt.a
#endif
TOP = TOPDIR/../mit/
STD_DEFINES = LibraryDefines ExtensionDefines
/**/# Xt used first because the headers should first come from the Xt
/**/# binding.
STD_INCLUDES= -I$(INCLUDESRC)/Xt
INCLUDES = -I$(TOP) -I$(INCLUDESRC) -I$(EXTENSIONSRC)/include \
-I$(EXTENSIONSRC)/include/xtrap -I$(XLIBSRC) \
-I$(TOOLKITSRC) -I$(FONTSRC)/include
SRCS = XETrapInit.c XEConTxt.c XEWrappers.c XEDsptch.c \
XECallBcks.c XEPrInfo.c XERqsts.c chparse.c \
XEStrMap.c sleep.c XEKeybCtrl.c
OBJS = XETrapInit.o XEConTxt.o XEWrappers.o XEDsptch.o \
XECallBcks.o XEPrInfo.o XERqsts.o chparse.o \
XEStrMap.o sleep.o XEKeybCtrl.o
LOBJS = XETrapInit.ln XEConTxt.ln XEWrappers.ln XEDsptch.ln \
XECallBcks.ln XEPrInfo.ln XERqsts.ln chparse.ln \
XEStrMap.ln sleep.ln XEKeybCtrl.ln
XTRAPREF = $(TOP)/../../xtrapcode/
LINTLIBS = $(LINTXLIB) $(LINTXEXT) $(LINTXTOOL)
#if DoSharedLib
SOXTRAPREV = SharedXTrapRev
#if DoNormalLib
SharedLibraryTarget(XTrap,$(SOXTRAPREV),$(OBJS),shared,..)
#else
SharedLibraryTarget(XTrap,$(SOXTRAPREV),$(OBJS),.,.)
#endif
InstallSharedLibrary(XTrap,$(SOXTRAPREV),$(USRLIBDIR))
#endif
#if DoNormalLib
NormalLibraryTarget(XTrap,$(OBJS))
InstallLibrary(XTrap,$(USRLIBDIR))
#endif
#if DoProfileLib
ProfiledLibraryTarget(XTrap,$(OBJS))
InstallLibrary(XTrap_p,$(USRLIBDIR))
#endif
#if DoDebugLib
DebuggedLibraryTarget(XTrap,$(OBJS))
#endif
LintLibraryTarget(XTrap,$(SRCS))
InstallLintLibrary(XTrap,$(LINTLIBDIR))
links:
$(RM) Imakefile; \
$(LN) $(XTRAPREF)/lib_xtrap.imake_r5 Imakefile; \
for i in $(SRCS); do (set -x; $(RM) $$i; $(LN) $(XTRAPREF)/$$i .); done
DependTarget()
NormalLintTarget($(SRCS))