File: Makefile.am

package info (click to toggle)
thepeg 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 9,312 kB
  • ctags: 11,509
  • sloc: cpp: 57,129; sh: 11,315; java: 3,212; lisp: 1,402; makefile: 830; ansic: 58; perl: 3
file content (66 lines) | stat: -rw-r--r-- 2,215 bytes parent folder | download
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
BUILT_SOURCES = done-all-links

AUTOMAKE_OPTIONS = -Wno-portability

DIRLINKS = $(top_srcdir)/Repository \
           $(top_srcdir)/EventRecord \
           $(top_srcdir)/Pointer \
           $(top_srcdir)/StandardModel \
           $(top_srcdir)/Vectors \
           $(top_srcdir)/PDT \
           $(top_srcdir)/ACDC \
           $(top_srcdir)/Interface \
           $(top_srcdir)/Handlers \
           $(top_srcdir)/LesHouches \
           $(top_srcdir)/Persistency \
           $(top_srcdir)/PDF \
           $(top_srcdir)/Helicity \
           $(top_srcdir)/Utilities \
           $(top_srcdir)/MatrixElement \
           $(top_srcdir)/Cuts \
           $(top_srcdir)/Analysis

CONFIGHEADERS = $(top_srcdir)/Config/Complex.h \
		$(top_srcdir)/Config/Constants.h \
                $(top_srcdir)/Config/Containers.h \
		$(top_srcdir)/Config/Pointers.h \
                $(top_srcdir)/Config/ThePEG.h \
                $(top_srcdir)/Config/algorithm.h \
		$(top_srcdir)/Config/PhysicalQty.h \
		$(top_srcdir)/Config/PhysicalQtyComplex.h \
		$(top_srcdir)/Config/PhysicalQtyOps.h \
		$(top_srcdir)/Config/TemplateTools.h \
		$(top_srcdir)/Config/Unitsystem.h \
		$(top_srcdir)/Config/HepMCHelper.h \
		$(top_srcdir)/Config/std.h

CLEANFILES = done-all-links 

done-all-links: $(DIRLINKS) $(CONFIGHEADERS)
@EMPTY@ifdef SHOWCOMMAND
	mkdir -p ThePEG/Config
	$(LN_S) -f $(addprefix ../, $(DIRLINKS)) ThePEG
	$(LN_S) -f $(addprefix ../../, $(CONFIGHEADERS)) ThePEG/Config
	$(LN_S) -f ../../../Config/ThePEG_Qty.h ThePEG/Config
	$(LN_S) -f ../../../Config/LWH.h ThePEG/Config
	touch done-all-links
@EMPTY@else
	@echo "sym-linking header files..."
	@mkdir -p ThePEG/Config
	@$(LN_S) -f $(addprefix ../, $(DIRLINKS)) ThePEG
	@$(LN_S) -f $(addprefix ../../, $(CONFIGHEADERS)) ThePEG/Config
	@$(LN_S) -f ../../../Config/ThePEG_Qty.h ThePEG/Config
	@$(LN_S) -f ../../../Config/LWH.h ThePEG/Config
	@touch done-all-links
@EMPTY@endif

install-data-local:
	find ThePEG -follow \( -name '*.h' -or -name '*.icc' \
	-or -name '*.tcc' -or -name '*.fh' -or -name '*.xh' \) \
          -exec $(install_sh_DATA) \{\} $(DESTDIR)$(includedir)/\{\} \;

uninstall-local:
	rm -rf $(DESTDIR)$(includedir)/ThePEG

clean-local:
	rm -rf ThePEG