File: Makefile

package info (click to toggle)
mpqc 2.3.1-22
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 43,140 kB
  • sloc: cpp: 258,686; sh: 8,532; perl: 6,017; ansic: 5,499; makefile: 2,497; fortran: 1,970; lisp: 1,269; yacc: 313; lex: 177; csh: 45
file content (40 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
TOPDIR=../..
ifndef SRCDIR
  SRCDIR=$(shell pwd)
endif

include $(SRCDIR)/$(TOPDIR)/lib/GlobalMakefile

FILES = $(shell echo `find repo`) 

install:: components.cca
	$(INSTALL) $(INSTALLDIROPT) $(installroot)$(libdir)/cca
	$(INSTALL) $(INSTALLIBOPT) components.cca $(installroot)$(libdir)/cca

install_devel:: $(SRCDIR)/sidl/chemistry-mpqc.sidl
	$(INSTALL) $(INSTALLDIROPT) $(installroot)$(libdir)/cca
	$(INSTALL) $(INSTALLDIROPT) $(installroot)$(libdir)/cca/sidl
	$(INSTALL) $(INSTALLLIBOPT) $(SRCDIR)/sidl/chemistry-mpqc.sidl \
          $(installroot)$(libdir)/cca/sidl
	for i in $(FILES); do \
         if test -d $${i}; then \
          $(INSTALL) $(INSTALLDIROPT) $${i} $(installroot)$(libdir)/cca; \
         else \
          $(INSTALL) -D $(INSTALLLIBOPT) $${i} \
            $(installroot)$(libdir)/cca/$${i}; \
         fi; \
        done

clean:: oclean
	if test -d repo; then \
	  rm -rf repo; \
        fi

oclean::
	/bin/rm -f lib*.a
	/bin/rm -f lib*.so*
	/bin/rm -f lib*.la
	/bin/rm -rf .libs

dclean::