~ubuntu-branches/ubuntu/wily/aspectc++/wily

« back to all changes in this revision

Viewing changes to Puma/vars.mk

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-06-15 10:17:02 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090615101702-qsr30iptwbxylmo2
Tags: 1.0pre4~svn.20090615-1
* New upstream release.
* don't ignore errors in the postrm script
* avoid spurious creation of empty dir ./usr/sbin/
* improve short descriptions of libpuma-doc and libpuma-dev
* bump Standards-Version to 3.8.1
* bump debhelper compat level to level 7 (latest in stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
ifeq ($(_TARGET),win32)
17
17
 
18
 
CXX := mingw32-g++
19
 
CC  := mingw32-gcc
20
 
AR  := mingw32-ar
 
18
CXX   := mingw32-g++
 
19
CC    := mingw32-gcc
 
20
AR    := mingw32-ar
 
21
STRIP := mingw32-strip
21
22
CPPFLAGS += -I $(ROOT)/src/win32/regex
22
23
 
23
24
else
24
25
 
25
 
CXX ?= g++
26
 
CC  ?= gcc
27
 
AR  ?= ar
 
26
CXX   ?= g++
 
27
CC    ?= gcc
 
28
AR    ?= ar
 
29
STRIP ?= strip
28
30
 
29
31
endif
30
32
 
32
34
# if this is a release build, set the appropriate (specific) flags
33
35
ifeq ($(RELEASE),debug)
34
36
 
35
 
CFLAGS := -g
 
37
CFLAGS := -O0 -ggdb3 -fno-inline -fno-default-inline
36
38
 
37
39
else
38
40
 
39
 
CFLAGS   ?= -O2 -g
 
41
CFLAGS   ?= -O2 -ggdb3
40
42
CPPFLAGS += -DNDEBUG
41
43
 
42
44
endif