diff --git a/Makefile b/Makefile deleted file mode 100644 index c9bc02a41fe5ee40c146afc1dac02607c5388b69..0000000000000000000000000000000000000000 --- a/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -# If ../makefile.top doesn't exist, then you must specify HOST=xxx on the -# `make' command line. - -include ../makefile.top -include ../makefile.defs - -ifeq ($(OS_NAME),windows) -HOST = windows -endif - -ifeq ($(OS_NAME),sunos) -ifeq ($(MACHINE),sparc) -HOST = sun4-svr4 -endif -ifeq ($(MACHINE),x86_64) -HOST = solamd64 -endif -endif - -ifeq ($(OS_NAME),linux) -ifeq ($(MACHINE),ppc) -HOST = linuxppc -else -ifeq ($(MACHINE),arm64) -HOST = arm64 -else -ifeq ($(SIXTYFOURBIT),yes) -HOST = amd64 -else -HOST = linux -endif -endif -endif -endif - -ifeq ($(OS_NAME),freebsd) -HOST = freebsd -endif - -ifeq ($(OS_NAME),darwin) -HOST = macosx -endif - -ifeq ($(OS_NAME),hp-ux) -ifeq ($(SIXTYFOURBIT),yes) -HOST = hp64 -else -HOST = hpprism -endif -endif - -ifeq ($(OS_NAME),irix) -HOST = sgi4d-svr4 -endif - -ifeq ($(OS_NAME),aix) -ifeq ($(SIXTYFOURBIT),yes) -HOST = power64 -else -HOST = rs6000 -endif -endif - -ifeq ($(OS_NAME),osf1) -ifeq ($(MACHINE),alpha) -HOST = alpha -endif -endif - -# If no HOST specified then we'd like to get an error immediately -# rather than ploughing on with an inappropriate default - -ifndef HOST -HOST = unknown -endif - -include Makefile.$(HOST) diff --git a/Makefile.alpha b/Makefile.alpha deleted file mode 100644 index 6a00e13082f2778c3c3b3127676233a3c87f53fc..0000000000000000000000000000000000000000 --- a/Makefile.alpha +++ /dev/null @@ -1,35 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.alpha,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.amd64 b/Makefile.amd64 deleted file mode 100644 index 88ab52debb9eec9de7dd9c11e671d35597739449..0000000000000000000000000000000000000000 --- a/Makefile.amd64 +++ /dev/null @@ -1,43 +0,0 @@ - -include Makefile.defs - -Makefile=Makefile.amd64 - -ifeq ($(shell if test -d /usr/include/openmotif; then echo yes; fi),yes) -XINCLUDES = -I/usr/include/openmotif -XLIBDIR = /usr/lib64/openmotif -endif - -# This is the old location, but include it here, just in case -ifeq ($(shell if test -d /usr/X11R6/include; then echo yes; fi),yes) -XINCLUDES = -I/usr/X11R6/include -XLIBDIR = /usr/X11R6/lib -endif - -XINCLUDES ?= /usr/include -XLIBDIR ?= /usr/lib64 - -TKLIB=-lXm -lXpm -lXext -lXp -XTLIB=-lXt -XLIB=-lX11 - -ifdef FI_USE_DMALLOC -THREADLIB = -lpthread -ldmallocth -CFLAGS = -I/usr/local/include -else -THREADLIB = -lpthread -endif - -SET_LIBRARY_PATH = LD_RUN_PATH=$(XLIBDIR):/lib:/usr/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$(XLIBDIR) -STD_DEFINES = -DSVR4 -DSYSV -AR = ar cq - -include Makefile.generic diff --git a/Makefile.arm64 b/Makefile.arm64 deleted file mode 100644 index c9f1331f4d0589bfd04197d8027c0c0bd6a3e35e..0000000000000000000000000000000000000000 --- a/Makefile.arm64 +++ /dev/null @@ -1,38 +0,0 @@ - -include Makefile.defs - -Makefile=Makefile.arm64 - -ifeq ($(shell if test -d /usr/include/openmotif; then echo yes; fi),yes) -XINCLUDES = -I/usr/include/openmotif -XLIBDIR = /usr/lib64/openmotif -endif - -XINCLUDES ?= -I/usr/include -XLIBDIR ?= /usr/lib64 - -TKLIB=-lXm -lXpm -lXext -lXp -XTLIB=-lXt -XLIB=-lX11 - -CFLAGS = -fomit-frame-pointer -Wno-unused-result -Wno-pointer-to-int-cast -Wno-unused-but-set-variable -DAcl64Bit -march=armv8-a -mstrict-align -LDFLAGS = -E -ifdef FI_USE_DMALLOC -THREADLIB = -lpthread -ldmallocth -else -THREADLIB = -lpthread -endif - -SET_LIBRARY_PATH = LD_RUN_PATH=$(XLIBDIR):/lib:/usr/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$(XLIBDIR) -STD_DEFINES = -DSVR4 -DSYSV -AR = ar cq - -include Makefile.generic diff --git a/Makefile.cobjs b/Makefile.cobjs deleted file mode 100644 index 3656dd9fd55486f4c87c08857bfcb9cf0bf1ff32..0000000000000000000000000000000000000000 --- a/Makefile.cobjs +++ /dev/null @@ -1,140 +0,0 @@ -# $Id: Makefile.cobjs,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.dec3100 b/Makefile.dec3100 deleted file mode 100644 index 2e86bdfe46305da6d82fd74f41a8a9a31cfc83c8..0000000000000000000000000000000000000000 --- a/Makefile.dec3100 +++ /dev/null @@ -1,16 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.dec3100,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# Makefile.dec3100 for CLIM 2.0 -# - -include Makefile.defs - -Makefile=Makefile.dec3100 - -TKLIB=/usr/lib/DXM/lib/Xm/libXm.a -XTLIB=/usr/lib/DXM/lib/Xt/libXt.a -XLIB=/usr/lib/libX11.a - -XINCLUDES=-I/usr/lib/DXM/lib -I/usr/lib/DXM/lib/Xt - -include Makefile.generic diff --git a/Makefile.defs b/Makefile.defs deleted file mode 100644 index 235ea7006438ad2b0f4d8f82f17fb5b31a7d102e..0000000000000000000000000000000000000000 --- a/Makefile.defs +++ /dev/null @@ -1,149 +0,0 @@ -# $Id: Makefile.defs,v 2.6 2007/03/01 19:30:24 layer Exp $ -# -# Makefile.defs for CLIM 2.0 - -# where to dump the CLIM images -CLIM = clim.dxl - -SHARED_EXT = so - -LISP = ../src/lispi$(exe) -DCL = dcli - -# Set the case mode when building and dumping an image -# case_mode: -# ansi -- traditional case-insensitive upper-case CL -# modern -- case-sensitive lower-case CL -case_mode = modern - -ifeq ($(case_mode),ansi) -CASE_MODE = :case-insensitive-upper -endif - -ifeq ($(case_mode),modern) -CASE_MODE = :case-sensitive-lower -endif - -ifndef CASE_MODE -..........................case_mode not defined or bad value................... -endif - -# This controls whether patches are loaded before dumping an image. -# They should be loaded except during development -# load_patches: -# yes -- load them -# no -- don't load -load_patches = yes - -ifeq ($(load_patches),no) -STOP_PATCHES = '(pushnew :clim-dont-load-patches *features*)' -endif - -CL = $(LISP) -I $(DCL) -CLOPTS = -qq -batch -backtrace-on-error -locale japan.euc - -RM = rm -CAT = cat -ECHO = echo -TAGS = etags - -SHELL = sh - -# Lisp optimization for compiling -SPEED ?= 3 -SAFETY ?= 1 -# This next should be set to 1 for distribution -DEBUG ?= 1 - -# Training - -TRAIN_TIMES=1 -# view, file, print -PSVIEW=:file -HPGLVIEW=:file -TRAIN_COMPILE=t -TRAIN_PROFILEP=t -TRAIN_BM=t -FRAME_TESTS=t - -ifneq ($(OS_NAME),windows) -CFLAGS = -O -D_NO_PROTO -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR \ - -DUSE_RE_COMP -DUSER_GETWD -endif - -# Used for tags -ALL_SRC = *.lisp */*.lisp *.cl */*.cl *.c */*.c *.h */*.h - -# These are the files that make up the source code product. -PRODUCT_SRC_FILES = sys/*.lisp utils/*.lisp silica/*.lisp clim/*.lisp \ - demo/*.lisp test/test-suite.lisp - -ifneq ($(OS_NAME),windows) -# This has to be kept consistent with xlib/xlib-funs.lisp -UNDEFS=misc/undefinedsymbols - -# This has to be kept consistent with tk/xt-funs.lisp -XT_UNDEFS=misc/undefinedsymbols.xt - -# This has to be kept consistent with tk/xm-funs.lisp -XM_UNDEFS=misc/undefinedsymbols.motif -# This has to be kept consistent with tk/xm-classes.lisp -XMC_UNDEFS=misc/undefinedsymbols.cmotif - -# This has to be kept consistent with tk/ol-funs.lisp -OL_UNDEFS=misc/undefinedsymbols.olit -# This has to be kept consistent with tk/ol-classes.lisp -OLC_UNDEFS=misc/undefinedsymbols.colit - -# This has to be kept consistent with wnn/jl-funs.lisp -WNN_UNDEFS=misc/undefinedsymbols.wnn - -# These are the fasls and the .o that form the product - -PRODUCT-GENERIC-FASLS = \ - climg.fasl climdemo.fasl clim-debug.fasl climps.fasl \ - climhpgl.fasl # climgg.fasl - -PRODUCT-XM-FASLS = climxm.fasl clim-debugxm.fasl -PRODUCT-OL-FASLS = climol.fasl clim-debugol.fasl - -PRODUCT-WNN-FASLS = climwnn.fasl clim-debugwnn.fasl - -PRODUCT-GENERIC-OBJS= \ - stub-xt.o stub-x.o xtsupport.o xlibsupport.o - -STATIC-XM-OBJS= stub-motif.o xmsupport.o -SHARED-XM-OBJS= climxm.$(SHARED_EXT) - -STATIC-OL-OBJS= stub-olit.o olsupport.o -SHARED-OL-OBJS= climol.$(SHARED_EXT) - -WNNLIB = libwnn.a -STATIC-WNN-OBJS=stub-wnn.o $(WNNLIB) - -SYSTEM= motif-clim - -PRODUCT-FASLS= $(PRODUCT-GENERIC-FASLS) $(PRODUCT-XM-FASLS) -PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) - -ICS-PRODUCT-FASLS= $(PRODUCT-WNN-FASLS) -ICS-PRODUCT-OBJS= $(STATIC-WNN-OBJS) -else - -# this is for Windows. -# I don't know if we need the other things too. - -PRODUCT-GENERIC-FASLS = \ - climg.fasl climdemo.fasl climps.fasl - -PRODUCT-WIN32-FASLS = climnt.fasl - -SYSTEM= aclnt-clim - -PRODUCT-FASLS = $(PRODUCT-GENERIC-FASLS) $(PRODUCT-WIN32-FASLS) -endif - -# not used anymore -make = xxx - -BENCHMARK_FILE=nil diff --git a/Makefile.freebsd b/Makefile.freebsd deleted file mode 100644 index 4cba11f8f12a7f7830f9868c0cd2d4fd18e8ab9b..0000000000000000000000000000000000000000 --- a/Makefile.freebsd +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: Makefile.freebsd,v 2.4 2003/12/15 18:35:11 layer Exp $ - -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 diff --git a/Makefile.generic b/Makefile.generic deleted file mode 100644 index f9a9dcf477417bd542f4aaadd30c1efc1f93a7ee..0000000000000000000000000000000000000000 --- a/Makefile.generic +++ /dev/null @@ -1,215 +0,0 @@ -# $Id: Makefile.generic,v 2.5 2004/03/26 15:07:35 layer Exp $ -# Makefile.generic for CLIM 2.0 - -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 '(excl:set-case-mode $(CASE_MODE))' >> build.tmp - echo $(STOP_PATCHES) >> 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: 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) " \ - (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 - (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))" \ - | $(LISP) -I $(CLIM) $(CLOPTS)) - -# Misc - -cleanobjs: - rm -f *.o - -cleanfasls: FORCE - find . -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: FORCE - rm -f TAGS - find . -name '*.lisp' -print | xargs $(TAGS) -a - -wc: - wc $(ALL_SRC) - -echo_XTLIB: - @echo $(XTLIB) - -echo_XLIB: - @echo $(XLIB) - -echo_TKLIB: - @echo $(TKLIB) - -echo_WNNLIB: - @echo $(WNNLIB) - -makeclimobjs: $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS) - -install_obj: - cp $(PRODUCT-OBJS) $(ICS-PRODUCT-OBJS) $(DEST) - -install_clim: install_obj - cp $(PRODUCT-FASLS) $(ICS-PRODUCT-FASLS) $(DEST) - -echo_src_files: - @echo $(PRODUCT_SRC_FILES) - -include Makefile.cobjs - -include Makefile.wnn - -FORCE: diff --git a/Makefile.hp64 b/Makefile.hp64 deleted file mode 100644 index bf89ac47e6380ebe6bb63e4b5b50ada13086bedd..0000000000000000000000000000000000000000 --- a/Makefile.hp64 +++ /dev/null @@ -1,33 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.hp64,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.hpprism b/Makefile.hpprism deleted file mode 100644 index 6b44e4a7e2a08da6e4ae39d393116cd38449a673..0000000000000000000000000000000000000000 --- a/Makefile.hpprism +++ /dev/null @@ -1,39 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.hpprism,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.linux b/Makefile.linux deleted file mode 100644 index 92941ff353ea167b12a7e221353a7e50062e9550..0000000000000000000000000000000000000000 --- a/Makefile.linux +++ /dev/null @@ -1,43 +0,0 @@ - -include Makefile.defs - -Makefile=Makefile.linux - -ifeq ($(shell if test -d /usr/include/openmotif; then echo yes; fi),yes) -XINCLUDES = -I/usr/include/openmotif -XLIBDIR = /usr/lib/openmotif -endif - -# This is the old location, but include it here, just in case -ifeq ($(shell if test -d /usr/X11R6/include; then echo yes; fi),yes) -XINCLUDES = -I/usr/X11R6/include -XLIBDIR = /usr/X11R6/lib -endif - -XINCLUDES ?= /usr/include -XLIBDIR ?= /usr/lib - -TKLIB=-lXm -lXpm -lXext -lXp -XTLIB=-lXt -XLIB=-lX11 - -ifdef FI_USE_DMALLOC -THREADLIB = -lpthread -ldmallocth -CFLAGS = -I/usr/local/include -else -THREADLIB = -lpthread -endif - -SET_LIBRARY_PATH = LD_RUN_PATH=$(XLIBDIR):/lib:/usr/lib; export LD_RUN_PATH - -PRODUCT-OBJS= $(PRODUCT-GENERIC-OBJS) $(STATIC-XM-OBJS) $(SHARED-XM-OBJS) - -#MOTIFXTRAS=-lgen - -#PICFLAGS = -K pic -SHAREFLAGS = -MAKE_SHARED = ld -shared -L$(XLIBDIR) -STD_DEFINES = -DSVR4 -DSYSV -AR = ar cq - -include Makefile.generic diff --git a/Makefile.linuxppc b/Makefile.linuxppc deleted file mode 100644 index 15b27c85e96cc3419ffbbcdd52f9e37658cff178..0000000000000000000000000000000000000000 --- a/Makefile.linuxppc +++ /dev/null @@ -1,25 +0,0 @@ -# $Id: Makefile.linuxppc,v 2.4 2003/12/15 18:35:11 layer Exp $ - -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 diff --git a/Makefile.macosx b/Makefile.macosx deleted file mode 100644 index c6bc15541c0f0fd3724366edf08628a6ce7dbbcb..0000000000000000000000000000000000000000 --- a/Makefile.macosx +++ /dev/null @@ -1,54 +0,0 @@ -# $Id: Makefile.macosx,v 2.6 2006/04/12 03:53:55 layer Exp $ -# -# 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 diff --git a/Makefile.power64 b/Makefile.power64 deleted file mode 100644 index 7402106a1cd2cf240beed85f753f97eb830295db..0000000000000000000000000000000000000000 --- a/Makefile.power64 +++ /dev/null @@ -1,39 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.power64,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.rs6000 b/Makefile.rs6000 deleted file mode 100644 index 3d6cb866279232641a1f561e1434b762d80ae50e..0000000000000000000000000000000000000000 --- a/Makefile.rs6000 +++ /dev/null @@ -1,35 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.rs6000,v 2.5 2004/03/11 02:13:07 layer Exp $ -# -# 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 diff --git a/Makefile.sgi4d-svr4 b/Makefile.sgi4d-svr4 deleted file mode 100644 index fb3efcab40db4e454f9f96f3d79f4baa6e1ef49d..0000000000000000000000000000000000000000 --- a/Makefile.sgi4d-svr4 +++ /dev/null @@ -1,24 +0,0 @@ -# $Id: Makefile.sgi4d-svr4,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 diff --git a/Makefile.solamd64 b/Makefile.solamd64 deleted file mode 100644 index e0e13df745fad420150bcf09b0d6e8f362a55c1b..0000000000000000000000000000000000000000 --- a/Makefile.solamd64 +++ /dev/null @@ -1,44 +0,0 @@ -# $Id: Makefile.solamd64,v 2.1 2005/08/03 05:07:13 layer Exp $ -# -# 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 diff --git a/Makefile.sun4 b/Makefile.sun4 deleted file mode 100644 index 9387904f542a1ba173abac338bdeb7345a515a85..0000000000000000000000000000000000000000 --- a/Makefile.sun4 +++ /dev/null @@ -1,21 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.sun4,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# Makefile.sun4 for CLIM 2.0 -# - -include Makefile.defs - -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 diff --git a/Makefile.sun4-svr4 b/Makefile.sun4-svr4 deleted file mode 100644 index cabe94cceb7a0a2f3487ce70daf351aaf2e2cbf8..0000000000000000000000000000000000000000 --- a/Makefile.sun4-svr4 +++ /dev/null @@ -1,49 +0,0 @@ -# $Id: Makefile.sun4-svr4,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# 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 - -ifeq ($(SIXTYFOURBIT),yes) -CFLAGS = -xarch=v9 -DAcl64Bit -SET_LIBRARY_PATH= \ - LD_LIBRARY_PATH=/usr/lib/sparcv9; export LD_LIBRARY_PATH -else -SET_LIBRARY_PATH= \ - LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib:/usr/lib; export LD_LIBRARY_PATH -endif - -# 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 = -K pic -SHAREFLAGS = -MAKE_SHARED = ld -G -STD_DEFINES = -DSVR4 -DSYSV -AR = ar cq - -include Makefile.generic diff --git a/Makefile.sunx86 b/Makefile.sunx86 deleted file mode 100644 index b8ed40f5686040784a2773cd30aa0f3c54552f2e..0000000000000000000000000000000000000000 --- a/Makefile.sunx86 +++ /dev/null @@ -1,37 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.sunx86,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# Makefile.sun4-svr4 for CLIM 2.0 -# - -include Makefile.defs - -Makefile=Makefile.sunx86 - -# 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 - -TKLIB=-lXm -XTLIB=-lXt -XLIB=-lX11 - -SET_LIBRARY_PATH= \ - LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib:/usr/lib; 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 = -K pic -SHAREFLAGS = -MAKE_SHARED = ld -G - -include Makefile.generic diff --git a/Makefile.unknown b/Makefile.unknown deleted file mode 100644 index d80f4091b6e025e00afa8ebe905cec58f39ea166..0000000000000000000000000000000000000000 --- a/Makefile.unknown +++ /dev/null @@ -1,10 +0,0 @@ -# $Header: /repo/cvs.copy/clim2/Makefile.unknown,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# Makefile.unknown for CLIM 2.0 -# - -# Provide enough structure to do a "make clean" - -include Makefile.defs - -include Makefile.generic diff --git a/Makefile.windows b/Makefile.windows deleted file mode 100644 index d62cc7b6c240c432f32910e3980d63e7a28b18be..0000000000000000000000000000000000000000 --- a/Makefile.windows +++ /dev/null @@ -1,9 +0,0 @@ -# $Id: Makefile.windows,v 2.4 2003/12/15 18:35:11 layer Exp $ -# -# Makefile.windows for CLIM 2.0 - -include Makefile.defs - -Makefile=Makefile.windows - -include Makefile.generic diff --git a/Makefile.wnn b/Makefile.wnn deleted file mode 100644 index 10e92de841eb340d4153a2b96035b31c45c9d025..0000000000000000000000000000000000000000 --- a/Makefile.wnn +++ /dev/null @@ -1,123 +0,0 @@ -# $Id: Makefile.wnn,v 2.7 2007/03/06 21:53:02 layer Exp $ -# -# Makefile.wnn for CLIM 2.0 -# -# Makefile for the jlib part of Wnn4.2 - - -WNNFLAGS = -DJAPANESE -DCHINESE -DKOREAN -DLATIN -DWRITE_CHECK -DWNNDEFAULT \ - $(PICFLAGS) - -WNN_OBJS= js.o wnnerrmsg.o jl.o \ - msg.o yincoding.o py_table.o zy_table.o strings.o bcopy.o \ - rk_bltinfn.o rk_main.o rk_modread.o rk_read.o rk_vars.o - -js.o: wnn/js.c wnn/bdic.c wnn/pwd.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o js.o wnn/js.c - -wnnerrmsg.o : wnn/wnnerrmsg.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o wnnerrmsg.o wnn/wnnerrmsg.c - -jl.o : wnn/jl.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o jl.o wnn/jl.c - -msg.o : wnn/msg.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o msg.o wnn/msg.c - -yincoding.o : wnn/yincoding.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o yincoding.o wnn/yincoding.c - -py_table.o : wnn/py_table.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o py_table.o wnn/py_table.c - -zy_table.o : wnn/zy_table.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o zy_table.o wnn/zy_table.c - -strings.o : wnn/strings.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o strings.o wnn/strings.c - -bcopy.o : wnn/bcopy.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o bcopy.o wnn/bcopy.c - -rk_bltinfn.o : wnn/rk_bltinfn.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o rk_bltinfn.o wnn/rk_bltinfn.c - -rk_main.o : wnn/rk_main.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o rk_main.o wnn/rk_main.c - -rk_modread.o : wnn/rk_modread.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o rk_modread.o wnn/rk_modread.c - -rk_read.o : wnn/rk_read.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o rk_read.o wnn/rk_read.c - -rk_vars.o : wnn/rk_vars.c - $(CC) -c $(WNNFLAGS) $(STD_DEFINES) $(CFLAGS) \ - -o rk_vars.o wnn/rk_vars.c - -libwnn.a: $(WNN_OBJS) - $(AR) $@ $(WNN_OBJS) - -ifeq ($(REDHAT),5) -REDHATLIBS = -lcrypt -endif - -ifeq ($(REDHAT),6) -REDHATLIBS = -lcrypt -endif - -ifeq ($(REDHAT),7) -REDHATLIBS = -lcrypt -endif - -ifeq ($(REDHAT),8) -REDHATLIBS = -lcrypt -endif - -ifeq ($(REDHAT),9) -REDHATLIBS = -lcrypt -endif - -ifeq ($(REDHAT),10) -REDHATLIBS = -lcrypt -endif - -ifeq ($(OS_NAME),linux) -ifeq ($(MACHINE),ppc) -REDHATLIBS = -lcrypt -endif -ifdef SUSE -REDHATLIBS = -lcrypt -endif -endif - -ifeq ($(OS_NAME),freebsd) -REDHATLIBS = -lcrypt -endif - -ifeq ($(OS_NAME),linux) -ifeq ($(MACHINE),x86_64) -REDHATLIBS = -lcrypt -endif -ifeq ($(MACHINE),arm64) -REDHATLIBS = -lcrypt -lrt -lm -ldl -lc -endif -endif - - -wnn.$(SHARED_EXT): $(WNN_OBJS) - $(MAKE_SHARED) $(SHAREFLAGS) -o wnn.$(SHARED_EXT) $(WNN_OBJS) \ - $(REDHATLIBS) $(THREADLIB)