~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to Puma/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
TARGET  ?= linux-release
9
9
AC      ?= ac++
10
10
PREFIX  ?= /usr/local 
 
11
MINUSJ  ?= 1 
11
12
 
12
13
include vars.mk
13
14
 
23
24
 
24
25
# exported variables
25
26
export GENDIR INCDIR LIBDIR OBJDIR STEP1 STEP2
26
 
export ROOT TARGET AC DONTWEAVE CONFIG
 
27
export ROOT TARGET AC DONTWEAVE CONFIG MINUSJ
27
28
export ORASOURCES LEMSOURCES SOURCES ASPECTS 
28
29
 
29
30
# suppress reporting directory changes
43
44
        @echo 
44
45
        @echo "---"
45
46
        @echo "Making PUMA for TARGET=$(TARGET)"
 
47
        @echo "  Extensions = $(EXTENSIONS)"
46
48
        @echo "---"
47
49
        @echo 
48
50
 
49
51
tools:
50
52
        @echo "Making tools..."
51
 
        @cd $(ROOT)/tools && $(MAKE)
 
53
        cd $(ROOT)/tools && $(MAKE)
52
54
 
53
55
src: tools
54
56
        @echo "Making library..."
62
64
        @echo "Making Puma documentation with doxygen..."
63
65
        @doxygen doc/doxygen.conf && echo "=> see doc/doxygen/html/index.html"
64
66
 
65
 
install: config src
 
67
install: src
66
68
        @echo "Installing library and headers..."
67
 
        @cp -pv $(CONFIG) /etc/puma.config
 
69
        @mkdir -p $(PREFIX)/lib
68
70
        @cp -pv $(LIBDIR)/libPuma.* $(PREFIX)/lib
69
71
        @mkdir -p $(PREFIX)/include/Puma
70
72
        @cp -pv $(INCDIR)/Puma/*.*h $(PREFIX)/include/Puma
71
73
 
72
74
uninstall: 
73
75
        @echo "Uninstalling library and headers..."
74
 
        @rm -fv /etc/puma.config
75
76
        @rm -fv $(PREFIX)/lib/libPuma.*
76
77
        @rm -rfv $(PREFIX)/include/Puma
77
78
 
86
87
        @echo "Making examples clean..."
87
88
        @cd $(ROOT)/examples && $(MAKE) -s clean
88
89
 
89
 
cleanall: distclean
90
 
 
91
 
distclean: clean examples-clean
 
90
docs-clean:
 
91
        @echo "Making docs clean..."
 
92
        @rm -rf $(ROOT)/doc/doxygen
 
93
 
 
94
cleanall: test-clean examples-clean tools-clean docs-clean
 
95
        @echo "Making completely clean..."
 
96
        @rm -rf $(ROOT)/lib
 
97
        @rm -rf $(ROOT)/gen-*
 
98
 
 
99
distclean: clean examples-clean docs-clean
92
100
        @cd $(ROOT)/src && $(MAKE) distclean
93
101
 
94
102
libclean:
97
105
        @rm -rf $(OBJDIR)
98
106
        @rm -rf $(STEP2)/dep
99
107
 
 
108
test: test-all
 
109
 
 
110
test-%:
 
111
        @echo "Making tests $*..."
 
112
        @$(MAKE) -C tests -s $*
 
113
 
100
114
#-------------------------------------------------
101
115
# targets
102
116
#-------------------------------------------------