# Makefile for BField package. SUBDIRS = Viz # Define whether rootcint should be run to generate ROOT dictionaries ROOTCINT := YES vpath DatabaseInterface/DbiResultPtr.h $(SRT_PRIVATE_CONTEXT)/include/ \ $(SRT_PUBLIC_CONTEXT)/include/ vpath DatabaseInterface/DbiWriter.h $(SRT_PRIVATE_CONTEXT)/include/ \ $(SRT_PUBLIC_CONTEXT)/include/ CINTLIST += DatabaseInterface/DbiResultPtr.h CINTLIST += DatabaseInterface/DbiWriter.h #I have moved the other test-program that shipped with this package to #subdirectories of BField/test. I'll regret this next time I run #cvs update, although in fact it would make a good structure for the #package as long as there are going to be several competing #test programs shipping with it. # At the moment, there are still problems--if you execute gmake tbin # the entire library will be recompiled as well as the test binary. # Disable TBINS until fixed. #TBINS = voronjob #we have a single program, with a single source file #to extend to several test binaries, simply add their names to #the TBINS and SIMPLEBINS variables. This will work as long #as each binary foo has a single corresponding source file #foo.cc. SIMPLEBINS = voronjob BINLIBS = $(MINOSLIBS) -lBField $(ROOTLIBS) $(ROOTGLIBS) # library - has the same name as the package LIB := lib$(PACKAGE) #We adopt as a convention that files ending in .cc are not part of the #library code but are instead source files for test programs, etc.. skip_files := $(wildcard *.cc) #library contents. We expect all .cxx source files to be part of the library LIBCXXFILES := $(filter-out skip_files, $(wildcard *.cxx)) ######################################################################## include SoftRelTools/standard.mk include SoftRelTools/arch_spec_root.mk