Blame bakefile/Readme.txt

Packit 423ecb

Packit 423ecb
 LIBXML2 build system for Win32 README
Packit 423ecb
 -------------------------------------
Packit 423ecb

Packit 423ecb
 In this folder are stored all the files required to compile LIBXML2 with win32 compilers.
Packit 423ecb
 Bakefile (http://bakefile.sourceforge.net) is used as makefile generator.
Packit 423ecb

Packit 423ecb
 Supported makefiles:
Packit 423ecb
 - makefile.vc     for Microsoft NMAKE
Packit 423ecb
 - makefile.bcc    for Borland MAKE
Packit 423ecb
 - makefile.wat    for OpenWatcom MAKE
Packit 423ecb
 - makefile.gcc    for MinGW MINGW32-MAKE
Packit 423ecb
 - all DSP & DSW   for Microsoft VisualC++ 6.0 (can be used also with VS.NET AFAIK)
Packit 423ecb

Packit 423ecb
 This readme is organized as:
Packit 423ecb
   1.0 HOWTO compile LIBXML2 using makefiles     <-- for users who want to build the library using *command-line*
Packit 423ecb
   1.1 HOWTO compile LIBXML2 using an IDE        <-- for users who want to build the library using an *IDE*
Packit 423ecb
   1.2 HOWTO regenerate makefiles for LIBXML2    <-- for libxml2 mantainers/developers/advanced users
Packit 423ecb

Packit 423ecb
 If you just want to compile the library (and the test programs) you should definitely avoid the
Packit 423ecb
 section 1.1 and focus on the 1.0.
Packit 423ecb
 
Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb
 1.0 HOWTO compile LIBXML2 using makefiles
Packit 423ecb
 -----------------------------------------
Packit 423ecb
 
Packit 423ecb
 Choose your preferred compiler among those actually supported (see above) and then run
Packit 423ecb
 
Packit 423ecb
                              mycompilermake -fmakefile.makefileext [options]
Packit 423ecb

Packit 423ecb
 for a full list of the available options you should open with a notepad (or something like that)
Packit 423ecb
 the makefile you want to use; at the beginning you should see a section which starts as:
Packit 423ecb

Packit 423ecb
     # -------------------------------------------------------------------------
Packit 423ecb
     # These are configurable options:
Packit 423ecb
     # -------------------------------------------------------------------------
Packit 423ecb

Packit 423ecb
 here you can find all the options actually used by that makefile. 
Packit 423ecb
 They can be customized when running the makefile writing something like:
Packit 423ecb

Packit 423ecb
 nmake -fmakefile.vc BUILD=release
Packit 423ecb
 mingw32-make -fmakefile.gcc BUILD=debug ICONV_DIR=c:\myiconv
Packit 423ecb

Packit 423ecb
 or they can be permanently changed modifying the makefile.
Packit 423ecb
 That's all: for any problem/compile-error/suggestion, write to 
Packit 423ecb
 frm@users.sourceforge.net with the word "libxml2" in the subject.
Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb
 1.1 HOWTO compile LIBXML2 using an IDE
Packit 423ecb
 --------------------------------------
Packit 423ecb
 
Packit 423ecb
 Actually only the Microsoft VisualC++ 6.0 project files are generated.
Packit 423ecb
 In future other Integrated Development Environments (IDEs) will be supported as well.
Packit 423ecb
 
Packit 423ecb
 With MSVC++ 6.0, you should open the DSW file and then set as the active project the
Packit 423ecb
 "libxml2" project, if you want to build the library or one of the test projects if you
Packit 423ecb
 want to run them.
Packit 423ecb
 Using the command "Build->Set Active Configuration" you can choose one of the predefined
Packit 423ecb
 configuration.
Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb
 1.2 HOWTO regenerate makefiles for LIBXML2
Packit 423ecb
 ------------------------------------------
Packit 423ecb
 
Packit 423ecb
 Be sure to have installed Bakefile (http://bakefile.sourceforge.net).
Packit 423ecb
 Just run the "bakefile_gen" command inside the folder containing the "libxml2.bkl" file.
Packit 423ecb
 NOTE: if you want to remove all the makefiles, you can use the "bakefile_gen -c" command.
Packit 423ecb
 
Packit 423ecb
 The template files used to generate all makefiles are only two:
Packit 423ecb
 - libxml2.bkl      (the main one)
Packit 423ecb
 - Bakefiles.bkgen
Packit 423ecb
 All the other files can be dinamically regenerated.
Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb

Packit 423ecb
 If you have problems with the compilation of LIBXML2 under windows (using one of the supported compiler)
Packit 423ecb
 please write to:
Packit 423ecb

Packit 423ecb
     Francesco Montorsi <frm@users.sourceforge.net>
Packit 423ecb