|
|
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: !ifdef CONSOLE ! 13: MFCFLAGS=/D_NTWIN /Di386=1 ! 14: !else ! 15: MFCFLAGS=/D_NTWIN /D_WINDOWS /DWINVER=0x030a /Di386=1 ! 16: !endif ! 17: ! 18: !ifdef CONSOLE ! 19: !if "$(DEBUG)" == "1" ! 20: MFCLIB = ..\..\lib\nafxcrd.lib ..\..\lib\libcxx.lib ! 21: DEBUGFLAGS = /Zd /Od /D_DEBUG ! 22: !else ! 23: MFCLIB = ..\..\lib\nafxcr.lib ..\..\lib\libcxx.lib ! 24: DEBUGFLAGS = /Otx /Gs ! 25: !endif ! 26: !else ! 27: !if "$(DEBUG)" == "1" ! 28: MFCLIB = ..\..\lib\nafxcwd.lib ..\..\lib\libcxx.lib ! 29: DEBUGFLAGS = /Zd /Od /D_DEBUG ! 30: !else ! 31: MFCLIB = ..\..\lib\nafxcw.lib ..\..\lib\libcxx.lib ! 32: DEBUGFLAGS = /Otx /Gs ! 33: !endif ! 34: !endif ! 35: ! 36: CC = cl386 ! 37: CFLAGS = /c /G3d /W3 $(DEBUGFLAGS) $(MFCFLAGS) ! 38: ! 39: CPP = cl386 ! 40: CPPFLAGS = /c /G3d /W3 $(DEBUGFLAGS) $(MFCFLAGS) ! 41: ! 42: !if "$(PCH)" != "" ! 43: CPPFLAGS=$(CPPFLAGS) /Yu$(PCH) ! 44: !endif ! 45: ! 46: ! 47: !if "$(DEBUG)" == "1" ! 48: LINKDEBUG = -debug:partial ! 49: !else ! 50: LINKDEBUG = ! 51: !endif ! 52: LINK = coff -link $(LINKDEBUG) ! 53: ! 54: # link flags - must be specified after $(link) ! 55: # ! 56: # conflags : creating a character based console application ! 57: # guiflags : creating a GUI based "Windows" application ! 58: ! 59: CONFLAGS = -subsystem:console -entry:mainCRTStartup ! 60: GUIFLAGS = -subsystem:windows -entry:WinMainCRTStartup ! 61: ! 62: # Link libraries - system import and C runtime libraries ! 63: # ! 64: # conlibs : libraries to link with for a console application ! 65: # guilibs : libraries to link with for a "Windows" application ! 66: # ! 67: # note : $(LIB) is set in environment variables ! 68: ! 69: CONLIBS = $(LIB)\libc.lib $(LIB)\ntdll.lib \ ! 70: $(LIB)\kernel32.lib $(LIB)\netapi32.lib ! 71: ! 72: GUILIBS = $(LIB)\libc.lib $(LIB)\ntdll.lib \ ! 73: $(LIB)\kernel32.lib $(LIB)\user32.lib $(LIB)\gdi32.lib $(LIB)\comdlg32.lib \ ! 74: $(LIB)\olecli32.lib $(LIB)\olesvr32.lib $(LIB)\shell32.lib $(LIB)\netapi32.lib \ ! 75: $(LIB)\userrtl.lib $(LIB)\winreg.lib ! 76: ! 77: .SUFFIXES : .cpp ! 78: .cpp.obj : ! 79: $(CPP) $(CPPFLAGS) $*.cpp ! 80: ! 81: .c.obj : ! 82: $(CC) $(CFLAGS) $(CVARS) $*.c ! 83: ! 84: .rc.res : ! 85: rc /r /fo $*.tmp $< ! 86: cvtres -i386 $*.tmp -o $*.res ! 87: del $*.tmp ! 88:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.