source: ThirdParty/mpqc_open/src/createMakefile.am.sh@ be848d

Action_Thermostats Add_AtomRandomPerturbation Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChangeBugEmailaddress ChemicalSpaceEvaluator EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_oldresults ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since be848d was 00f983, checked in by Frederik Heber <heber@…>, 8 years ago

Added generated Makefile.am's.

  • Property mode set to 100644
File size: 723 bytes
Line 
1#!/bin/bash
2
3DIR=`pwd`; for dir in `find . -mindepth 1 -type d`; do if test ! -e ${dir}/Makefile.am; then cd $dir; SOURCES=`ls -1 *.cc *.c 2>/dev/null`; HEADERS=`ls -1 *.h *.hh 2>/dev/null`; if test ! -z "$SOURCES"; then SOURCES=`echo $SOURCES | sed -e "s#\(.*\)#\t\1#"`; HEADERS=`echo $HEADERS | sed -e "s#\(.*\)#\t\1#"`;NAME=`echo $dir | awk -F"/" '{print "SC"$NF}'`; CAPITALNAME=`echo $NAME | tr [:lower:] [:upper:]`; PATHNAME=`echo $dir | awk -F"/" '{for (i=3;i<=NF;i++) { if (i>3) {printf("/");} printf("%s",$i) } }'`; sed -e "s#CAPITALNAME#$CAPITALNAME#g" -e "s#PATHNAME#$PATHNAME#g" -e "s#LIBSOURCES#${SOURCES}#" -e "s#LIBHEADERS#${HEADERS}#" -e "s#NAME#$NAME#g" $DIR/Makefile.am >Makefile.am; fi; cd $DIR; fi; done
Note: See TracBrowser for help on using the repository browser.