OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [boehm-gc/] [OS2_MAKEFILE] - Blame information for rev 764

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 721 jeremybenn
# Makefile for OS/2.  Assumes IBM's compiler, static linking, and a single thread.
2
# Adding dynamic linking support seems easy, but takes a little bit of work.
3
# Adding thread support may be nontrivial, since we haven't yet figured out how to
4
# look at another thread's registers.
5
 
6
# Significantly revised for GC version 4.4 by Mark Boulter (Jan 1994).
7
 
8
OBJS= alloc.obj reclaim.obj allchblk.obj misc.obj mach_dep.obj os_dep.obj mark_rts.obj headers.obj mark.obj obj_map.obj blacklst.obj finalize.obj new_hblk.obj dbg_mlc.obj malloc.obj stubborn.obj typd_mlc.obj ptr_chck.obj mallocx.obj
9
 
10
CORDOBJS= cord\cordbscs.obj cord\cordxtra.obj cord\cordprnt.obj
11
 
12
CC= icc
13
CFLAGS= /O /Q /DSILENT /DSMALL_CONFIG /DALL_INTERIOR_POINTERS
14
# Use /Ti instead of /O for debugging
15
# Setjmp_test may yield overly optimistic results when compiled
16
# without optimization.
17
 
18
all: $(OBJS) gctest.exe cord\cordtest.exe
19
 
20
$(OBJS) test.obj: include\private\gc_priv.h include\private\gc_hdrs.h include\gc.h include\private\gcconfig.h
21
 
22
## ERASE THE LIB FIRST - if it is already there then this command will fail
23
## (make sure its there or erase will fail!)
24
gc.lib: $(OBJS)
25
        echo . > gc.lib
26
        erase gc.lib
27
        LIB gc.lib $(OBJS), gc.lst
28
 
29
mach_dep.obj: mach_dep.c
30
        $(CC) $(CFLAGS) /C mach_dep.c
31
 
32
gctest.exe: test.obj gc.lib
33
        $(CC) $(CFLAGS) /B"/STACK:524288" /Fegctest test.obj gc.lib
34
 
35
cord\cordbscs.obj: cord\cordbscs.c include\cord.h include\private\cord_pos.h
36
        $(CC) $(CFLAGS) /C /Focord\cordbscs cord\cordbscs.c
37
 
38
cord\cordxtra.obj: cord\cordxtra.c include\cord.h include\private\cord_pos.h include\ec.h
39
        $(CC) $(CFLAGS) /C /Focord\cordxtra cord\cordxtra.c
40
 
41
cord\cordprnt.obj: cord\cordprnt.c include\cord.h include\private\cord_pos.h include\ec.h
42
        $(CC) $(CFLAGS) /C /Focord\cordprnt cord\cordprnt.c
43
 
44
cord\cordtest.exe: cord\cordtest.c include\cord.h include\private\cord_pos.h include\ec.h $(CORDOBJS) gc.lib
45
        $(CC) $(CFLAGS) /B"/STACK:65536" /Fecord\cordtest cord\cordtest.c gc.lib $(CORDOBJS)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.