MODULE = AliHLTSample
-#EXTRA_DIST = libAliHLTSample.pkg
+EXTRA_DIST = AliHLTSampleLinkDef.h \
+ tutorial.c
# include the pkg definition which actually contains the source
# file definitions
-#include libAliHLTSample.pkg
+MODDIR = $(top_srcdir)
+PKGDEF = $(MODDIR)/libAliHLTSample.pkg
+include $(top_srcdir)/libAliHLTSample.pkg
# library definition
# The lib_LTLIBRARIES variable is a fixed variable of the autotools build
# library sources
# The source files are specified in libAliHLTSample.pkg
-#libAliHLTSample_la_SOURCES = $(MODULE_SRCS)
-# temporary until lib*.pkg file is commited to AliRoot
-libAliHLTSample_la_SOURCES= AliHLTSampleComponent1.cxx \
- AliHLTSampleComponent2.cxx \
- AliHLTDummyComponent.cxx
-
-# temporary until lib*.pkg file is commited to AliRoot
-CLASS_HDRS= AliHLTSampleComponent1.h \
- AliHLTSampleComponent2.h \
- AliHLTDummyComponent.h
+libAliHLTSample_la_SOURCES = $(MODULE_SRCS)
# library headers
# The header files are specified in libAliHLTSample.pkg
-#noinst_HEADERS = $(MODULE_HDRS)
-# temporary until lib*.pkg file is commited to AliRoot
-noinst_HEADERS= $(CLASS_HDRS)
+noinst_HEADERS = $(MODULE_HDRS)
# compilation flags of the library
# This is the place to add further include directories if you are
$(DICTCPP): $(DICTHEADERS:%=$(srcdir)/%) $(DICTDEF)
if [ -x $(ROOTCINT) ]; then $(ROOTCINT) -f $@ -c $(CPPFLAGS) $(AM_CPPFLAGS) $(DEFS) $(foreach i, $(DICTINCLUDE), $(i)) $^ ; fi
-$(DICTDEF): Makefile.am
+$(DICTDEF): Makefile.am $(PKGDEF)
@echo '//automatically generated ROOT DICT definition' > $@
@echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
@echo '//add further class definitions to the CLASS_HDRS variable in Makefile.am' >> $@