source: ThirdParty/mpqc_open/Makefile@ 73feb7

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction Subpackage_levmar Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 73feb7 was 73feb7, checked in by Frederik Heber <heber@…>, 8 years ago

Added PHONY target all for consistency.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1TOPDIR=.
2ifndef SRCDIR
3 SRCDIR=$(shell pwd)
4endif
5
6LOCALMAKEFILE_OPTIONAL = yes
7
8include $(SRCDIR)/$(TOPDIR)/lib/GlobalMakefile
9
10ifeq ($(LOCALMAKEFILE_FOUND),yes)
11
12SUBDIRS = lib bin src
13
14include $(SRCDIR)/$(TOPDIR)/lib/GlobalSubDirs
15
16install_devel::
17 -$(INSTALL) $(INSTALLSCRIPTOPT) libtool $(installroot)$(bindir)/sc-libtool
18
19clean::
20 -rm -f depcheck.cc
21
22distclean:: clean
23 -rm -f config.log
24 -rm -f config.status
25 -rm -f libtool
26
27else
28
29# If the LocalMakefile does not exist we are not in an object directory.
30# Here we only wish to do administrative tasks, such as make tags.
31
32default::
33 @echo "The LocalMakefile was not found. First run configure in the directory"
34 @echo "you want object code to be placed and then run make there. However,"
35 @echo "if you would like to run some administrative commands in the source"
36 @echo "tree, the following targets are available:"
37 @echo
38 @echo " configure Update aclocal.m4 and run configure."
39 @echo " touch Make sure the parser files are more recent than"
40 @echo " the sources. Useful after a CVS checkout."
41 @echo " tags Build a new TAGS file."
42 @echo " ebrowse Build a new BROWSE file for emacs ebrowse."
43 @echo " clean Remove emacs backup files in this and all subdirectories."
44 @echo
45
46endif
47
48check: check0
49
50check0:
51 cd src/bin/mpqc/validate; $(MAKE) check0
52
53check1:
54 cd src/bin/mpqc/validate; $(MAKE) check1
55
56check2:
57 cd src/bin/mpqc/validate; $(MAKE) check2
58
59check_clean:
60 cd src/bin/mpqc/validate; $(MAKE) check_clean
61
62.PHONY: all
63all: default
64
65.PHONY: configure
66configure:
67 aclocal -I lib/autoconf
68 autoconf
69 /bin/rm -rf autom4te.cache
70
71.PHONY: touch
72touch:
73 touch src/bin/mpqc/scan.cc
74 touch src/bin/mpqc/parse.cc
75 touch src/bin/mpqc/parse.h
76 touch src/lib/util/keyval/ipv2_scan.cc
77 touch src/lib/util/keyval/ipv2_parse.cc
78 touch src/lib/util/keyval/ipv2_parse.h
79
80.PHONY: tags
81tags:
82 etags --members `find . -name "*.[hcfCF]"` `find . -name "*.cc"`
83
84.PHONY: ebrowse
85ebrowse:
86 ebrowse `find . -name "*.[hcC]"` `find . -name "*.cc"`
87
88.PHONY: clean
89clean::
90 /bin/rm -f `find . -name "*~" -print`
Note: See TracBrowser for help on using the repository browser.