-# The syntax for the pkg file is very simple. You specify the sources, headers and possibly extra include or link options. The *.pkg files is just inserted "as is" in the module.mk file, so normal Makefile syntax can be used. These variables can be specified: SRCS, FSRCS, CSRCS, HDRS, CHDRS, DHDR, EINCLUDE, ELIBS, ELIBSDIR, PACKFFLAGS, PACKCFLAGS, PACKCXXFLAGS. The first five is just the c++ sources, fortran sources, c sources, c++ headers and c headers. DHDR is the dictionary header and is the LinkDef file. EINCLUDE, ELIBS and ELIBSDIR is extra includedirs, libraries and library search paths. If for example a binary is to be linked against the variable ELIBSDIR would be set to lib/tgt_$ALICE_TARGET. Notice that -L and -l is not needed. If the PACKFFLAGS, PACKCFLAGS or PACKCXXFLAGS is not set it will be set to the default options (Set in config/Makefile.$ALICE_TARGET. For example on Linux GEANT321 has to be compiled without -O options, so a line like PACKFFLAGS := $(filter-out -O%,$(FFLAGS)) is needed.
+# The syntax for the pkg file is very simple. You specify the sources, headers
+# and possibly extra include or link options. The *.pkg files is just
+# inserted "as is" in the module.mk file, so normal Makefile syntax can
+# be used. These variables can be specified: SRCS, FSRCS, CSRCS, HDRS, CHDRS,
+# DHDR, EINCLUDE, ELIBS, ELIBSDIR, PACKFFLAGS, PACKCFLAGS, PACKCXXFLAGS.
+# The first five is just the C++ sources, fortran sources, C sources,
+# C++ headers and C headers. DHDR is the dictionary header and is the
+# LinkDef file. EINCLUDE, ELIBS and ELIBSDIR is extra includedirs,
+# libraries and library search paths. If for example a binary is to be
+# linked against the variable ELIBSDIR would be set to lib/tgt_$ALICE_TARGET.
+# Notice that -L and -l is not needed. If the PACKFFLAGS, PACKCFLAGS or
+# PACKCXXFLAGS is not set it will be set to the default options (set in
+# config/Makefile.$ALICE_TARGET. For example on Linux GEANT321 has to be
+# compiled without -O options, so a line like
+# PACKFFLAGS := $(filter-out -O%,$(FFLAGS))
+# is needed.