# Please check the file bellow for configuration # include Makefile.vars # Targets that are part of the binary distribution # DISTRIBUTED_BINARIES = cheddar unittest aadl2xml xml2aadl xml2xml aadl2aadl read_write parse_xml_schedule response_time build_schedule_from_xml scc produce_arinc_pst INSIDE_DISTRIBUTION : $(DISTRIBUTED_BINARIES) # Targets managed by ellidiss # ELLIDISS_DISTRIBUTION : kernel lite # Targets that are NOT part of Cheddar binary distribution # OUTSIDE_DISTRIBUTION : vs F2TArchitectureExplorationExhaustiveMethod prolog F2TArchitectureExplorationPaesMethod F2TInitialSolutionPreprocessing architectureGeneration feasibilityInterval bufferSched feasibilityProcessorUtilization scheduling_anomalies frameworkExamples spacewire_generation cacheAnalysis hierarchical spacewire_transformation.gpr callCheddar T2P_exhaustive_mils callCheddar_securityAnalysis T2P_paes_mils Kways_partitioning T2P_T2C_paes_mils mcs tools mils optimizations v2eventtabletov3eventtable cPaes paes designPattern design_pattern_repository priorityAssignment dfg noc all: OUTSIDE_DISTRIBUTION ELLIDISS_DISTRIBUTION INSIDE_DISTRIBUTION # To generate code from Platypus and Flex/Yacc code_generation: (cd framework/scheduling_simulator; make) (cd platypus; make) % : gpr/%.gpr gnatmake -P$< -d -XBuild=$(RELEASE_OR_DEBUG) clean: rm -f gdb.output for i in gpr/*.gpr ; do\ gnatclean -r -P$$i -XBuild=$(RELEASE_OR_DEBUG);\ done gdb: gdb dram --command=scripts/gdb.command distwindows: rm -rf $(VERSION)-Windows-bin mkdir $(VERSION)-Windows-bin mkdir $(VERSION)-Windows-bin/project_examples mkdir $(VERSION)-Windows-bin/glade_files cp -pr graphical_editor/glade_files/* $(VERSION)-Windows-bin/glade_files cp -pr ../project_examples/xml $(VERSION)-Windows-bin/project_examples cp -pr ../project_examples/aadl $(VERSION)-Windows-bin/project_examples cp -pr ../AUTHORS.txt ../LICENSE.txt docs/BUGS_TO_FIX.pdf docs/ChangesLog.pdf ../README_FIRST.txt ../COPYING.txt docs/REQUESTED_FEATURES.pdf docs/FIXED_BUGS.pdf docs/TODO.pdf ../HOWTO_INSTALL.txt $(VERSION)-Windows-bin strip *.exe find ../lib/windows/ -name "*.dll" -exec cp {} $(VERSION)-Windows-bin \; cp *.exe $(VERSION)-Windows-bin find $(VERSION)-Windows-bin -name .svn -exec rm -rf '{}' + gzip -pr $(VERSION)-Windows-bin.zip $(VERSION)-Windows-bin distlinux32: rm -rf $(VERSION)-Linux32-bin mkdir $(VERSION)-Linux32-bin mkdir $(VERSION)-Linux32-bin/project_examples mkdir $(VERSION)-Linux32-bin/lib mkdir $(VERSION)-Linux32-bin/lib/linux32 mkdir $(VERSION)-Linux32-bin/glade_files strip $(DISTRIBUTED_BINARIES) cp $(DISTRIBUTED_BINARIES) $(VERSION)-Linux32-bin cp -pr ../AUTHORS.txt ../LICENSE.txt docs/BUGS_TO_FIX.pdf docs/ChangesLog.pdf ../README_FIRST.txt ../COPYING.txt docs/REQUESTED_FEATURES.pdf docs/FIXED_BUGS.pdf docs/TODO.pdf ../HOWTO_INSTALL.txt $(VERSION)-Linux32-bin cp -pr ../lib/linux32/* $(VERSION)-Linux32-bin/lib/linux32 cp -pr graphical_editor/glade_files/* $(VERSION)-Linux32-bin/glade_files cp -pr scripts/cheddarlinux32.bash.for_installation $(VERSION)-Linux32-bin/cheddar.bash cp -pr ../project_examples/xml $(VERSION)-Linux32-bin/project_examples cp -pr ../project_examples/aadl $(VERSION)-Linux32-bin/project_examples find $(VERSION)-Linux32-bin -name .svn -exec rm -rf {} + tar cvfz $(VERSION)-Linux32-bin.tar.gz $(VERSION)-Linux32-bin --exclude .svn distlinux64: rm -rf $(VERSION)-Linux64-bin mkdir $(VERSION)-Linux64-bin mkdir $(VERSION)-Linux64-bin/project_examples mkdir $(VERSION)-Linux64-bin/lib mkdir $(VERSION)-Linux64-bin/lib/linux64 mkdir $(VERSION)-Linux64-bin/glade_files strip $(DISTRIBUTED_BINARIES) cp $(DISTRIBUTED_BINARIES) $(VERSION)-Linux64-bin cp -pr ../AUTHORS.txt ../LICENSE.txt docs/BUGS_TO_FIX.pdf docs/ChangesLog.pdf ../README_FIRST.txt ../COPYING.txt docs/REQUESTED_FEATURES.pdf docs/FIXED_BUGS.pdf docs/TODO.pdf ../HOWTO_INSTALL.txt $(VERSION)-Linux64-bin cp -pr ../lib/linux64/* $(VERSION)-Linux64-bin/lib/linux64 cp -pr graphical_editor/glade_files/* $(VERSION)-Linux64-bin/glade_files cp -pr scripts/cheddarlinux64.bash.for_installation $(VERSION)-Linux64-bin/cheddar.bash cp -pr ../project_examples/xml $(VERSION)-Linux64-bin/project_examples cp -pr ../project_examples/aadl $(VERSION)-Linux64-bin/project_examples find $(VERSION)-Linux64-bin -name .svn -exec rm -rf {} + tar cvfz $(VERSION)-Linux64-bin.tar.gz $(VERSION)-Linux64-bin --exclude .svn srcdist: rm -rf ../releases/$(VERSION)-src mkdir ../releases/$(VERSION)-src cp -ar * ../releases/$(VERSION)-src find ../releases/$(VERSION)-src -name .svn -exec rm -rf {} + tar cvfz ../releases/$(VERSION)-src.tar.gz ../releases/$(VERSION)-src --exclude .svn # # This target call the GNAT pretty printer # By default, it pretty prints all files related to cheddar.gpr # To pretty print any other gpr file, overidde PP_TARGET variable as follow: # #make pp PP_TARGET="vs" # to pretty print Ada file related to vs.gpr # PP_TARGET=cheddar pp: gnat pretty -v -rnb -aL -kL -neL -ntL -nnL -pL -U -Pgpr/$(PP_TARGET).gpr