# This file was automatically generated by tmake # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASEVC.T! # File: makebase.vc # Author: Mark Johnson # Created: 12 March 2001 # Updated: # Copyright: (c) 1997, Julian Smart # # "%W% %G%" # # Makefile : Builds wxWindows library wxBase(d).lib for VC++ (32-bit) # Arguments: # # FINAL=1 argument to nmake to build version with no debugging info. # # wxUSE_GUI=0 argument to build wxWindows version with no GUI (Console) # - makevc.env changes lib name to wxBase(d).lib # wxUSE_GUI = 0 !include <../makevc.env> THISDIR=$(WXWIN)\src\msw LIBTARGET=$(WXLIB) # This one overrides the others, to be consistent with the settings in setup.h MINIMAL_WXWINDOWS_SETUP=0 PERIPH_LIBS= PERIPH_TARGET= PERIPH_CLEAN_TARGET= # These are absolute paths, so that the compiler # generates correct __FILE__ symbols for debugging. # Otherwise you don't be able to double-click on a memory # error to load that file. COMMDIR=$(WXDIR)\src\common MSWDIR=$(WXDIR)\src\msw {../common}.cpp{../common/$D}.obj: cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $< << {../common}.c{../common/$D}.obj: cl @<< $(CPPFLAGS2) /Fo$@ /c /Tc $< << {../msw}.cpp{../msw/$D}.obj: cl @<< $(CPPFLAGS) /Fo$@ /c /Tp $< << {../msw}.c{../msw/$D}.obj: cl @<< $(CPPFLAGS2) /Fo$@ /c /Tc $< << COMMONOBJS = \ ..\common\$D\y_tab.obj \ ..\common\$D\appcmn.obj \ ..\common\$D\clntdata.obj \ ..\common\$D\cmdline.obj \ ..\common\$D\config.obj \ ..\common\$D\datetime.obj \ ..\common\$D\datstrm.obj \ ..\common\$D\db.obj \ ..\common\$D\dbtable.obj \ ..\common\$D\dircmn.obj \ ..\common\$D\dynarray.obj \ ..\common\$D\dynlib.obj \ ..\common\$D\dynload.obj \ ..\common\$D\encconv.obj \ ..\common\$D\event.obj \ ..\common\$D\extended.obj \ ..\common\$D\ffile.obj \ ..\common\$D\file.obj \ ..\common\$D\fileconf.obj \ ..\common\$D\filefn.obj \ ..\common\$D\filename.obj \ ..\common\$D\filesys.obj \ ..\common\$D\fontmap.obj \ ..\common\$D\fs_inet.obj \ ..\common\$D\fs_mem.obj \ ..\common\$D\fs_zip.obj \ ..\common\$D\ftp.obj \ ..\common\$D\hash.obj \ ..\common\$D\hashmap.obj \ ..\common\$D\http.obj \ ..\common\$D\intl.obj \ ..\common\$D\ipcbase.obj \ ..\common\$D\list.obj \ ..\common\$D\log.obj \ ..\common\$D\longlong.obj \ ..\common\$D\memory.obj \ ..\common\$D\mimecmn.obj \ ..\common\$D\module.obj \ ..\common\$D\msgout.obj \ ..\common\$D\mstream.obj \ ..\common\$D\object.obj \ ..\common\$D\process.obj \ ..\common\$D\protocol.obj \ ..\common\$D\regex.obj \ ..\common\$D\sckaddr.obj \ ..\common\$D\sckfile.obj \ ..\common\$D\sckipc.obj \ ..\common\$D\sckstrm.obj \ ..\common\$D\socket.obj \ ..\common\$D\strconv.obj \ ..\common\$D\stream.obj \ ..\common\$D\string.obj \ ..\common\$D\sysopt.obj \ ..\common\$D\textbuf.obj \ ..\common\$D\textfile.obj \ ..\common\$D\timercmn.obj \ ..\common\$D\tokenzr.obj \ ..\common\$D\txtstrm.obj \ ..\common\$D\unzip.obj \ ..\common\$D\url.obj \ ..\common\$D\utilscmn.obj \ ..\common\$D\variant.obj \ ..\common\$D\wfstream.obj \ ..\common\$D\wxchar.obj \ ..\common\$D\zipstrm.obj \ ..\common\$D\zstream.obj \ ..\common\$D\init.obj MSWOBJS = ..\msw\$D\dde.obj \ ..\msw\$D\dir.obj \ ..\msw\$D\gsocket.obj \ ..\msw\$D\gsockmsw.obj \ ..\msw\$D\main.obj \ ..\msw\$D\mimetype.obj \ ..\msw\$D\regconf.obj \ ..\msw\$D\registry.obj \ ..\msw\$D\snglinst.obj \ ..\msw\$D\thread.obj \ ..\msw\$D\utils.obj \ ..\msw\$D\utilsexc.obj \ ..\msw\$D\volume.obj OBJECTS = $(COMMONOBJS) $(MSWOBJS) ARCHINCDIR=$(WXDIR)\lib\base$(INCEXT) SETUP_H=$(ARCHINCDIR)\wx\setup.h # Normal, static library #all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) png zlib xpm jpeg tiff $(LIBTARGET) all: dirs $(SETUP_H) $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib $(LIBTARGET) $(WXDIR)\include\wx\msw\setup.h: cd $(WXDIR)\include\wx\msw if not exist setup.h copy setup0.h setup.h cd $(WXDIR)\src\msw $(SETUP_H): $(WXDIR)\include\wx\msw\setup.h copy $(WXDIR)\include\wx\msw\setup.h $@ dirs: $(MSWDIR)\$D $(COMMDIR)\$D $D: mkdir $D $(COMMDIR)\$D: mkdir $(COMMDIR)\$D $(MSWDIR)\$D: mkdir $(MSWDIR)\$D ### Static library $(WXDIR)\lib\$(WXLIBNAME).lib: $(DUMMYOBJ) $(OBJECTS) -erase $(LIBTARGET) $(implib) @<< -out:$@ -machine:$(CPU) $(OBJECTS) $(DUMMYOBJ) $(PERIPH_LIBS) << $(DUMMYOBJ): $(DUMMY).$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(SETUP_H) cl $(CPPFLAGS) $(MAKEPRECOMP) /Fo$(DUMMYOBJ) /c /Tp $(DUMMY).cpp ######################################################## ..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c cl @<< $(CPPFLAGS2) /c ..\common\y_tab.c -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ << ..\common\y_tab.c: ..\common\dosyacc.c copy "..\common"\dosyacc.c "..\common"\y_tab.c ..\common\lex_yy.c: ..\common\doslex.c copy "..\common"\doslex.c "..\common"\lex_yy.c $(OBJECTS): $(WXDIR)/include/wx/setup.h ..\common\$D\unzip.obj: ..\common\unzip.c cl @<< $(CPPFLAGS2) /c $(COMMDIR)\unzip.c /Fo$@ << png: cd $(WXDIR)\src\png nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) cd $(WXDIR)\src\msw clean_png: cd $(WXDIR)\src\png nmake -f makefile.vc clean cd $(WXDIR)\src\msw zlib: cd $(WXDIR)\src\zlib nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) cd $(WXDIR)\src\msw clean_zlib: cd $(WXDIR)\src\zlib nmake -f makefile.vc clean cd $(WXDIR)\src\msw jpeg: cd $(WXDIR)\src\jpeg nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all cd $(WXDIR)\src\msw clean_jpeg: cd $(WXDIR)\src\jpeg nmake -f makefile.vc clean cd $(WXDIR)\src\msw tiff: cd $(WXDIR)\src\tiff nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) all cd $(WXDIR)\src\msw clean_tiff: cd $(WXDIR)\src\tiff nmake -f makefile.vc clean cd $(WXDIR)\src\msw xpm: cd $(WXDIR)\src\xpm nmake -f makefile.vc FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL) CRTFLAG=$(CRTFLAG) cd $(WXDIR)\src\msw clean_xpm: cd $(WXDIR)\src\xpm nmake -f makefile.vc clean cd $(WXDIR)\src\msw cleanall: clean clean_png clean_zlib clean_xpm clean_jpeg clean_tiff -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).lib -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).exp -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).pdb -erase ..\..\lib\wx$(WXVERSION)$(LIBEXT).ilk clean: $(PERIPH_CLEAN_TARGET) -erase $(LIBTARGET) -erase $(COMMDIR)\$D\*.obj -erase $(COMMDIR)\$D\*.pdb -erase $(COMMDIR)\$D\*.sbr -erase $(COMMDIR)\$D\*.idb -erase $(COMMDIR)\$D\*.pch -erase $(COMMDIR)\y_tab.c -erase $(COMMDIR)\lex_yy.c -erase $(MSWDIR)\$D\*.idb -erase $(MSWDIR)\$D\*.pdb -erase $(MSWDIR)\$D\*.pch -erase $(MSWDIR)\$D\*.obj -erase $(MSWDIR)\$D\*.sbr -erase $(MSWDIR)\$D\*.pdb -rmdir $(D) -rmdir ..\common\$(D)