Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
838d101c
Commit
838d101c
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Added sunos support.
parent
55a36731
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ldb/Makefile.orig
+36
-5
36 additions, 5 deletions
ldb/Makefile.orig
with
36 additions
and
5 deletions
ldb/Makefile.orig
+
36
−
5
View file @
838d101c
/* $Header
:
/Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/Makefile.orig
,
v 1.
19
1991/0
3/14 22:01:13
wlott Exp $ */
/* $Header
:
/Volumes/share2/src/cmucl/cvs2git/cvsroot/src/ldb/Attic/Makefile.orig
,
v 1.
20
1991/0
5/24 17:25:00
wlott Exp $ */
INCLS
=
-I
.
INCLS
=
-I
.
OBJS
=
ldb.o egets.o coreparse.o alloc.o monitor.o print.o
\
OBJS
=
ldb.o egets.o coreparse.o alloc.o monitor.o print.o
\
os.o vars.o assem.o parse.o interrupt.o test.o
\
os.o
os-common.o arch.o
vars.o assem.o parse.o interrupt.o test.o
\
search.o validate.o gc.o globals.o dynbind.o breakpoint.o
\
search.o validate.o gc.o globals.o dynbind.o breakpoint.o
\
regnames.o backtrace.o bitbash.o save.o purify.o socket.o
regnames.o backtrace.o bitbash.o save.o purify.o socket.o
...
@@ -10,16 +10,35 @@ OBJS = ldb.o egets.o coreparse.o alloc.o monitor.o print.o \
...
@@ -10,16 +10,35 @@ OBJS = ldb.o egets.o coreparse.o alloc.o monitor.o print.o \
CFLAGS
=
-O
${
INCLS
}
CFLAGS
=
-O
${
INCLS
}
UNDEFSYMPATTERN
=
&
UNDEFSYMPATTERN
=
&
ASSEMFILE
=
'mips-assem.s'
ASSEMFILE
=
'mips-assem.s'
ARCH_SRC
=
"mips-arch.c"
#endif
#endif
#ifdef ibmrt
#ifdef ibmrt
CFLAGS
=
-g
${
INCLS
}
CFLAGS
=
-g
${
INCLS
}
UNDEFSYMPATTERN
=
_&
UNDEFSYMPATTERN
=
_&
ASSEMFILE
=
'rt-assem.s'
ASSEMFILE
=
'rt-assem.s'
ARCH_SRC
=
"rt-arch.c"
#endif
#endif
#ifdef sparc
#ifdef sparc
CFLAGS
=
-g
${
INCLS
}
CFLAGS
=
-g
${
INCLS
}
UNDEFSYMPATTERN
=
_&
UNDEFSYMPATTERN
=
_&
ASSEMFILE
=
'sparc-assem.s'
ASSEMFILE
=
'sparc-assem.s'
ARCH_SRC
=
"sparc-arch.c"
#endif
#ifdef MACH
OS_SRC
=
mach-os.c
OS_LINK_FLAGS
=
OS_OBJS
=
OS_LIBS
=
-lmach
#else
#ifdef sun
OS_SRC
=
sunos-os.c
OS_LINK_FLAGS
=
-Bstatic
OS_OBJS
=
fake-mach.o
OS_LIBS
=
#endif
#endif
#endif
all
:
ldb.map
all
:
ldb.map
...
@@ -30,11 +49,13 @@ ldb.map: ldb
...
@@ -30,11 +49,13 @@ ldb.map: ldb
nm
-gp
ldb
>>
ldb.map
nm
-gp
ldb
>>
ldb.map
ldb
:
${OBJS} version undefineds
ldb
:
${OBJS}
${OS_OBJS}
version undefineds
echo
-n
'1 + '
|
cat
- version | bc
>
,version
echo
-n
'1 + '
|
cat
- version | bc
>
,version
mv
,version version
mv
,version version
cc
${
CFLAGS
}
-DVERSION
=
`
cat
version
`
-c
version.c
cc
${
CFLAGS
}
-DVERSION
=
`
cat
version
`
-c
version.c
cc
`
cat
undefineds
`
-o
,ldb
${
OBJS
}
version.o
-lmach
-lm
-lc
cc
${
OS_LINK_FLAGS
}
`
cat
undefineds
`
-o
,ldb
\
${
OBJS
}
${
OS_OBJS
}
version.o
\
${
OS_LIBS
}
-lm
-lc
mv
-f
,ldb ldb
mv
-f
,ldb ldb
version
:
version
:
...
@@ -47,8 +68,16 @@ undefineds: undefineds.src
...
@@ -47,8 +68,16 @@ undefineds: undefineds.src
mv
,undefineds undefineds
mv
,undefineds undefineds
assem.s
:
assem.s
:
rm
-f
assem.s
ln
-s
${
ASSEMFILE
}
assem.s
ln
-s
${
ASSEMFILE
}
assem.s
os.c
:
rm
-f
os.c
ln
-s
${
OS_SRC
}
os.c
arch.c
:
rm
-f
arch.c
ln
-s
${
ARCH_SRC
}
arch.c
#ifdef mips
#ifdef mips
...
@@ -58,8 +87,10 @@ assem.s:
...
@@ -58,8 +87,10 @@ assem.s:
/*
is
trash.
Therefore,
we
can
't use the GP relative addressing */
/*
is
trash.
Therefore,
we
can
't use the GP relative addressing */
/* mode in the interrupt handlers. */
/* mode in the interrupt handlers. */
arch.o: arch.c
cc ${CFLAGS} -G 0 -c arch.c
interrupt.o: interrupt.c
interrupt.o: interrupt.c
cc ${CFLAGS} -G 0 -c interrupt.
c
cc ${CFLAGS} -G 0 -c interrupt.
o
assem.o: assem.s lisp.h lispregs.h globals.h
assem.o: assem.s lisp.h lispregs.h globals.h
as -G 0 -o $@ assem.s
as -G 0 -o $@ assem.s
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment