[BACK]Return to NT_MAKEFILE CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc5.3

Annotation of OpenXM_contrib2/asir2000/gc5.3/NT_MAKEFILE, Revision 1.1.1.1

1.1       noro        1: # Makefile for Windows NT.  Assumes Microsoft compiler, and a single thread.
                      2: # DLLs are included in the root set under NT, but not under win32S.
                      3: # Use "nmake nodebug=1 all" for optimized versions of library, gctest and editor.
                      4:
                      5: CPU= i386
                      6: !include <ntwin32.mak>
                      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 dyn_load.obj typd_mlc.obj ptr_chck.obj gc_cpp.obj mallocx.obj
                      9:
                     10: all: gctest.exe cord\de.exe test_cpp.exe
                     11:
                     12: .c.obj:
                     13:        $(cc) $(cdebug) $(cflags) $(cvars) -DSILENT -DALL_INTERIOR_POINTERS -D__STDC__ $*.c /Fo$*.obj
                     14:
                     15: .cpp.obj:
                     16:        $(cc) $(cdebug) $(cflags) $(cvars) -DSILENT -DALL_INTERIOR_POINTERS $*.CPP /Fo$*.obj
                     17:
                     18: $(OBJS) test.obj: gc_priv.h gc_hdrs.h gc.h
                     19:
                     20: gc.lib: $(OBJS)
                     21:        lib /MACHINE:i386 /out:gc.lib $(OBJS)
                     22: # The original NT SDK used lib32 instead of lib
                     23:
                     24: gctest.exe: test.obj gc.lib
                     25: #      The following works for win32 debugging.  For win32s debugging use debugtype:coff
                     26: #      and add mapsympe line.
                     27: #  This produces a "GUI" applications that opens no windows and writes to the log file
                     28: #  "gc.log".  This is done to make the result runnable under win32s.
                     29:        $(link) -debug:full -debugtype:cv $(guiflags) -stack:131072 -out:$*.exe test.obj $(guilibs) gc.lib
                     30: #      mapsympe -n -o gctest.sym gctest.exe
                     31:
                     32: cord\de_win.rbj: cord\de_win.res
                     33:        cvtres -$(CPU) cord\de_win.res -o cord\de_win.rbj
                     34:
                     35: cord\de.obj cord\de_win.obj: cord\cord.h cord\private\cord_pos.h cord\de_win.h cord\de_cmds.h
                     36:
                     37: cord\de_win.res: cord\de_win.rc cord\de_win.h cord\de_cmds.h
                     38:        $(rc) $(rcvars) -r -fo cord\de_win.res $(cvars) cord\de_win.rc
                     39:
                     40: # Cord/de is a real win32 gui application.
                     41: cord\de.exe: cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj cord\de_win.rbj gc.lib
                     42:        $(link) -debug:full -debugtype:cv $(guiflags) -stack:16384 -out:cord\de.exe  cord\cordbscs.obj cord\cordxtra.obj cord\de.obj cord\de_win.obj cord\de_win.rbj gc.lib $(guilibs)
                     43:
                     44: gc_cpp.obj: gc_cpp.h gc.h
                     45:
                     46: gc_cpp.cpp: gc_cpp.cc
                     47:        copy gc_cpp.cc gc_cpp.cpp
                     48:
                     49: test_cpp.cpp: test_cpp.cc
                     50:        copy test_cpp.cc test_cpp.cpp
                     51:
                     52: # This generates the C++ test executable.  The executable expects
                     53: # a single numeric argument, which is the number of iterations.
                     54: # The output appears in the file "gc.log".
                     55: test_cpp.exe: test_cpp.obj gc_cpp.h gc.h gc.lib
                     56:        $(link) -debug:full -debugtype:cv $(guiflags) -stack:16384 -out:test_cpp.exe test_cpp.obj gc.lib $(guilibs)
                     57:
                     58:
                     59:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>