From be9279836d090eeb1196c31583fe2a5b596c2473 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Wed, 16 Apr 2003 10:11:38 +0000 Subject: *** empty log message *** --- win/makefile.vc | 178 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) create mode 100644 win/makefile.vc (limited to 'win/makefile.vc') diff --git a/win/makefile.vc b/win/makefile.vc new file mode 100644 index 0000000..2d21adc --- /dev/null +++ b/win/makefile.vc @@ -0,0 +1,178 @@ +# Generated automatically from Makefile.in by configure. +# Copyright (c) 1993 - 2002 CENA, Patrick Lecoanet -- +# +# This code is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This code is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this code; if not, write to the Free +# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# $Revision$ +# +srcdir = . + +SHELL = /bin/sh + +# Visual Studio 6 default +TOOLS32 = C:\Progra~1\Microsoft Visual Studio\VC98 +CC = "$(TOOLS32)\bin\cl.exe" +LD = "$(TOOLS32)\bin\link.exe" -link50compat +libpath32 = /LIBPATH:"$(TOOLS32)\lib" +include32 = /I"$(TOOLS32)\include" +CP = copy +RM = del + +PERLCONFIG = INSTALLDIRS=perl + +INSTALL_PERL = install_perl + +prefix = c:\lecoanet +exec_prefix = $(prefix) + +bindir = $(exec_prefix)\bin +libdir = $(exec_prefix)\lib +incdir = $(prefix)\include +mandir = $(prefix)\man\man3 + +windir = $(srcdir)\win +genericdir = $(srcdir) +tktmpdir = $(srcdir)\tkwin +ptktmpdir = $(srcdir)\ptkwin + +tcl_inc_dir = $(prefix)\tcl8.4.1 +tk_inc_dir = $(prefix)\tk8.4.1 +INCLUDES = /I$(srcdir) $(include32) + +TCL_TK_VER = 84 +# Assume that WISH is already INSTALLED +TCLSH = $(bindir)\tclsh$(TCL_TK_VER) +WISH = $(bindir)\wish$(TCL_TK_VER) +WIN_LIBS = glu32.lib user32.lib gdi32.lib ws2_32.lib +#GL_LIBS = +GL_LIBS = opengl32.lib +PTKROOT = c:\perl\site\lib +TKLIBS = $(libdir)\tcl$(TCL_TK_VER).lib \ + $(libdir)\tk$(TCL_TK_VER).lib \ + $(GL_LIBS) $(WIN_LIBS) +PTKLIBS = $(PTKROOT)\auto\Tk\Tk.lib $(GL_LIBS) $(WIN_LIBS) + +ZINC_VER = 3 +ZINC_MAJOR = 2 + +# +# Recognized compilation time flags are : +# +# PROFILE ask for profile support +# OM include code for internal overlap manager +# GL include code that need GL support. +# GL_PRINT_CONFIG display the detected hardware capabilities +# GL_DAMAGE redraw only modified areas +# SHAPE include code for reshaping windows. +# +DFLAGS= /DOM /DGL /DGL_DAMAGE /DGL_PRINT_CONFIG +#DFLAGS= /DOM +#DFLAGS = /DTCL_MEM_DEBUG + +# Max speed +#CDEBUG = -O2 -Gs +# Debug +CDEBUG = -Z7 -Od +CFLAGS = /c /W3 /nologo /YX $(CDEBUG) /DWIN /DDLL_BUILD /DBUILD_Tkzinc $(DFLAGS) +TKCPPFLAGS = /Fp$(tktmpdir)\ $(INCLUDES) /I"$(incdir)" /I$(tk_inc_dir)\generic /I$(tk_inc_dir)\win /I$(tcl_inc_dir)\generic /I$(tcl_inc_dir)\win +PTKCPPFLAGS = /DPTK /Fp$(ptktmpdir)\ $(INCLUDES) /I$(PTKROOT)\Tk\pTk /I$(PTKROOT)\Tk + +LFLAGS = /nologo /machine:IX86 /warn:3 $(libpath32) +DLLENTRY = @12 +DLLLFLAGS = $(LFLAGS) /entry:_DllMainCRTStartup$(DLLENTRY) /dll + +TKDLLOBJS = $(tktmpdir)\Track.obj \ + $(tktmpdir)\Tabular.obj \ + $(tktmpdir)\Reticle.obj \ + $(tktmpdir)\Map.obj \ + $(tktmpdir)\Rectangle.obj \ + $(tktmpdir)\Arc.obj \ + $(tktmpdir)\Curve.obj \ + $(tktmpdir)\Item.obj \ +# $(tktmpdir)\PostScript.obj \ + $(tktmpdir)\MapInfo.obj \ + $(tktmpdir)\Attrs.obj \ + $(tktmpdir)\Draw.obj \ + $(tktmpdir)\Geo.obj \ + $(tktmpdir)\List.obj \ +# $(tktmpdir)\perfos.obj \ + $(tktmpdir)\version.obj \ + $(tktmpdir)\Transfo.obj \ + $(tktmpdir)\Group.obj \ + $(tktmpdir)\Icon.obj \ + $(tktmpdir)\Text.obj \ + $(tktmpdir)\Color.obj \ + $(tktmpdir)\Field.obj \ + $(tktmpdir)\Triangles.obj \ + $(tktmpdir)\Window.obj \ + $(tktmpdir)\tkZinc.obj \ + $(tktmpdir)\OverlapMan.obj \ + $(tktmpdir)\WinPort.obj \ + $(tktmpdir)\Image.obj + +PTKDLLOBJS = $(ptktmpdir)\Track.obj \ + $(ptktmpdir)\Tabular.obj \ + $(ptktmpdir)\Reticle.obj \ + $(ptktmpdir)\Map.obj \ + $(ptktmpdir)\Rectangle.obj \ + $(ptktmpdir)\Arc.obj \ + $(ptktmpdir)\Curve.obj \ + $(ptktmpdir)\Item.obj \ +# $(ptktmpdir)\PostScript.obj \ + $(ptktmpdir)\MapInfo.obj \ + $(ptktmpdir)\Attrs.obj \ + $(ptktmpdir)\Draw.obj \ + $(ptktmpdir)\Geo.obj \ + $(ptktmpdir)\List.obj \ +# $(ptktmpdir)\perfos.obj \ + $(ptktmpdir)\version.obj \ + $(ptktmpdir)\Transfo.obj \ + $(ptktmpdir)\Group.obj \ + $(ptktmpdir)\Icon.obj \ + $(ptktmpdir)\Text.obj \ + $(ptktmpdir)\Color.obj \ + $(ptktmpdir)\Field.obj \ + $(ptktmpdir)\Triangles.obj \ + $(ptktmpdir)\Window.obj \ + $(ptktmpdir)\tkZinc.obj \ + $(ptktmpdir)\OverlapMan.obj \ + $(ptktmpdir)\WinPort.obj \ + $(ptktmpdir)\Image.obj + +DLL=Tkzinc.dll +PTKAR=ptkzinc.lib + +$(DLL): $(TKDLLOBJS) + $(LD) $(DLLLFLAGS) $(TKLIBS) -out:$@ $(TKDLLOBJS) + +$(PTKAR): $(PTKDLLOBJS) + LIB $(PTKDLLOBJS) /OUT:$@ + +{$(windir)}.c{$(tktmpdir)}.obj: + $(CC) $(TKCPPFLAGS) $(CFLAGS) -Fo$(tktmpdir)\ $< + +{$(genericdir)}.c{$(tktmpdir)}.obj: + $(CC) $(TKCPPFLAGS) $(CFLAGS) -Fo$(tktmpdir)\ $< + +{$(windir)}.c{$(ptktmpdir)}.obj: + $(CC) $(PTKCPPFLAGS) $(CFLAGS) -Fo$(ptktmpdir)\ $< + +{$(genericdir)}.c{$(ptktmpdir)}.obj: + $(CC) $(PTKCPPFLAGS) $(CFLAGS) -Fo$(ptktmpdir)\ $< + +mostlyclean: + $(RM) *.bak *~ $(tmpdir)\*.obj +clean: + $(RM) *.bak *~ $(tmpdir)\*.obj *.dll -- cgit v1.1