texinfo
bison
flex
+ python
+ unzip
+ tar
and possibly other packages.
a function name has been added, changed, or an argument modified,
simply do the following:
- cd .../bacula/src/win32/dll
+ cd .../bacula/src/win32/lib
make (to build the .o files, note the link will fail)
./make_def >bacula.def
Exporting a function requires a bit more work. You must determine the
C++ mangled name of the new function.
- strings .../bacula/src/win32/dll/<file>.o | grep <symbol>
+ strings .../bacula/src/win32/lib/<file>.o | grep <symbol>
Note, strings often will not show the desired symbol. In that case,
use:
- nm .../bacula/src/win32/dll/<file>.o
+ nm .../bacula/src/win32/lib/<file>.o
Replace <file> with the base part of the name of the source code file
which contains the new function. Replace <symbol> with the name of
the new function. Remove the leading underscore and place the result
in the file
- .../bacula/src/win32/dll/bacula.def
+ .../bacula/src/win32/lib/bacula.def
=== end manual changing of bacula.def ==========
If you add a new file, you will need to specify its name in
- .../bacula/src/win32/dll/Makefile
+ .../bacula/src/win32/lib/Makefile
and
.../bacula/src/win32/libbac/Makefile
Note, strings often will not show the desired symbol. In that case,
use:
- nm .../bacula/src/win32/dll/<file>.o
+ nm .../bacula/src/win32/lib/<file>.o
Replace <file> with the base part of the name of the source code file
which contains the new function. Replace <symbol> with the name of
Makefile.template is a template for creating new Makefiles, if you are
creating a new directory, copy Makefile.template to Makefile in that
directory and edit to suit.
-