⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.vc

📁 字体缩放显示
💻 VC
字号:
# Visual C++ 2.x, 4.x, 5.0 and 6.0 makefile for freetype# adapted from suns example makefile (related to the TCL script language)# Does not depend on the presence of any environment variables in# order to compile freetype; all needed information is derived from # location of the compiler directories.## Project directories## ROOT    = top of source tree## TMPDIR  = location where .obj files should be stored during build## TOOLS32 = location of VC++ 32-bit development tools. Note that the#           VC++ 2.0 header files are broken, so you need to use the#           ones that come with the developer network CD's, or later#           versions of VC++.#### Copyright 1996-2001 by# David Turner, Robert Wilhelm, and Werner Lemberg.## This file is part of the FreeType project, and may only be used, modified,# and distributed under the terms of the FreeType project license,# LICENSE.TXT.  By continuing to use, modify, or distribute this file you# indicate that you have read the license and understand and accept it# fully.ROOT            = ..\..TMPDIR          = .#TOOLS32	= c:\msdev                                                 # VC++ 2.x,4.x#TOOLS32	= c:\Program Files\devstudio\vc                            # VC++ 5.xTOOLS32		= c:\Program Files\Microsoft Visual Studio\Vc98            # VC++ 6.xINSTALLDIR	= c:\WINNT\SYSTEM32# Set this to the appropriate value of /MACHINE: for your platformMACHINE = IX86# Comment the following line to compile with symbolsNODEBUG=1####################################################################### Do not modify below this line######################################################################TTF             =       ft15_32TTFLIB          =       $(TTF).libTTFDLL          =       $(TTF).dllTTFOBJS =       \	$(TMPDIR)\ttapi.obj       \	$(TMPDIR)\ttcache.obj  \	$(TMPDIR)\ttcalc.obj    \	$(TMPDIR)\ttcmap.obj  \	$(TMPDIR)\ttdebug.obj    \	$(TMPDIR)\ttfile.obj   \	$(TMPDIR)\ttgload.obj    \	$(TMPDIR)\ttinterp.obj  \	$(TMPDIR)\ttload.obj  \	$(TMPDIR)\ttmemory.obj  \	$(TMPDIR)\ttmutex.obj    \	$(TMPDIR)\ttobjs.obj  \	$(TMPDIR)\ttraster.obj  \	$(TMPDIR)\ttextend.obj  \	$(TMPDIR)\ftxcmap.obj \	$(TMPDIR)\ftxgasp.obj \	$(TMPDIR)\ftxkern.obj \	$(TMPDIR)\ftxpost.obj \	$(TMPDIR)\ftxwidth.obj \	$(TMPDIR)\ftxerr18.objPATH=$(TOOLS32)\bin;$(PATH)cc32            = "$(TOOLS32)\bin\cl.exe"link32          = "$(TOOLS32)\bin\link.exe"include32       = "-I$(TOOLS32)\include" -I$(ROOT)\arch\win32CP              = copyRM              = delTTF_INCLUDES    = -I$(ROOT)TTF_DEFINES     = -nologo -D__WIN32__ -D__WIN32DLL__TTF_CFLAGS      =       $(cdebug) $(cflags) $(cvarsdll) $(include32) \			$(TTF_INCLUDES) $(TTF_DEFINES)CON_CFLAGS      =       $(cdebug) $(cflags) $(cvars) $(include32) -DCONSOLEDOS_CFLAGS      =       $(cdebug) $(cflags) $(include16) -AL ####################################################################### Link flags######################################################################!IFDEF NODEBUGldebug = /RELEASE!ELSEldebug = -debug:full -debugtype:cv!ENDIF# declarations common to all linker optionslcommon = /NODEFAULTLIB /RELEASE /NOLOGO# declarations for use on Intel i386, i486, and Pentium systems!IF "$(MACHINE)" == "IX86"DLLENTRY = @12lflags   = $(lcommon) /MACHINE:$(MACHINE)!ELSElflags   = $(lcommon) /MACHINE:$(MACHINE)!ENDIFconlflags = $(lflags) -subsystem:console -entry:mainCRTStartupguilflags = $(lflags) -subsystem:windows -entry:WinMainCRTStartupdlllflags = $(lflags) -entry:_DllMainCRTStartup$(DLLENTRY) -dll!IF "$(MACHINE)" == "PPC"libc = libc.liblibcdll = crtdll.lib!ELSElibc = libc.lib oldnames.liblibcdll = msvcrt.lib oldnames.lib!ENDIFbaselibs   = kernel32.lib $(optlibs) advapi32.libwinlibs    = $(baselibs) user32.lib gdi32.lib comdlg32.lib winspool.libguilibs    = $(libc) $(winlibs)conlibs    = $(libc) $(baselibs)guilibsdll = $(libcdll) $(winlibs)conlibsdll = $(libcdll) $(baselibs)####################################################################### Compile flags######################################################################!IFDEF NODEBUGcdebug = -O2 -Gs -GD!ELSEcdebug = -Z7 -Od -WX!ENDIF# declarations common to all compiler optionsccommon = -c -W3 -nologo -YX -Dtry=__try -Dexcept=__except# NEED BYTEORDER INFORMATION HERE !!!IF "$(MACHINE)" == "IX86"cflags = $(ccommon) -D_X86_=1!ELSE!IF "$(MACHINE)" == "MIPS"cflags = $(ccommon) -D_MIPS_=1!ELSE!IF "$(MACHINE)" == "PPC"cflags = $(ccommon) -D_PPC_=1!ELSE!IF "$(MACHINE)" == "ALPHA"cflags = $(ccommon) -D_ALPHA_=1!ENDIF!ENDIF!ENDIF!ENDIFcvars      = -DWIN32 -D_WIN32cvarsmt    = $(cvars) -D_MTcvarsdll   = $(cvarsmt) -D_DLL####################################################################### Project specific targets######################################################################release:    $(TTFDLL)all:        $(TTFDLL)install:        $(TTFDLL)	-@md    $(INSTALLDIR)	-@$(CP) $(TTFDLL)               $(INSTALLDIR)$(TTFDLL): $(TTFOBJS) ttf.def	$(link32) $(ldebug) $(dlllflags) \		$(guilibsdll) -out:$(TTFDLL) -def:ttf.def $(TTFOBJS)#ttf.def: $(TTFOBJS)#    ..\..\tcl8.0.4\win\release\dumpexts -o $@ ttf.dll $(TTFOBJS)## Implicit rules#{$(ROOT)\extend}.c{$(TMPDIR)}.obj:    $(cc32) $(TTF_CFLAGS) -Fo$(TMPDIR)\ $<{$(ROOT)}.c{$(TMPDIR)}.obj:    $(cc32) $(TTF_CFLAGS) -Fo$(TMPDIR)\ $<clean:	-@del *.exp 	-@del *.lib 	-@del *.dll 	-@del $(TMPDIR)\*.obj	-@del *.pch	-@del *.pdb

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -