Annotation of mstools/mfc/samples/dlltrace/makefile, revision 1.1.1.1

1.1       root        1: # This is a part of the Microsoft Foundation Classes C++ library.
                      2: # Copyright (C) 1992 Microsoft Corporation
                      3: # All rights reserved.
                      4: #
                      5: # This source code is only intended as a supplement to the
                      6: # Microsoft Foundation Classes Reference and Microsoft
                      7: # QuickHelp documentation provided with the library.
                      8: # See these sources for detailed information regarding the
                      9: # Microsoft Foundation Classes product.
                     10: #
                     11: 
                     12: # Build hello1 application and Tracer DLL
                     13: 
                     14: DEBUG=1
                     15: 
                     16: goal: hello1.exe tracer.dll
                     17: 
                     18: #############################################################################
                     19: # hello1 application is medium model DEBUG
                     20: 
                     21: !ifdef WIN16MFC
                     22: 
                     23: hello1.obj: hello1.cpp resource.h traceapi.h
                     24:        cl /DWINVER=0x0300 /AM /Zi /Zp /D_DEBUG /c hello1.cpp
                     25: 
                     26: hello1.exe: hello1.obj hello1.def hello1.res tracer.lib
                     27:        link /NOD /CO /ONERROR:NOEXE @<<
                     28: hello1,
                     29: hello1.exe,
                     30: nul,
                     31: mafxcwd libw mlibcew tracer,
                     32: hello1.def;
                     33: <<
                     34:        rc -30 /t hello1.res
                     35: 
                     36: hello1.res: hello1.rc resource.h hello1.ico
                     37: 
                     38: !else
                     39: 
                     40: !include ..\ntsample.mak
                     41: 
                     42: hello1.obj: hello1.cpp resource.h traceapi.h
                     43:        $(CPP) $(CPPFLAGS) hello1.cpp
                     44: 
                     45: hello1.exe: hello1.obj hello1.def hello1.res tracer.lib
                     46:        $(LINK) $(GUIFLAGS) -out:hello1.exe hello1.obj tracer.lib hello1.res $(MFCLIB) $(GUILIBS)
                     47: 
                     48: hello1.res: hello1.rc resource.h hello1.ico
                     49: 
                     50: !endif
                     51: 
                     52: #############################################################################
                     53: # Tracer is a large model DLL built with MFC large model debug DLL support
                     54: # library
                     55: 
                     56: # /GD option automatically defines /D_WINDLL
                     57: 
                     58: !ifdef WIN16MFC
                     59: 
                     60: tracer.obj: tracer.cpp traceapi.h
                     61:        cl /DWINVER=0x0300 /ALw /Zi /GD /Gs /W3 /Zp /D_DEBUG /c tracer.cpp
                     62: 
                     63: tracer.dll: tracer.obj tracer.def tracer.res
                     64:        link /NOD  /ONERROR:NOEXE /CO /PACKDATA @<<
                     65: tracer.obj,
                     66: tracer.dll,
                     67: nul,
                     68: lafxdwd libw ldllcew,
                     69: tracer.def;
                     70: <<
                     71:        rc -30 /t tracer.res tracer.dll
                     72: 
                     73: # import library
                     74: tracer.lib: tracer.dll
                     75:        implib tracer.lib tracer.dll
                     76: 
                     77: !else
                     78: 
                     79: MFCLIB1=nafxdwd.lib
                     80: 
                     81: tracer.obj: tracer.cpp traceapi.h
                     82:        $(CPP) $(CPPFLAGS) /D_WINDLL /c /Zi tracer.cpp
                     83: 
                     84: tracer.dll: tracer.obj tracer.res tracer.lib
                     85:        $(LINK) -debug:full -debugtype:cv -dll -out:tracer.dll \
                     86:        -subsystem:windows \
                     87:        -entry:$(MFCDLLENTRY) -base:0x1C000000 \
                     88:        -map:tracer.map \
                     89:        tracer.obj tracer.res tracer.exp \
                     90:        $(MFCLIBDLL) $(GUILIBSDLL)
                     91: 
                     92: # import library
                     93: tracer.lib: tracer.obj tracer1.def
                     94:        $(LIB32) -machine:$(CPU) -def:tracer1.def tracer.obj -out:tracer.lib
                     95: 
                     96: !endif
                     97: 
                     98: #############################################################################
                     99: 
                    100: clean:
                    101:        -del *.exe
                    102:        -del *.dll
                    103:        -del *.res
                    104:        -del *.obj
                    105:        -del *.lib
                    106: 
                    107: #############################################################################

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.