~ubuntu-branches/ubuntu/quantal/cccc/quantal

« back to all changes in this revision

Viewing changes to .pc/warnings.patch/cccc/posixgcc.mak

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-06-26 01:04:39 UTC
  • Revision ID: package-import@ubuntu.com-20120626010439-7klq8po1834v5079
Tags: 1:3.1.4-4
* Convert debian/copyright to copyright-format 1.0.
* Use dpkg-buildflags to enable hardening options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# posixgcc.mak
2
 
## GNUMakefile to build the CCCC project on the POSIX compliant 
3
 
## platforms using the GNU C Compiler.
4
 
## Tested with:
5
 
 
6
 
##   GCC 2.95.3 on Mandrake Linux v7.2  (reported by Tim Littlefair)
7
 
##   EGCS 2.91.66 (aka kgcc) on Mandrake Linux v7.2  (reported by Tim Littlefair)
8
 
##   GCC 2.96 on Red Hat 7.2 (reported by Tim Littlefair)
9
 
##   GCC 3.2 on Mandrake Linux 9.0 (reported by Tim Littlefair)
10
 
 
11
 
## The '-static' link argument was removed as a result of problems
12
 
## encountered on GCC 3.2 - as we don't prebuild binaries at present
13
 
## dynamic linking shouldn't be a killer problem.
14
 
 
15
 
## (More reports welcome)
16
 
## See rules.mak for discussion of the meaning of the make variables
17
 
## which this file defines
18
 
 
19
 
# support for debugging 
20
 
ifeq "$(DEBUG)" "true"
21
 
CFLAGS_DEBUG=-g
22
 
LDFLAGS_DEBUG=-g
23
 
endif
24
 
 
25
 
PATHSEP=/
26
 
 
27
 
CCC=g++
28
 
LD=g++
29
 
CFLAGS=-c -I/usr/include/pccts $(CFLAGS_DEBUG) -x c++ 
30
 
C_OFLAG=-o
31
 
LDFLAGS=$(LDFLAGS_DEBUG)
32
 
LD_OFLAG=-o
33
 
OBJEXT=o
34
 
CCCC_EXE=cccc
35
 
 
36
 
COPY=cp
37
 
RM=rm
38
 
 
39
 
 
40
 
include rules.mak
41