source: ThirdParty/mpqc_open/src/bin/scpr/Makefile@ 860145

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_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 860145 was 860145, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '0b990dfaa8c6007a996d030163a25f7f5fc8a7e7' as 'ThirdParty/mpqc_open'

  • Property mode set to 100644
File size: 1.5 KB
Line 
1TOPDIR=../../..
2ifndef SRCDIR
3 SRCDIR=$(shell pwd)
4endif
5
6include $(SRCDIR)/$(TOPDIR)/lib/GlobalMakefile
7include $(TOPDIR)/lib/Makedirlist
8INCLUDE += -I. -I$(SRCDIR)
9CXXINCLUDE += -I. -I$(SRCDIR)
10
11TARGET_TO_MAKE = scpr
12
13CXXSRC = scpr.cc
14CSRC =
15INC =
16
17DEPENDINCLUDE = $(INC)
18
19BINOBJ = $(CXXSRC:%.cc=%.$(OBJSUF)) $(CSRC:%.c=%.$(OBJSUF))
20
21DISTFILES = $(CXXSRC) $(CSRC) $(INC) Makefile LIBS.h
22
23default:: scpr
24
25XDEF=
26XLIBS=
27ifeq ($(HAVE_SC_SRC_LIB_CHEMISTRY_QC_CINTS),yes)
28 ifeq ($(HAVE_SC_SRC_LIB_CHEMISTRY_QC_MBPTR12),yes)
29 XDEF += -DHAVE_CHEMISTRY_QC_MBPTR12
30 endif
31XDEF += -DHAVE_CHEMISTRY_QC_CINTS
32endif
33
34ifeq ($(HAVE_LIBINT),yes)
35 XLIBS += -lint
36endif
37ifeq ($(HAVE_LIBR12),yes)
38 XLIBS += -lr12
39endif
40ifeq ($(HAVE_LIBDERIV),yes)
41 XLIBS += -lderiv
42endif
43
44ifeq ($(HAVE_SC_SRC_LIB_CHEMISTRY_CCA),yes)
45 XDEF += -DHAVE_CHEMISTRY_CCA
46endif
47
48LIBS := $(shell $(LISTLIBS) $(INCLUDE) $(XDEF) $(SRCDIR)/LIBS.h)
49
50#################################################################
51
52default:: $(DEPENDINCLUDE)
53
54include $(SRCDIR)/$(TOPDIR)/lib/GlobalRules
55
56scpr: $(BINOBJ) $(LIBS)
57 $(LTLINK) $(LD) $(LDFLAGS) -o $@ $^ $(XLIBS) $(SYSLIBS) $(LTLINKBINOPTS)
58
59install:: scpr
60 $(INSTALL) $(INSTALLDIROPT) $(installroot)$(bindir)
61 $(LTINST) $(INSTALL) $(INSTALLBINOPT) $< $(installroot)$(bindir)
62
63clean::
64 /bin/rm -f scpr
65
66distclean::
67 /bin/rm -f scpr
68
69#################################################################
70
71$(BINOBJ:.$(OBJSUF)=.d): $(DEPENDINCLUDE)
72ifneq ($(DODEPEND),no)
73include $(BINOBJ:.$(OBJSUF)=.d)
74endif
Note: See TracBrowser for help on using the repository browser.