[22] | 1 | package pspaWT |
---|
| 2 | |
---|
| 3 | build_strategy no_prototypes |
---|
| 4 | include_path none |
---|
| 5 | |
---|
[326] | 6 | use Platform v1r* Interfaces |
---|
| 7 | use dld v2r* Interfaces |
---|
[22] | 8 | |
---|
[326] | 9 | use Wt v1r* Interfaces |
---|
| 10 | use boost v1r* Interfaces |
---|
[22] | 11 | |
---|
[257] | 12 | include_dirs $(PSPAWTROOT)/sources/userInterface/include $(PSPAWTROOT)/sources/controler/include |
---|
[22] | 13 | |
---|
[335] | 14 | |
---|
| 15 | library PSPA_Lib \ |
---|
[258] | 16 | ../sources/controler/src/bareParticle.cc \ |
---|
| 17 | ../sources/controler/src/particleBeam.cc \ |
---|
| 18 | ../sources/controler/src/dataManager.cc \ |
---|
| 19 | ../sources/controler/src/elementDrift.cc \ |
---|
| 20 | ../sources/controler/src/elementCell.cc \ |
---|
| 21 | ../sources/controler/src/elementRfgun.cc \ |
---|
| 22 | ../sources/controler/src/elementSoleno.cc \ |
---|
| 23 | ../sources/controler/src/elementBend.cc \ |
---|
| 24 | ../sources/controler/src/elementBeam.cc \ |
---|
| 25 | ../sources/controler/src/elementFit.cc \ |
---|
[345] | 26 | ../sources/controler/src/elementSnapshot.cc \ |
---|
[258] | 27 | ../sources/controler/src/globalParameters.cc \ |
---|
| 28 | ../sources/controler/src/abstractElement.cc \ |
---|
| 29 | ../sources/controler/src/nomdElements.cc \ |
---|
| 30 | ../sources/controler/src/nomDeLogiciel.cc \ |
---|
| 31 | ../sources/controler/src/beam2Moments.cc \ |
---|
[296] | 32 | ../sources/controler/src/abstractSoftware.cc \ |
---|
| 33 | ../sources/controler/src/softwareParmela.cc \ |
---|
| 34 | ../sources/controler/src/softwareTransport.cc \ |
---|
[304] | 35 | ../sources/controler/src/softwareGenerator.cc \ |
---|
[403] | 36 | ../sources/controler/src/sectionToExecute.cc \ |
---|
[335] | 37 | ../sources/controler/src/softwareTest.cc \ |
---|
[258] | 38 | ../sources/userInterface/src/GWt_cell.cc \ |
---|
| 39 | ../sources/userInterface/src/GWt_rfgun.cc \ |
---|
| 40 | ../sources/userInterface/src/GWt_soleno.cc \ |
---|
| 41 | ../sources/userInterface/src/GWt_bend.cc \ |
---|
| 42 | ../sources/userInterface/src/GWt_beam.cc \ |
---|
| 43 | ../sources/userInterface/src/GWt_globalParameters.cc \ |
---|
| 44 | ../sources/userInterface/src/GWt_drift.cc \ |
---|
| 45 | ../sources/userInterface/src/GWt_dialog.cc \ |
---|
| 46 | ../sources/userInterface/src/GWt_fit.cc \ |
---|
[345] | 47 | ../sources/userInterface/src/GWt_snapshot.cc \ |
---|
[258] | 48 | ../sources/userInterface/src/GWt_abstractElement.cc \ |
---|
| 49 | ../sources/userInterface/src/GWt_console.cc \ |
---|
| 50 | ../sources/userInterface/src/GWt_ligneFaisceau.cc \ |
---|
| 51 | ../sources/userInterface/src/GWt_pspaApplication.cc \ |
---|
[264] | 52 | ../sources/userInterface/src/GWt_elementLigneFaisceau.cc \ |
---|
[258] | 53 | ../sources/userInterface/src/GWt_dropZoneLigneFaisceau.cc \ |
---|
[291] | 54 | ../sources/userInterface/src/GWt_abstractElementFactory.cc \ |
---|
[302] | 55 | ../sources/userInterface/src/GWt_softwarePanel.cc \ |
---|
[329] | 56 | ../sources/userInterface/src/GWt_draggableImage.cc \ |
---|
[402] | 57 | ../sources/userInterface/src/GWt_serverFileSelector.cc \ |
---|
| 58 | ../sources/userInterface/src/GWt_sectionToExecute.cc |
---|
[22] | 59 | |
---|
[38] | 60 | |
---|
[335] | 61 | macro lib_PSPA_Lib_cppflags " ${Wt_cflags} ${boost_cflags} -DTHREADED -DDRAWWT_BUILD -DPSPA_DEBUG" |
---|
[38] | 62 | |
---|
[335] | 63 | macro PSPA_Lib_shlibflags " ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}" |
---|
[225] | 64 | |
---|
[336] | 65 | macro PSPA_Lib_linkopts " -L${PSPAWTROOT}/${Platform_bin} -lPSPA_Lib " |
---|
[334] | 66 | |
---|
[225] | 67 | |
---|
| 68 | |
---|
| 69 | |
---|
[335] | 70 | macro_append pspaWT_cppflags "${lib_PSPA_Lib_cppflags}" |
---|
| 71 | macro_append pspaWTlinkopts "${PSPA_Lib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}" |
---|
[269] | 72 | |
---|
[335] | 73 | macro pspaWT_linkopts " ${PSPA_Lib_linkopts} ${Wt_linkopts} ${boost_linkopts} ${dld_linkopts}" |
---|
[329] | 74 | |
---|
[258] | 75 | application pspaWT ../sources/controler/src/main.cc |
---|
[335] | 76 | macro_append pspaWT_dependencies " PSPA_Lib " |
---|
[22] | 77 | |
---|
[329] | 78 | |
---|
[22] | 79 | # DEBUG : |
---|
| 80 | macro_append cflags " -W -Wall -g" WIN32 "-W /ZI /Od" |
---|
| 81 | macro_append cppflags " -W -Wall -g" WIN32 " /ZI /Od" |
---|
| 82 | macro_append cpplinkflags " -W -Wall -g" WIN32 "/DEBUG /VERBOSE:LIB" |
---|
| 83 | |
---|
| 84 | # OPTIMIZE : |
---|
| 85 | #macro_append cflags " -O" WIN32 " /O2" |
---|
| 86 | #macro_append cppflags " -O" WIN32 " /O2" |
---|
| 87 | #macro_append cpplinkflags " -O" WIN32 "" |
---|
[258] | 88 | |
---|
[329] | 89 | path_append DYLD_LIBRARY_PATH "${PSPAWTROOT}/${Platform_bin}" |
---|
| 90 | path_append LD_LIBRARY_PATH "${PSPAWTROOT}/${Platform_bin}" |
---|