next up previous
Next: 3 Creating the Web Up: PrimEx Bank Definition Markup Previous: 1 Introduction

2 Making the Source Code

The directory src/libraries/include contains a makefile. When invoked it will create two files in that directory: bankdef.h.body and bankinit.cc using as input bankdef.xml, also found in src/libraries/include. It uses the perl script scripts/make_bank_code.pl to do this. The directory also contains bankdef.h.header and bankdef.h.footer. bankdef.h is a concatenation of bankdef.h.header, bankdef.h.body and bankdef.h.footer. This operation is also performed by the makefile. bankinit.cc is included in PEvent.cc (found in src/libraries/codaIO) using the standard C-preprocessor command.



Mark M. Ito 2003-12-10