Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • mcclim/gramps-clim2
  • abridgewater/gramps-clim2
  • wannis/gramps-clim2
3 results
Show changes
Commits on Source (453)
stub-xt.c
stub-x.c
stub-olit.c
stub-motif.c
Clim-sizes.n
slim
slim.ol
coverage-report.lisp
postscript.output
.git-branch-name
*.tmp
*.a
*.o
*.fasl
*.so
*.dylib
stub-*.c
Clim-sizes.n
build.out
concat.out
*.dylib
*.lx32fsl
*.lx64fsl
--------------------------------------------------------------------------------
from jdi: Mon Jul 27 19:28:33 PDT 1992
NOTES
1: Delete files:
clim/output-recording-protocol.lisp
clim/output-recording-defs.lisp
2: New directory malloclib. Contains debugging version of malloc &
friends. To turn on, uncomment appropriate lines in Makefile
3: This time, you want most of my changes to the Makefile. I tried to
edit out the unnecessary ones.
--
Makefile
-- Added optional malloclib support. Added source rule
so TAGS file is correct.
clim/frames
-- Added support for use-specified-{size,position}-p frame
and their default processing in make-application-frame.
clim/graphics-recording
-- Fixed problem where point sequence wasn't always copied,
leading to death because the original was stack allocated.
clim/input-protocol
-- Turn off highlighted presentation on leave event.
clim/menus
-- Send the beep to a CLIM window.
misc/dev-load-1
-- take out malloc & bogus update-package form
misc/load-xm
-- take out malloc
misc/undefinedsymbols
-- add X{Get,Set}WMNormalHints
silica/framem
silica/layout
-- more user-specified hacking
tk/convenience
tk/make-widget
tk/ol-init
tk/ol-widgets
tk/xm-widgets
tk/widget
-- remf had args reversed
tk/load-ol
tk/load-xm
tk/load-xt
xlib/load-xlib
-- remove-entry-point no longer necessary
tk/make-classes
-- resource not found error now caught at higher level.
tk/pkg
-- export realize-widget
tk-silica/xt-graphics
-- finish output needs to XSync, not XFlush
tk-silica/xt-silica
-- sheet-mirror-event-handler rewritten. Now doesn't have
to incur server roundtrip for each event.
Button handling code rewritten.
-- new enable-mirror method for user-specified stuff
-- misc other stuff
xlib/xlib-defs
-- added xsizehints definition
xlib/xlib-fnus
-- added xallocsizehints, xsetwmnormalhints, xgetwmnormalhints
--------------------------------------------------------------------------------
from swm: Mon Jul 20 13:49:12 PDT 1992
General bug fixing
- Small problem in OUTPUT-RECORD-ELEMENT for STANDARD-SEQUENCE-OUTPUT-RECORD
- Fixed one problem in incremental redisplay of overlapping output
- Fixed GENERATE-CROSSING-EVENTS not to generate exit events when moving
into a child sheet. Controlled by *GENERATE-EXIT-EVENT-WHEN-ENTERING-CHILD*.
- Renamed MOVE-SHEET*, RESIZE-SHEET*, and MOVE-AND-RESIZE-SHEET* to remove the
"*" from the names.
- Made frames such as menus and dialogs position themselves appropriately.
- Made MAKE-APPLICATION-FRAME position the frame to the requested place.
- Made POINTER-SET-POSITION tell the host to actually move the pointer.
*** You will need to implement SILICA:PORT-SET-POINTER-POSITION for the
Motif and OpenLook ports. ***
- Made the port event loops continually update the modifer state slot in
the port object, and the buttons state in the pointer object. This is
needed so that users can reliably query the state of these objects.
- Put INVALIDATE-CACHED-REGIONS and INVALIDATE-CACHED-TRANSFORMATIONS methods
on the proper classes,
- Fix DEFINE-CLX-KEYSYM, DEFINE-GENERA-KEYSYM, and TK-SILICA::DEFINE-KEYSYM
to evaluate their keysym arguments. (Now I know why the keyboard gesture
stuff was not working for you - it worked by accident on Genera.)
- Extended the demo driver functions to take a port argument, so that
the demos can be used simultaneously on multiple ports. (We needed
this for AAAI.)
General performance work
- Added support for resourced events. This feature is off by default while
I finish debugging it. There is a (harmless) storage leak I haven't found
yet, plus one case where events get multiply deallocated. Overall, this
reduces consing tremendously, and has no performance penalty.
- Implemented MAP-OVER-SHEETS-OVERLAPPING-REGION, which is a non-consing
version of CHILDREN-OVERLAPPING-REGION. This gets used all the time.
- Made RESIZE-SHEET, UPDATE-REGION, and VIEWPORT-REGION-CHANGED, and some
other things avoid consing a new region by reusing the old one.
- Added lots of DYNAMIC-EXTENT declarations to avoid consing excessive lexical
closure environments.
- Change SHEET-SINGLE-CHILD-MIXIN so that SHEET-CHILDREN does not cons.
- Optimized DEFINE-GRAPHICS-GENERIC a little more.
- Changed MEDIUM-COPY-AREA methods for Genera and CLX port to call
SHEET-DEVICE-TRANSFORMATION instead of SHEET-NATIVE-TRANSFORMATION.
The two functions always return the same result, but SHEET-NATIVE-TRANSFORMATION
conses each time it is called.
- Changed CURSOR-SET-POSITION to manage the cursor in a speedier way in some
cases (it doesn't notify the host when FASTP is T). There is still a bug that
needs to be fixed by changing one place to bind the cursor off. This makes
text output about 35-40% faster.
- Made INVALIDATE-CACHED-REGIONS set a flag to indicate that the region should
be recomputed. Then SHEET-DEVICE-REGION reuses the previous invalidated
region instead of creating a new one. This save a *lot* of consing during
scrolling.
The Genera port
- Fixed problems in DRAW-PATTERN*
- Fixed some race conditions with Genera's window system
- Made text output twice as fast.
The CLX port
- Made configuration and exposure notifications work correctly.
- Made pixmaps work
--------------------------------------------------------------------------------
from jdi: Tue May 26 09:50:37 PDT 1992
NOTES
1: Delete:
clim/output-recording-protocol.lisp
clim/output-recording-defs.lisp
CHANGES
-- Fixed scroll-extent so that copied region is correct, also so that
repaint is correctly clipped to newly visible region.
-- Added with-medium-clipping-region macro to support above.
-- Optimized s'more gcontext code and #||#ed out unused code.
-- Put in window-width,height,depth readers.
-- Moved setting of backing store to exposure callback.
-- Created new gcontext subclass to allow much faster adjust-ink.
-- Get rid of 'unknown event 4'.
-- Have draw-rotated-text null out gcontext clip mask cache.
-- Other minor cleanups & speedups.
--------------------------------------------------------------------------------
from jdi: Wed May 13 17:13:58 PDT 1992
Added print-object method for window-repaint-event
Optimize invoke-with-sheet-medium.
Made xm-proto-callback-info c-type be :in-foreign-space by default
since it is captured by C.
Made ':line-dashes t' work by fixing adjust-ink.
Optimized port-draw-* functions.
Optimized convert-to-device-* macros.
Added fast-abs macro to lisp-utilities. Do abs() assuming all fixnums.
Lots of other speedups.
Made object-display slot fixed index (0).
Fixed Lisp's slot-value-using-class macro to allow this
without having to heavily munge CLIM source.
Cached clip-mask in medium. Update it lazily when needed. Invalidate
it when necessary.
Cached clip-mask in medium, and medium in ink.
Only send a request to X when necessary.
Wrote lisp-xdrawstring.
Added XmMyDrawingArea (for lack of better name). It compresses
exposure events.
Made xid->object mapping be specialized per display.
Highly optimized set-values, get-values, and resource converters
Other misc stuff too boring to describe here.
Timings of:
(defun foo (port sheet)
(declare (optimize (speed 3) (safety 0)))
(dotimes (i 1000) (silica:mirror-region* port sheet)))
Where sheet is the application pane.
Original:
cpu time (non-gc) 1983 msec user, 34 msec system
cpu time (gc) 0 msec user, 0 msec system
cpu time (total) 1983 msec user, 34 msec system
real time 2030 msec
space allocation:
24010 cons cells, 0 symbols, 72096 other bytes,
After resource allocation and rework of get-values:
cpu time (non-gc) 1400 msec user, 33 msec system
cpu time (gc) 0 msec user, 0 msec system
cpu time (total) 1400 msec user, 33 msec system
real time 1450 msec
space allocation:
13002 cons cells, 0 symbols, 32 other bytes,
After caching whole sucker in class:
cpu time (non-gc) 583 msec user, 0 msec system
cpu time (gc) 0 msec user, 0 msec system
cpu time (total) 583 msec user, 0 msec system
real time 600 msec
space allocation:
4002 cons cells, 0 symbols, 32 other bytes,
--
Timings of:
(defun bar (viewport)
(declare (optimize (speed 3) (safety 0)))
(let ((vertbar (silica::scroller-pane-vertical-scroll-bar
(sheet-parent (sheet-parent viewport)))))
(dotimes (i 1000) (silica:change-scroll-bar-values vertbar :slider-size .8 :value .1))))
Where sheet is the viewport after the Gettysburg demo runs.
Original:
cpu time (non-gc) 2850 msec user, 66 msec system
cpu time (gc) 0 msec user, 0 msec system
cpu time (total) 2850 msec user, 66 msec system
real time 3000 msec
space allocation:
32010 cons cells, 0 symbols, 368096 other bytes,
After caching whole sucker in class:
cpu time (non-gc) 1300 msec user, 16 msec system
cpu time (gc) 0 msec user, 0 msec system
cpu time (total) 1300 msec user, 16 msec system
real time 1360 msec
space allocation:
11001 cons cells, 0 symbols, 256032 other bytes,
--------------------------------------------------------------------------------
from jdi: Tue Apr 21 16:45:10 PDT 1992
FILES MOVED OR CHANGED:
deleted:
xlib/xlib.lisp
tk/xtk.lisp
added:
tk/xt-defs.lisp
tk/xm-defs.lisp
tk/ol-defs.lisp
tk/ol-funs.lisp
--
IGNORE JDI SPECIFIC CHANGES TO Makefile
--
Turn on call counting and declared-fixnums-remain-fixnums when
compiling Clim.
-- misc/compile-1
Repoint scm links.
-- misc/dec-load-1
Make clim-small build work.
-- misc/load-xm
tk/xtk becomes tk/xt-defs. Added tk/xm-defs, tk/ol-defs, and tk/ol-funs.
-- sys/sysdcl
Renamed foreign functions consistently. All XT foreign functions
are named like:
xt_add_callback
OL and XM are similiar
-- lots
Moved all def-c-types to tk/??-defs files.
-- lots
Moved all defforeigns to tk/??-funs files.
Opencode some foreign functions (those that are used a lot)
Event loop reworked -- added wait-for-event function so you can
wait for an event before grabbing the event lock. Added event
locking so you can handle events synchronously.
Added code to grab certain matching events from the event queue.
-- get-event-matching-sequence-and-types
Added synchronous event handling to copy-area to handle graphics-
expose events.
Miscellaneous cleanup of gcontext code.
Made c-types be created in lisp space, unless they have to be in
C space.
Fixed lookup-string, encode-dashes, draw-polygon*, and other places
that called malloc to not call malloc -- either use resource or
make-vector.
Made drawing with simple opacities (of the foreground color) work.
Made port event handler restartable.
Integrated Sun's copyright
Lots of other stuff
This notice applies to all the files in this directory and all
subdirectories.
***********************************************************************
Copyright (c) 1985-2016 Franz, Inc.
Portions Copyright (c) 1990-1992 Symbolics, Inc.
Portions Copyright (c) 1988-1990 International Lisp Associates
Portions Copyright (c) 1991-1992 by Lucid, Inc.
Portions Copyright (c) 1989-1990 by Xerox Corporation
Portions Copyright (c) 1990-1992 by BBN Systems and Technologies
Portions Copyright (c) 1989-1991 Sun Microsystems, Inc.
Portions Copyright (c) 1985-1986 Bigelow & Holmes
Portions Copyright (c) 1986 Regents of the University of California
All rights reserved.
Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation, advertising
materials, and other materials related to such distribution and use
acknowledge that the software was developed by the organizations
listed above. The name of the organizations may not be used to endorse
or promote products derived from this software without specific prior
written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.
# $fiHeader: Makefile,v 1.74 93/02/10 10:04:04 cer Exp $
#
# Makefile.sun4 for CLIM 2.0
#
include Makefile.sun4
#
# Makefile.alpha for CLIM 2.0
include Makefile.defs
Makefile=Makefile.alpha
ifeq ($(SIXTYFOURBIT),yes)
CFLAGS = -O -G 0 -DAcl64Bit -resumption_safe
else
CFLAGS = -O -G 0 -taso -xtaso -xtaso_short -resumption_safe
endif
STD_DEFINES = -DDEC -DR5_XLIB -DSMT
AR = ar cqls
TKLIB=-lXm
XTLIB=-lXt
XLIB=-lX11
XINCLUDES=-I/usr/include
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
PICFLAGS =
SHAREFLAGS =
ifeq ($(SIXTYFOURBIT),yes)
MAKE_SHARED = sh ../src/bin/make_shared.dec64
else
MAKE_SHARED = sh ../src/bin/make_shared.dec
endif
include Makefile.generic
#
# Makefile.cobj for CLIM 2.0
#
# stub files - identify the required definitions from Xm,Ol,Xt,X11
stub-motif.c: $(XMC_UNDEFS) $(XM_UNDEFS) misc/make-stub-file misc/make-stub-file1
sh misc/make-stub-file "void ___lisp_load_motif_stub ()" \
$(XM_UNDEFS) > stub-motif.c
sh misc/make-stub-file1 "void ___lisp_load_motif_stub_vars ()" \
$(XMC_UNDEFS) >> stub-motif.c
stub-olit.c: $(OLC_UNDEFS) $(OL_UNDEFS) misc/make-stub-file misc/make-stub-file1
sh misc/make-stub-file "void ___lisp_load_olit_stub ()" \
$(OL_UNDEFS) > stub-olit.c
sh misc/make-stub-file1 "void ___lisp_load_olit_stub_vars ()" \
$(OLC_UNDEFS) >> stub-olit.c
stub-xt.c: $(XT_UNDEFS) misc/make-stub-file
sh misc/make-stub-file "void ___lisp_load_xt_stub ()" \
$(XT_UNDEFS) > stub-xt.c
stub-x.c: $(UNDEFS) misc/make-stub-file
sh misc/make-stub-file "void ___lisp_load_x_stub ()" \
$(UNDEFS) > stub-x.c
stub-wnn.c: $(WNN_UNDEFS) misc/make-stub-file
sh misc/make-stub-file "void ___lisp_load_wnn_stub ()" \
$(WNN_UNDEFS) > stub-wnn.c
# support files - CLIM's C source files
xmsupport.o : misc/xmsupport.c misc/climgccursor.c \
misc/MyDrawingA.c misc/MyDrawingA.h misc/MyDrawingAP.h
$(CC) -c $(PICFLAGS) $(CFLAGS) $(XINCLUDES) \
-o xmsupport.o misc/xmsupport.c
olsupport.o: misc/olsupport.c misc/climgccursor.c
$(CC) -c $(PICFLAGS) $(CFLAGS) $(XINCLUDES) \
-o olsupport.o misc/olsupport.c
xtsupport.o : misc/xtsupport.c
$(CC) -c $(PICFLAGS) $(CFLAGS) $(XINCLUDES) \
-o xtsupport.o misc/xtsupport.c
xlibsupport.o : xlib/xlibsupport.c
$(CC) -c $(PICFLAGS) $(CFLAGS) $(XINCLUDES) \
-o xlibsupport.o xlib/xlibsupport.c
# .so's made from above support files (for dynamic loading)
climxm.$(SHARED_EXT): xlibsupport.o xtsupport.o xmsupport.o $(IMPORTS)
(eval '$(SET_LIBRARY_PATH)' ; \
$(MAKE_SHARED) $(SHAREFLAGS) -o climxm.$(SHARED_EXT) \
xlibsupport.o xtsupport.o xmsupport.o $(THREADLIB) \
$(IMPORTS) $(TKLIB) $(XTLIB) $(XLIB) $(MOTIFXTRAS))
# climxm.sl: xlibsupport.o xtsupport.o xmsupport.o $(IMPORTS)
# (eval '$(SET_LIBRARY_PATH)' ; \
# $(MAKE_SHARED) $(SHAREFLAGS) -o climxm.sl \
# xlibsupport.o xtsupport.o xmsupport.o \
# $(IMPORTS) $(TKLIB) $(XTLIB) $(XLIB) $(MOTIFXTRAS))
climol.$(SHARED_EXT): xlibsupport.o xtsupport.o olsupport.o $(IMPORTS)
(eval '$(SET_LIBRARY_PATH)' ; \
$(MAKE_SHARED) $(SHAREFLAGS) -o climol.$(SHARED_EXT) \
xlibsupport.o xtsupport.o olsupport.o \
$(IMPORTS) $(TKLIB) $(XTLIB) $(XLIB))
# climol.sl: xlibsupport.o xtsupport.o olsupport.o $(IMPORTS)
# (eval '$(SET_LIBRARY_PATH)' ; \
# $(MAKE_SHARED) $(SHAREFLAGS) -o climol.sl \
# xlibsupport.o xtsupport.o olsupport.o \
# $(IMPORTS) $(TKLIB) $(XTLIB) $(XLIB))
# mainxm.o contains foreign code from the libraries X11,Xt and Xm
# required by Motif version of CLIM statically linked
makemainxm: $(ACL_MAIN_OBJ) $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS)
(eval '$(SET_LIBRARY_PATH)' ; \
ld -r $(LDFLAGS) -o $(MAIN_OBJ) \
$(ACL_MAIN_OBJ) \
stub-xt.o stub-x.o stub-motif.o \
$(TKLIB) $(XTLIB) $(XLIB) $(MOTIFXTRAS))
# Here's the deal on the CLIM cobjs. (cim 3/13/96)
#
# 1. Objects that contain CLIM's C support code. When building a CLIM image
# these should always be linked in to the initial executable if possible.
# NB they are still required even if mainxm.o is being used.
#
# xtsupport.o
# xlibsupport.o
# xmsupport.o
#
# If they're not linked in then when climxm is loaded they will be
# loaded individually or in the case of dlfcn
#
# climxm.$(SHARED_EXT)
#
# (a shared library made from all of the above) will be loaded.
#
# 2. Stub files that define what we need from the X libraries -
#
# stub-xt.o
# stub-x.o
# stub-motif.o
#
# These also should always be linked in to the initial executable if
# possible. They are not required if mainxm.o is being used but using
# them will not do any harm as long as
#
# 3. All of the required functionality from the X libraries put into a
# single .o (with main for licensing restrictions on SunOS)
#
# mainxm.o
# ics_mainxm.o
#
# ics_mainxm.o is identical to mainxm.o except that it's built from a
# ci/main.o rather than a c/main.o
#
# in the distn
# mainxm.o -> dist-clim2/build/c/mainxm.o
# ics_mainxm.o -> dist-clim2-ics/build/ci/mainxm.o
#
# This needs to be used where the libraries are not available on the
# machine on which CLIM is being installed. If this is not available
# then the 3 stub files must be used.
#
# 4. Stub files + library for wnn
#
# stub-wnn.o
# libwnn.a
#
# Use both of these in creating the initial executable - the stub-wnn.o
# must come before the libwnn.a in the list of cobjs.
#
# On dlfcn we _have_ to link into the initial executable because we
# don't currently have a shared version of libwnn
# $fiHeader: Makefile.dec3100,v 1.1 93/03/01 14:26:06 cer Exp $
#
# Makefile.dec3100 for CLIM 2.0
#
include Makefile.defs
MOTIFLIB=/usr/lib/DXM/lib/Xm/libXm.a
MOTIFLIB_d=/usr/lib/DXM/lib/Xm/libXm.a
Makefile=Makefile.dec3100
TKLIB=/usr/lib/DXM/lib/Xm/libXm.a
XTLIB=/usr/lib/DXM/lib/Xt/libXt.a
XLIB=/usr/lib/libX11.a
MV=mv
XINCLUDES=-I/usr/lib/DXM/lib -I/usr/lib/DXM/lib/Xt
TMP=.
CLIM_FASLS_TO_MAKE = makeclimxmfasls
CLIMOBJS=$(GENERIC_PUBLIC_OBJS) $(XM_PUBLIC_OBJS) $(XM_LICENSED_OBJS)
CLIMFASLS= $(CLIM_XM_FASLS) $(CLIM_GENERIC_FASLS)
INSTALLED_CLIMOBJS=$(GENERIC_PUBLIC_OBJS) $(XM_PUBLIC_OBJS) $(XM_LICENSED_OBJS)
include Makefile.generic
This diff is collapsed.
include Makefile.defs
Makefile=Makefile.freebsd
XINCLUDES=-I/usr/X11R6/include -I /usr/local/include
TKLIB=-lXm -lXpm -lXext -lXp
XTLIB=-lXt -lSM -lICE
XLIB=-lX11
SET_LIBRARY_PATH = LD_RUN_PATH=/usr/X11R6/lib:/lib:/usr/lib:/usr/local/lib; export LD_RUN_PATH
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
#MOTIFXTRAS=-lgen
PICFLAGS = -fPIC -DPIC
SHAREFLAGS =
MAKE_SHARED = ld -Bshareable -Bdynamic -L/usr/X11R6/lib -L/usr/local/lib
STD_DEFINES =
AR = ar cq
include Makefile.generic
# $fiHeader: Makefile.generic,v 1.6 93/04/02 18:40:38 cer Exp $
#
# Makefile.generic for CLIM 2.0
#
default: all-xm
trained-clim-xm:
(${make} all-xm train ; ${make} clim-xm)
trained-clim-ol:
(${make} all-ol train ; ${make} clim-ol)
all-xm: compile-xm cat-xm clim-xm
all-ol: compile-ol cat-ol clim-ol
compile-xm: $(MOTIF_OBJS) FORCE
$(ECHO) "\
(si::system-compile-wrapper \
(function \
(lambda () \
(setq *compile-print* $(COMPILE_PRINT)) \
(setq sys::*libxt-pathname* \"$(XTLIB)\") \
(setq sys::*libx11-pathname* \"$(XLIB)\") \
(setq sys::*clim-motif-pathname* \"clim-motif$(DEBUGLIB).o\") \
(load \"misc/compile-1.lisp\") \
(compile-it 'motif-clim))) \
:speed $(SPEED) :debug $(DEBUG) :safety $(SAFETY) \
:record-source-file-info $(RECORD_SOURCE_FILE_INFO) \
:record-xref-info $(RECORD_XREF_INFO) \
:compile-print nil :compile-verbose nil \
:redefinition-warnings t :gcprint nil)" | $(CL) $(CLOPTS) -batch
compile-ol: $(OPENLOOK_OBJS) FORCE
$(ECHO) "\
(si::system-compile-wrapper \
(function \
(lambda () \
(setq *compile-print* $(COMPILE_PRINT)) \
(setf excl:*load-xref-info* $(LOAD_XREF_INFO)) \
(setq sys::*libxt-pathname* \"$(OLXTLIB)\") \
(setq sys::*libx11-pathname* \"$(OLXLIB)\") \
(setq sys::*clim-olit-pathname* \"clim-olit$(DEBUGLIB).o\") \
(setq *ignore-package-name-case* t) \
(set-case-mode :case-insensitive-lower) \
(load \"misc/compile-1.lisp\") \
(compile-it 'openlook-clim))) \
:speed $(SPEED) :debug $(DEBUG) :safety $(SAFETY) \
:record-source-file-info $(RECORD_SOURCE_FILE_INFO) \
:record-xref-info $(RECORD_XREF_INFO) \
:compile-print nil :compile-verbose nil \
:redefinition-warnings t :gcprint nil)" | $(CL) $(CLOPTS) -batch
all: compile cat # $(CLIM)
makeclimfasls: compile cat
ifneq ($(OS_NAME),windows)
compile_depends = wnn.$(SHARED_EXT)
endif
ifeq ($(OS_NAME),windows)
build_runlisp_args = -o build.out
concat_runlisp_args = -o concat.out
endif
compile: FORCE $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS) $(compile_depends)
rm -f build.tmp
echo '(setq sys::*libtk-pathname* "$(TKLIB)")' >> build.tmp
echo '(setq sys::*libxt-pathname* "$(XTLIB)")' >> build.tmp
echo '(setq sys::*libx11-pathname* "$(XLIB)")' >> build.tmp
echo '(setq sys::*libwnn-pathname* "$(WNNLIB)")' >> build.tmp
echo '(load "misc/compile-1.lisp")' >> build.tmp
echo '(declaim (optimize (speed $(SPEED)) (debug $(DEBUG)) (safety $(SAFETY))))' >> build.tmp
echo '(setq *compile-print* $(compile_print))' >> build.tmp
echo '(setq *compile-verbose* $(compile_verbose))' >> build.tmp
echo '(setq excl::*warn-smp-usage* nil)' >> build.tmp
echo '(setq excl:*redefinition-warnings* $(redef_warning))' >> build.tmp
echo '(setq excl:*record-source-file-info* $(RECORD_SOURCE_FILE_INFO))' >> build.tmp
echo '(setq comp:save-local-names-switch $(SAVE_LOCAL_NAMES))' >> build.tmp
echo '(setq comp:save-source-level-debug-info-switch $(SAVE_SOURCE_DEBUG))' >> build.tmp
echo '(setq excl:*load-local-names-info* $(LOAD_LOCAL_NAMES_INFO))' >> build.tmp
echo '(setq excl:*load-source-file-info* $(LOAD_SOURCE_FILE_INFO))' >> build.tmp
echo '(setq excl:*record-xref-info* $(RECORD_XREF_INFO))' >> build.tmp
echo '(setq excl:*load-xref-info* $(LOAD_XREF_INFO))' >> build.tmp
echo '(setf (sys:gsgc-switch :print) $(gc_print))' >> build.tmp
echo '(compile-it (quote $(SYSTEM)))' >> build.tmp
echo '(exit 0)' >> build.tmp
(eval '$(SET_LIBRARY_PATH)'; \
bash ../src/runlisp.sh -f build.tmp $(build_runlisp_args) \
$(CL) $(CLOPTS))
# Concatenation
cat: cat-xm cat-ol
cat-g: climg.fasl clim-debug.fasl climps.fasl climgg.fasl climhpgl.fasl # clim1compat.fasl
cat-xm: cat-g climxm.fasl clim-debugxm.fasl
cat-ol: cat-g climol.fasl clim-debugol.fasl
climg.fasl : $(GENERIC-OBJS) $(XLIB-CLIM-OBJS)
$(CAT) $(GENERIC-OBJS) $(XLIB-CLIM-OBJS) > $(TMP)/clim.fasl_`whoami`
$(MV) $(TMP)/clim.fasl_`whoami` climg.fasl
ls -lt climg.fasl >> Clim-sizes.n
ls -lt climg.fasl
climgg.fasl : $(GENERIC-GADGETS)
$(CAT) $(GENERIC-GADGETS) > $(TMP)/clim.fasl_`whoami`
$(MV) $(TMP)/clim.fasl_`whoami` climgg.fasl
ls -lt climgg.fasl >> Clim-sizes.n
ls -lt climgg.fasl
climxm.fasl : $(MOTIF-OBJS) $(XLIB-CLIM-OBJS)
$(CAT) $(MOTIF-OBJS) > $(TMP)/clim.fasl_`whoami`
$(MV) $(TMP)/clim.fasl_`whoami` climxm.fasl
ls -lt climxm.fasl >> Clim-sizes.n
ls -lt climxm.fasl
climol.fasl : $(OPENLOOK-OBJS)
$(CAT) $(OPENLOOK-OBJS) > $(TMP)/clim.fasl_`whoami`
$(MV) $(TMP)/clim.fasl_`whoami` climol.fasl
ls -lt climol.fasl >> Clim-sizes.n
ls -lt climol.fasl
echo-fasls:
ls -lt $(MOTIF-OBJS) > /tmp/foo
clim-debug.fasl: $(DEBUG-OBJS)
$(CAT) $(DEBUG-OBJS) > $(TMP)/clim-debug.fasl_`whoami`
$(MV) $(TMP)/clim-debug.fasl_`whoami` clim-debug.fasl
ls -lt clim-debug.fasl >> Clim-sizes.n
ls -lt clim-debug.fasl
clim-debugxm.fasl: $(XM-DEBUG-OBJS)
$(CAT) $(XM-DEBUG-OBJS) > $(TMP)/clim-debugxm.fasl_`whoami`
$(MV) $(TMP)/clim-debugxm.fasl_`whoami` clim-debugxm.fasl
ls -lt clim-debugxm.fasl >> Clim-sizes.n
ls -lt clim-debugxm.fasl
clim-debugol.fasl: $(OL-DEBUG-OBJS)
$(CAT) $(OL-DEBUG-OBJS) > $(TMP)/clim-debugol.fasl_`whoami`
$(MV) $(TMP)/clim-debugol.fasl_`whoami` clim-debugol.fasl
ls -lt clim-debugol.fasl >> Clim-sizes.n
ls -lt clim-debugol.fasl
climps.fasl: $(POSTSCRIPT_CLIM)
$(CAT) $(POSTSCRIPT_CLIM) > $(TMP)/climps.fasl_`whoami`
$(MV) $(TMP)/climps.fasl_`whoami` climps.fasl
climhpgl.fasl : $(HPGL_OBJS)
$(CAT) $(HPGL_OBJS) > $(TMP)/climhpgl.fasl_`whoami`
$(MV) $(TMP)/climhpgl.fasl_`whoami` climhpgl.fasl
clim1compat.fasl : $(CLIM1COMPAT)
$(CAT) $(CLIM1COMPAT) > $(TMP)/clim1compat.fasl_`whoami`
$(MV) $(TMP)/clim1compat.fasl_`whoami` clim1compat.fasl
ls -lt clim1compat.fasl >> Clim-sizes.n
ls -lt clim1compat.fasl
# We should only run these rules when
# We do this because we because we might have only compiled one port
tk/xm-defs.fasl : tk/xm-defs.lisp
echo Foo
# Building
clim-xm: FORCE $(MOTIF_OBJS)
-$(RM) -f $(CLIMXM)
$(ECHO) " \
(setq sys::*libxt-pathname* \"$(XTLIB)\") \
(setq sys::*libx11-pathname* \"$(XLIB)\") \
(setq sys::*clim-motif-pathname* \"clim-motif$(DEBUGLIB).o\") \
(load \"misc/dev-load-1.lisp\") \
(load-it 'motif-clim) \
(setq sys::*clim-dump-name* \"$(DUMP-CLIM)\") \
(load \"misc/dump.lisp\")" | $(DUMP-CL) $(CLOPTS) -batch
$(MV) $(DUMP-CLIM) $(CLIMXM)
ls -lLt $(CLIMXM) >> Clim-sizes.n
size $(CLIMXM) >> Clim-sizes.n
ls -lLt $(CLIMXM)
echo CLIM-XM built!!!!
clim-ol: FORCE $(OPENLOOK_OBJS)
-$(RM) -f $(CLIMOL)
$(ECHO) " \
(setq sys::*libxt-pathname* \"$(OLXTLIB)\") \
(setq sys::*libx11-pathname* \"$(OLXLIB)\") \
(setq sys::*clim-olit-pathname* \"clim-olit$(DEBUGLIB).o\") \
(load \"misc/dev-load-1.lisp\") \
(load-it 'openlook-clim) \
(setq sys::*clim-dump-name* \"$(DUMP-CLIM)\") \
(load \"misc/dump.lisp\")" | $(DUMP-CL) $(CLOPTS) -batch
$(MV) $(DUMP-CLIM) $(CLIMOL)
ls -lLt $(CLIMOL) >> Clim-sizes.n
size $(CLIMOL) >> Clim-sizes.n
ls -lLt $(CLIMOL)
echo CLIM-OL built!!!!
clim-small: FORCE
cat: compile
rm -f cat.tmp
echo '(load "misc/compile-1.lisp")' >> cat.tmp
echo '(setf (sys:gsgc-switch :print) $(gc_print))' >> cat.tmp
echo '(concatenate-it (quote $(SYSTEM)))' >> cat.tmp
echo '(exit 0)' >> cat.tmp
(eval '$(SET_LIBRARY_PATH)'; \
bash ../src/runlisp.sh -f cat.tmp $(concat_runlisp_args) \
$(CL) $(CLOPTS))
ls -lt $(PRODUCT-FASLS) $(ICS-PRODUCT_FASLS) >> Clim-sizes.n
ls -lt $(PRODUCT-FASLS) $(ICS-PRODUCT_FASLS)
$(PRODUCT-FASLS) $(ICS-PRODUCT_FASLS): cat
# Building (loading and dumping)
# It is VERY important not to side-effect
# logical-pathname-translations-database-pathnames in the building phase of
# clim*.dxl. The reason: this change is propagated to delivered images,
# which is very bad. Mostly, it's bad for testing because usually the
# value of (current-directory) below is accessible during testing and it is
# the wrong thing (we always want sys:hosts.cl to be used when testing a
# distribution that users will get).
$(CLIM): FORCE $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS)
-$(RM) -f $(CLIM)
(eval '$(SET_LIBRARY_PATH)' ; \
$(ECHO) " \
(load \"misc/load-xm.lisp\") \
(setq sys::*clim-dump-name* \"$(DUMP-CLIM)\") \
(load \"misc/dump.lisp\")" | $(DUMP-CL) $(CLOPTS) -batch
$(MV) $(DUMP-CLIM) $(CLIM-SMALL)
ls -lt $(CLIM-SMALL) >> Clim-sizes.n
size $(CLIM-SMALL) >> Clim-sizes.n
ls -lt $(CLIM-SMALL)
(progn \
(generate-application \
\"$(CLIM)\" \"./\" \
nil \
:pre-load-form \
(quote \
(progn \
(setq sys::*libtk-pathname* \"$(TKLIB)\") \
(setq sys::*libxt-pathname* \"$(XTLIB)\") \
(setq sys::*libx11-pathname* \"$(XLIB)\") \
(setq sys::*libwnn-pathname* \"$(WNNLIB)\") \
(excl:set-case-mode $(CASE_MODE)) \
(load \"misc/dev-load-1.lisp\") \
(load-it '$(SYSTEM)))) \
:autoload-warning nil \
:image-only t \
:purify t \
:debug-on-error t \
:internal-debug \"build-clim.out\" \
:shlib-warning nil \
:libfasl-warning nil \
:record-source-file-info $(RECORD_SOURCE_FILE_INFO) \
:load-source-file-info $(LOAD_SOURCE_FILE_INFO) \
:record-xref-info $(RECORD_XREF_INFO) \
:load-xref-info $(LOAD_XREF_INFO) \
:discard-local-name-info t \
:discard-source-file-info t \
:discard-xref-info t) \
(exit 0))" | $(CL) $(CLOPTS))
@ls -lLt $(CLIM) >> Clim-sizes.n
@ls -lLt $(CLIM)
@echo $(SYSTEM) built!!!!
# Training
train : FORCE
$(TRAIN_TEXT)
benchmark:
$(ECHO) "\
(clim-user::benchmark-clim $(BENCHMARK_FILE)) \
" | $(CLIM) $(CLOPTS) -batch
testps :
$(ECHO) "\
train: FORCE
(eval '$(SET_LIBRARY_PATH)' ; \
$(ECHO) " \
(progn \
(load \"misc/train.lisp\") \
(train-clim :frame-tests $(FRAME_TESTS) :train-times $(TRAIN_TIMES) \
:benchmarkp $(TRAIN_BM) :profilep $(TRAIN_PROFILEP) \
:compile $(TRAIN_COMPILE) :psview $(PSVIEW) \
:hpglview $(HPGLVIEW)))" \
| $(LISP) -I $(CLIM) $(CLOPTS))
echo $(SYSTEM) trained!!!!
# the following two rules are used by make-dist so that we don't have
# to build a slim image to run the test suite
load-train: FORCE
(eval '$(SET_LIBRARY_PATH)' ; \
$(ECHO) " \
(setq sys::*libtk-pathname* \"$(TKLIB)\") \
(setq sys::*libxt-pathname* \"$(XTLIB)\") \
(setq sys::*libx11-pathname* \"$(XLIB)\") \
(setq sys::*libwnn-pathname* \"$(WNNLIB)\") \
(load \"misc/dev-load-1.lisp\") \
(load-it '$(SYSTEM)) \
(load \"misc/train.lisp\") \
(train-clim :frame-tests $(FRAME_TESTS) :train-times $(TRAIN_TIMES) \
:benchmarkp $(TRAIN_BM) :profilep $(TRAIN_PROFILEP) \
:compile $(TRAIN_COMPILE) :psview $(PSVIEW) \
:hpglview $(HPGLVIEW) :report-file \"$(REPORT_FILE)\") \
(clim-test::generate-pretty-test-report :file \"$(REPORT_FILE)\")" \
| $(LISP) -I $(CLIM) $(CLOPTS))
generate_test_report: FORCE
($(ECHO) " \
(clim-test::generate-pretty-test-report :file \"$(REPORT_FILE)\")" \
| $(LISP) -I $(CLIM) $(CLOPTS))
profile: FORCE
($(ECHO) " \
(clim-user::run-profile-clim-tests)" \
| $(LISP) -I $(CLIM) $(CLOPTS))
benchmark: FORCE
($(ECHO) " \
(clim-test::benchmark-clim $(BENCHMARK_FILE))" \
| $(LISP) -I $(CLIM) $(CLOPTS))
testps: FORCE
($(ECHO) " \
(load \"test/postscript-tests.lisp\") \
(clim-user::run-postscript-tests :output $(PSVIEW)) \
" | $(CLIM) $(CLOPTS) -batch
echo-train:
-$(ECHO) "$(TRAIN_LISP)"
(clim-user::run-postscript-tests :output $(PSVIEW))" \
| $(LISP) -I $(CLIM) $(CLOPTS))
# Misc
cleanobjs:
rm -f $(CLIMOBJS) stub-motif.o stub-olit.o
clean:
find $(DIRS) -name "*.fasl" -print | xargs rm -f ; rm -f $(CLIMFASLS) \
$(CLIMOBJS) stub-motif.o stub-olit.o slim slim-small
rm -f *.o
cleanfasls: FORCE
find . -name '*.fasl' -print | xargs rm -f
cheapclean:
find $(CHEAP_CLEAN) -name "*.fasl" -print | xargs rm -f
clean:
rm -f *.out *.tmp
find . -name '*.fasl' -print | xargs rm -f
rm -f *.o *.$(SHARED_EXT) *.a slim \
stub-motif.c stub-olit.c stub-xt.c stub-x.c stub-wnn.c
rm -f *.z *.Z *.gz *.ilt so_locations
rm -f *.pll *.dxl
clean-notes:
cd notes; find . -name '*.lisp' -print | xargs rm -f
tags:
$(TAGS) $(ALL_SRC)
tags: FORCE
rm -f TAGS
find . -name '*.lisp' -print | xargs $(TAGS) -a
wc:
wc $(ALL_SRC)
swm-tape:
tar cf $(DEVICE) `find $(PUBDIRS) '(' -name "*.cl" -o -name "*.lisp" ')' -print`
dist: FORCE
tar -cf - $(SRC_FILES) | compress > Dist/src.tar.Z
rcscheck:
rcscheck $(DIRS) | grep -v .fasl
FORCE:
################## Make-dist stuff
makeclimfasls : $(CLIM_FASLS_TO_MAKE)
makeclimxmfasls : compile-xm cat-xm
makeclimolfasls : compile-ol cat-ol
install_clim :
cp $(CLIMFASLS) $(DEST)
cp $(INSTALLED_CLIMOBJS) $(DEST)
echo_XTLIB:
@echo $(XTLIB)
# Link in the libraries & distribution object files with standard names
echo_XLIB:
@echo $(XLIB)
link-objects :
ln -s $(XTLIB) $(DEST)/libXt.a
ln -s $(XLIB) $(DEST)/libX11.a
# ln -s $(INSTALLED_CLIMOBJS) $(DEST)
echo_TKLIB:
@echo $(TKLIB)
# Backwards compatibility...
link-motif-libraries: link-objects
echo_WNNLIB:
@echo $(WNNLIB)
echo_src_files:
@ls $(SRC_FILES) | cat
makeclimobjs : $(CLIMOBJS)
makeclimobjs: $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS)
################## Lower level Makefile stuff
install_obj:
cp $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS) $(DEST)
install_clim: install_obj
cp $(PRODUCT-FASLS) $(ICS-PRODUCT-FASLS) $(DEST)
ol-dcl : stub-x.o stub-xt.o clim-olit.o xlibsupport.o olsupport.o xtsupport.o $(MALLOCOBJS)
cd $(CL_SRC) ; /bin/rm -f ucl ;\
make initial_oldspace=$(OLDSPACE) oldspace=$(OLDSPACE) newspace=$(NEWSPACE) premallocs=$(PREMALLOCS) ucl_xtras='$(PWD)/stub-x.o $(PWD)/stub-xt.o $(PWD)/clim-olit.o $(PWD)/xlibsupport.o $(PWD)/olsupport.o $(PWD)/xtsupport.o $(COMPOSEROBJS) $(MALLOCOBJS) $(OLXLIBS)' dcl
xm-dcl : stub-x.o stub-xt.o clim-motif.o xlibsupport.o xtsupport.o MyDrawingA.o $(MALLOCOBJS)
cd $(CL_SRC) ; /bin/rm -f ucl ;\
make initial_oldspace=$(OLDSPACE) oldspace=$(OLDSPACE) newspace=$(NEWSPACE) premallocs=$(PREMALLOCS) ucl_xtras='$(PWD)/stub-x.o $(PWD)/stub-xt.o $(PWD)/clim-motif.o $(PWD)/xlibsupport.o $(PWD)/MyDrawingA.o $(PWD)/xtsupport.o $(COMPOSEROBJS) $(MOTIFLIB) $(MALLOCOBJS) $(XTLIB) $(XLIB) $(XMDCLXTRAS)' dcl
dcl :
cd $(CL_SRC) ; /bin/rm -f ucl ;\
make dcl
clim-motif.o : stub-motif.o stub-xt.o $(MOTIFLIB)
ld -r $(LDFLAGS) -o clim-motif.o stub-motif.o stub-xt.o $(MOTIFXTRAOS) $(MOTIFLIB)
clim-olit.o : stub-olit.o stub-xt.o $(LIBXOL)
ld -r $(LDFLAGS) -o clim-olit.o stub-olit.o stub-xt.o $(LIBXOL)
clim-motif_d.o : stub-motif.o stub-xt.o $(MOTIFLIB_d)
ld -r $(LDFLAGS) -o clim-motif_d.o stub-motif.o stub-xt.o $(MOTIFXTRAOS) $(MOTIFLIB_d)
clim-olit_d.o : stub-olit.o stub-xt.o $(LIBXOL_d)
ld -r $(LDFLAGS) -o clim-olit_d.o stub-olit.o stub-xt.o $(LIBXOL_d)
stub-motif.c : $(XT_UNDEFS) $(XMC_UNDEFS) $(XM_UNDEFS) misc/make-stub-file misc/make-stub-file1
misc/make-stub-file "void ___lisp_load_motif_stub ()" $(XT_UNDEFS) $(XM_UNDEFS) > /tmp/`whoami`stub-motif.c
misc/make-stub-file1 "void ___lisp_load_motif_stub_vars ()" $(XMC_UNDEFS) >> /tmp/`whoami`stub-motif.c
$(MV) /tmp/`whoami`stub-motif.c stub-motif.c
stub-olit.c : $(XT_UNDEFS) $(OL_UNDEFS) misc/make-stub-file misc/make-stub-file1
misc/make-stub-file "void ___lisp_load_olit_stub ()" $(OL_UNDEFS) > /tmp/`whoami`stub-olit.c
misc/make-stub-file1 "void ___lisp_load_olit_stub_vars ()" $(OLC_UNDEFS) >> /tmp/`whoami`stub-olit.c
$(MV) /tmp/`whoami`stub-olit.c stub-olit.c
stub-x.c : $(UNDEFS) $(OL_UNDEFS) misc/make-stub-file
misc/make-stub-file "void ___lisp_load_x_stub ()" $(UNDEFS) > stub-x.c
stub-xt.c : $(XT_UNDEFS) misc/make-stub-file
misc/make-stub-file "void ___lisp_load_xt_stub ()" $(XT_UNDEFS) > stub-xt.c
xlibsupport.o : xlib/xlibsupport.c
$(CC) -c $(CFLAGS) -o xlibsupport.o xlib/xlibsupport.c
xtsupport.o: misc/xtsupport.c
$(CC) -c $(CFLAGS) $(XTSUPPORTINCLUDES) -o xtsupport.o misc/xtsupport.c
MyDrawingA.o: misc/MyDrawingA.c
$(CC) -c $(CFLAGS) -o MyDrawingA.o misc/MyDrawingA.c
olsupport.o: misc/olsupport.c
$(CC) -c $(CFLAGS) -o olsupport.o misc/olsupport.c
FORCE :
xm-composer : xm-dcl
cd /usr/composer2 ; make CL=$(CL) rebuild-c2
ol-composer : ol-dcl
cd /usr/composer2 ; make CL=$(CL) rebuild-c2
include Makefile.cobjs
include Makefile.wnn
FORCE:
#
# Makefile.hpprism for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.hp64
SET_LIBRARY_PATH = \
LD_LIBRARY_PATH=/usr/lib/pa20_64:/lib:/usr/lib:$(LD_LIBRARY_PATH); export LD_LIBRARY_PATH
STD_DEFINES = -DSYSV
AR = ar clq
#TKLIB=-lXm
TKLIB=/usr/lib/pa20_64/libXm.4 /usr/lib/pa20_64/libXp.2 /usr/lib/pa20_64/libXext.3
XTLIB=/usr/lib/pa20_64/libXt.3 /usr/lib/pa20_64/libSM.2 /usr/lib/pa20_64/libICE.2
XLIB=/usr/lib/pa20_64/libX11.3
XINCLUDES=
CC= /usr/bin/cc
CFLAGS= -O -Ae +DA2.0W -DAcl64Bit
MOTIFXTRAS=-lc
PICFLAGS = +Z
SHAREFLAGS =
MAKE_SHARED = ld -b +s
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
include Makefile.generic
#
# Makefile.hpprism for CLIM 2.0
#
include Makefile.defs
SHARED_EXT = sl
SHARED-XM-OBJS= climxm.sl
SHARED-OL-OBJS= climol.sl
Makefile=Makefile.hpprism
SET_LIBRARY_PATH = \
LPATH=/lib/pa1.1:/lib:/usr/lib:$(LPATH); export LPATH
#CL=../src/xm-dcl
STD_DEFINES = -DSYSV
AR = ar clq
#TKLIB=-lXm
TKLIB=/lib/libXm.1
XTLIB=-lXt
XLIB=-lX11
XINCLUDES=
CC= /usr/bin/cc
CFLAGS= -O -Ae +DA1.1
MOTIFXTRAS=-lc
PICFLAGS = +Z
SHAREFLAGS =
MAKE_SHARED = ld -b
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
include Makefile.generic
include Makefile.defs
Makefile=Makefile.linuxppc
XINCLUDES=-I/usr/X11R6/include
TKLIB=-lXm -lXpm -lXext -lXp
XTLIB=-lXt -lSM -lICE
XLIB=-lX11
SET_LIBRARY_PATH = LD_RUN_PATH=/usr/X11R6/lib:/lib:/usr/lib:/usr/local/lib; export LD_RUN_PATH
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
#MOTIFXTRAS=-lgen
PICFLAGS = -fPIC
SHAREFLAGS =
MAKE_SHARED = ld -shared -L/usr/X11R6/lib -L/usr/local/lib
STD_DEFINES = -DSVR4 -DSYSV
AR = ar cq
include Makefile.generic
#
# Makefile.macosx for CLIM 2.0
#
include Makefile.defs
SHARED_EXT = dylib
SHARED-XM-OBJS= climxm.dylib
SHARED-OL-OBJS= climol.dylib
Makefile=Makefile.macosx
# removed /usr/local/lib:
SET_LIBRARY_PATH =
#CL=../src/xm-dcl
# Since the linker hard-codes the truenames of these libraries and
# loading climxm.dylib fails when users attempt to load it with the
# files missing, we use -weak-l and preload the libraries (see
# tk/load-xm.lisp):
TKLIB=-L/opt/local/lib -L/usr/local/lib -weak-lXm
XTLIB=-L/usr/X11/lib -weak-lXt
XLIB=-weak-lX11
XINCLUDES=-I/usr/X11R6/include -I/opt/local/include -I/usr/local/include
ifeq ($(SIXTYFOURBIT),yes)
CFLAGS = -arch x86_64 -DAcl64Bit
MAKE_SHARED = ld -arch x86_64 -bundle /usr/lib/bundle1.o -force_cpusubtype_ALL -flat_namespace
else
ifeq ($(MACHINE),x86)
CFLAGS= -arch i386
MAKE_SHARED = ld -arch i386 -bundle /usr/lib/bundle1.o -force_cpusubtype_ALL -flat_namespace
else
CFLAGS=
MAKE_SHARED = ld -bundle /usr/lib/bundle1.o -force_cpusubtype_ALL -flat_namespace
endif
endif
PICFLAGS =
SHAREFLAGS =
AR = ar cq
# Make sure the wnn build is happy:
REDHATLIBS = -lc
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
IMPORTS = stub-x.o stub-xt.o stub-motif.o
include Makefile.generic
#
# Makefile.rs6000 for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.power64
## For info on Motif1.2 vs Motif 2.1, see /usr/lpp/X11/README
##
CFLAGS = -q64 -DAcl64Bit -O -D_BSD -I/usr/include/Motif1.2
### the R5 directory contains Motif 1.2 on loveshaq
### -- what a botch. Can't use the latest X11 just because we want
### to use an older Motif! How I love AIX.... not!
SET_LIBRARY_PATH= \
LIBPATH=/usr/lpp/X11/lib/R6:/lib:/usr/lib; export LIBPATH; env
TKLIB=-L/usr/lpp/X11/lib/R6/Motif2.1 -lXm
XTLIB=-lXt
XLIB=-lX11
XINCLUDES= -I/usr/include/Motif2.1
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
MAKE_SHARED = sh ../src/bin/make_shared.ibm64 -make_exp ../src/bin/make_exp
STD_DEFINES =
AR = ar -X64 clq
# This should be defined in make-dist. For CLIM devel (ie making
# slim images) we use climdcl-devel and don't use the shared library
IMPORTS = stub-x.o stub-xt.o stub-motif.o ../src/lisp.exp
stubs = c2stubs
include Makefile.generic
#
# Makefile.rs6000 for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.rs6000
## For info on Motif1.2 vs Motif 2.1, see /usr/lpp/X11/README
CFLAGS = -O -D_BSD -I/usr/include/Motif2.1
SET_LIBRARY_PATH= \
LIBPATH=/usr/lpp/X11/lib/R6:/lib:/usr/lib; export LIBPATH; env
TKLIB=-L/usr/lpp/X11/lib/R6 -lXm
XTLIB=-lXt
XLIB=-lX11
XINCLUDES= -I/usr/include/Motif2.1
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
MAKE_SHARED = sh ../src/bin/make_shared.ibm -make_exp ../src/bin/make_exp
STD_DEFINES =
AR = ar clq
# This should be defined in make-dist. For CLIM devel (ie making
# slim images) we use climdcl-devel and don't use the shared library
IMPORTS = stub-x.o stub-xt.o stub-motif.o ../src/lisp.exp
stubs = c2stubs
include Makefile.generic
#
# Makefile.sigi4d-svr4 for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.sgi4d-svr4
TKLIB=-lXm
XTLIB=-lXt
XLIB=-lX11 # -lcvt
XINCLUDES=-I/usr/include
PRODUCT-OBJS = $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
PICFLAGS = -KPIC -n32
SHAREFLAGS =
MAKE_SHARED = ld -n32 -shared -all
STD_DEFINES = -DSVR4
AR = /usr/bin/ar cq
include Makefile.generic
#
# Makefile.sun4-svr4 for CLIM 2.0
#
include Makefile.defs
Makefile=Makefile.sun4-svr4
# for other Motif versions use
# /net/sole/opt/ICS/Motif1.2.4/usr/include
# /net/vapor/3rd/motif-1.2.2-sol2/ICS/Motif/usr/include
XINCLUDES=-I/usr/openwin/include -I/usr/dt/include
# on sol7 and later -lXm is motif 2, and we need 1.x.
## Let's try it again, anyway, since sparc64 has no 1.x:
TKLIB=-lXm
#TKLIB=/usr/dt/lib/libXm.so.3
XTLIB=-lXt
XLIB=-lX11
CFLAGS = -xarch=amd64 -DAcl64Bit
SET_LIBRARY_PATH= \
LD_LIBRARY_PATH=/usr/lib/amd64; export LD_LIBRARY_PATH
# for other Motif versions use
# /net/sole/opt/ICS/Motif1.2.4/usr/lib:/usr/lib
# /net/vapor/3rd/motif-1.2.2-sol2/ICS/Motif/usr/lib:/usr/lib
PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS)
# from here on this file should be the same as Makefile.sun4-svr4-ol
MOTIFXTRAS=-lgen
PICFLAGS = -KPIC
SHAREFLAGS =
MAKE_SHARED = ld -G -64
STD_DEFINES =
AR = ar cq
include Makefile.generic
# $fiHeader: Makefile.sun4,v 1.2 93/04/02 18:40:42 cer Exp $
#
# Makefile.sun4 for CLIM 2.0
#
include Makefile.defs
MOTIFLIB=/3rd/motif-1.2.1/usr/lib/libXm$(DEBUGLIB).a
#MOTIFLIB_d=/3rd/motif-1.2.1/usr/lib/libXm_d.a
MOTIFLIB_d=/3rd/motif-1.2.1/usr/lib/libXm.a
XLIB= /3rd/motif-1.2.1/usr/lib/libX11$(DEBUGLIB).a
XTLIB=/3rd/motif-1.2.1/usr/lib/libXt$(DEBUGLIB).a
XINCLUDES=-I/3rd/motif-1.2.1/usr/include
XTSUPPORTINCLUDES=-I/x11/R5/src/mit/lib/Xt
# Do we really need this. Why is it referenced?
MOTIFXTRAOS=/3rd/motif-1.2.1/usr/lib/Motif/Sun/dlsym.o
OLXLIB= /vapor/x11/olit-3.0/lib/libX11.a
OLXTLIB=/vapor/x11/olit-3.0/lib/libXt.a
Makefile=Makefile.sun4
MOTIFHOME=/net/vapor/3rd/motif-1.2.4
XINCLUDES=-I$(MOTIFHOME)/usr/include
TKLIB=$(MOTIFHOME)/usr/lib/libXm.a
XTLIB=/net/louie/malle/colin/X11R5/Ximp-libs/libXt.a
XLIB=/net/louie/malle/colin/X11R5/Ximp-libs/libX11.a
AR = ar cq
include Makefile.generic