52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
XCOMM $XConsortium: Imakefile,v 1.17 93/08/17 20:49:32 rws Exp $
|
|
XCOMM $XFree86: xc/programs/xedit/Imakefile,v 1.26 2003/05/20 21:44:48 tsi Exp $
|
|
|
|
#include "lisp/lisp.cf"
|
|
|
|
#if BuildSharedLispModules
|
|
CCOPTIONS = -fpic
|
|
DLLIB = DlLibrary
|
|
LOCAL_LDFLAGS = -Xlinker -E
|
|
#endif
|
|
|
|
#define IHaveSubdirs
|
|
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
|
|
|
|
SUBDIRS = lisp
|
|
LISPLIBS = -Llisp -llisp -Llisp/mp -lmp -Llisp/re -lre
|
|
LISP_SRC = lisp.c
|
|
LISP_OBJ = lisp.o
|
|
|
|
DEPLIBS = XawClientDepLibs $(SUBDIRS)
|
|
LOCAL_LIBRARIES = $(LISPLIBS) XawClientLibs $(DLLIB)
|
|
SYS_LIBRARIES = MathLibrary
|
|
#if defined(LynxOSArchitecture) || defined(SVR3Architecture) || defined(LinuxArchitecture)
|
|
RP_SRCS = realpath.c
|
|
RP_OBJS = realpath.o
|
|
RP_DEFINES = -DNEED_REALPATH
|
|
#endif
|
|
#if !HasStrcasecmp
|
|
STRCCMP_SRCS = strcasecmp.c
|
|
STRCCMP_OBJS = strcasecmp.o
|
|
STRCCMP_DEFINES = -DNEED_STRCASECMP
|
|
#endif
|
|
SYS_SRCS = $(RP_SRCS) $(STRCCMP_SRCS)
|
|
SYS_OBJS = $(RP_OBJS) $(STRCCMP_OBJS)
|
|
SYS_DEFINES = $(RP_DEFINES) $(STRCCMP_DEFINES)
|
|
DEFINES = $(SIGNAL_DEFINES) $(SYS_DEFINES)
|
|
INCLUDES = -I. -Ilisp/re $(MISC_INCLUDES)
|
|
|
|
SRCS = xedit.c commands.c util.c $(SYS_SRCS) ispell.c options.c \
|
|
hook.c $(LISP_SRC)
|
|
OBJS = xedit.o commands.o util.o $(SYS_OBJS) ispell.o options.o \
|
|
hook.o $(LISP_OBJ)
|
|
|
|
#ifdef IHaveSubdirs
|
|
ForceSubdirs($(SUBDIRS))
|
|
DependSubdirs($(SUBDIRS))
|
|
#endif
|
|
|
|
ComplexProgramTarget(xedit)
|
|
InstallAppDefaults(Xedit)
|
|
InstallAppDefaultsLong(Xedit-color,Xedit-color)
|