[282] | 1 | |
---|
| 2 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 3 | # library G4LabCore : |
---|
| 4 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 5 | |
---|
| 6 | src_G4Lab=../source/G4Lab/cxx |
---|
| 7 | |
---|
| 8 | G4LabCore_src = \ |
---|
| 9 | ${src_G4Lab}/BestUnit.cxx \ |
---|
| 10 | ${src_G4Lab}/Transform3D.cxx \ |
---|
| 11 | ${src_G4Lab}/Polyhedron.cxx \ |
---|
| 12 | ${src_G4Lab}/GeometryVisitor.cxx \ |
---|
| 13 | ${src_G4Lab}/Tree.cxx \ |
---|
| 14 | ${src_G4Lab}/Trajectory.cxx \ |
---|
| 15 | ${src_G4Lab}/State.cxx \ |
---|
| 16 | ${src_G4Lab}/SteppingAction.cxx \ |
---|
| 17 | ${src_G4Lab}/TrackingAction.cxx \ |
---|
| 18 | ${src_G4Lab}/SoG4RunManager.cxx \ |
---|
| 19 | ${src_G4Lab}/SoVisitedVolume.cxx \ |
---|
| 20 | ${src_G4Lab}/SoG4Trajectories.cxx \ |
---|
| 21 | ${src_G4Lab}/PhysicalVolumeAccessor.cxx \ |
---|
| 22 | ${src_G4Lab}/TrajectoryContainerAccessor.cxx \ |
---|
| 23 | ${src_G4Lab}/TrajectoryAccessor.cxx \ |
---|
| 24 | ${src_G4Lab}/PhysicsTableAccessor.cxx \ |
---|
| 25 | ${src_G4Lab}/HitsCollectionAccessor.cxx \ |
---|
| 26 | ${src_G4Lab}/DigitsCollectionAccessor.cxx \ |
---|
| 27 | ${src_G4Lab}/Manager.cxx |
---|
| 28 | |
---|
| 29 | G4LabCore_objs = $(patsubst $(src_G4Lab)/%.cxx,$(bin)/G4Lab_%.o,$(G4LabCore_src)) |
---|
| 30 | |
---|
| 31 | G4LabCore_cppflags=-I../source `onx-config --cppflags` `onx-config --iv_cppflags` `aida-config --cppflags` $(g4_incs) |
---|
| 32 | |
---|
| 33 | $(bin)/libG4LabCore.$(shlib_suffix) : $(G4LabCore_objs) |
---|
| 34 | $(shlib_builder) -o $(bin)/libG4LabCore.$(shlib_suffix) $(G4LabCore_objs) |
---|
| 35 | |
---|
| 36 | $(G4LabCore_objs) : $(bin)/G4Lab_%.o : $(src_G4Lab)/%.cxx |
---|
| 37 | $(compiler) -c -o $@ $(G4LabCore_cppflags) $< |
---|
| 38 | |
---|
| 39 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 40 | # library G4LabUIOnX : |
---|
| 41 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 42 | |
---|
| 43 | src_G4Lab=../source/G4Lab/cxx |
---|
| 44 | |
---|
| 45 | G4LabUIOnX_src = \ |
---|
| 46 | ${src_G4Lab}/UIOnX.cxx |
---|
| 47 | G4LabUIOnX_objs = $(patsubst $(src_G4Lab)/%.cxx,$(bin)/G4Lab_%.o,$(G4LabUIOnX_src)) |
---|
| 48 | |
---|
| 49 | G4LabUIOnX_cppflags=-I../source `onx-config --cppflags` $(g4_incs) |
---|
| 50 | |
---|
| 51 | $(bin)/libG4LabUIOnX.$(shlib_suffix) : $(G4LabUIOnX_objs) |
---|
| 52 | $(shlib_builder) -o $(bin)/libG4LabUIOnX.$(shlib_suffix) $(G4LabUIOnX_objs) |
---|
| 53 | |
---|
| 54 | $(G4LabUIOnX_objs) : $(bin)/G4Lab_%.o : $(src_G4Lab)/%.cxx |
---|
| 55 | $(compiler) -c -o $@ $(G4LabUIOnX_cppflags) $< |
---|
| 56 | |
---|
| 57 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 58 | # dll G4Lab : |
---|
| 59 | #/////////////////////////////////////////////////////////////////////////// |
---|
| 60 | |
---|
| 61 | G4Lab_src = \ |
---|
| 62 | $(src_G4Lab)/Callbacks.cxx |
---|
| 63 | G4Lab_objs = $(patsubst $(src_G4Lab)/%.cxx,$(bin)/G4Lab_%.o,$(G4Lab_src)) |
---|
| 64 | |
---|
| 65 | G4Lab_cppflags=-I.. $(g4lab_cppflags) `onx-config --iv_cppflags` `aida-config --cppflags` |
---|
| 66 | |
---|
| 67 | G4Lab_linkopts=`onx-config --libs` |
---|
| 68 | |
---|
| 69 | $(bin)/$(dll_prefix)G4Lab.$(dll_suffix) : $(G4Lab_objs) |
---|
| 70 | $(dll_builder) -o $(bin)/$(dll_prefix)G4Lab.$(dll_suffix) $(G4Lab_objs) $(G4Lab_linkopts) |
---|
| 71 | |
---|
| 72 | $(G4Lab_objs) : $(bin)/G4Lab_%.o : $(src_G4Lab)/%.cxx |
---|
| 73 | $(compiler) -c -o $@ $(G4Lab_cppflags) $< |
---|