~ubuntu-branches/ubuntu/karmic/flac/karmic

« back to all changes in this revision

Viewing changes to build/exe.mk

  • Committer: Bazaar Package Importer
  • Author(s): Marc 'HE' Brockschmidt
  • Date: 2008-03-16 18:02:56 UTC
  • mfrom: (1.1.5 upstream) (10 gutsy)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20080316180256-qhf3wk704rp165pm
* Non-maintainer upload.
* Fix gcc-4.3 FTBFS, patch by KiBi (Closes: #455304)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#  FLAC - Free Lossless Audio Codec
2
 
#  Copyright (C) 2001,2002,2003,2004,2005  Josh Coalson
 
2
#  Copyright (C) 2001,2002,2003,2004,2005,2006,2007  Josh Coalson
3
3
#
4
4
#  This file is part the FLAC project.  FLAC is comprised of several
5
5
#  components distributed under difference licenses.  The codec libraries
41
41
DEBUG_PROGRAM   = $(DEBUG_BINPATH)/$(PROGRAM_NAME)
42
42
RELEASE_PROGRAM = $(RELEASE_BINPATH)/$(PROGRAM_NAME)
43
43
 
44
 
debug   : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
45
 
valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
46
 
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
 
44
debug   : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -W -Wall -Wmissing-prototypes -Wstrict-prototypes -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
 
45
valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -W -Wall -Wmissing-prototypes -Wstrict-prototypes -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
 
46
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
47
47
 
48
48
LFLAGS  = -L$(LIBPATH)
49
49
 
83
83
%.debug.i %.release.i : %.cpp
84
84
        $(CCC) $(CFLAGS) -E $< -o $@
85
85
 
86
 
%.debug.o %.release.o : %.nasm
 
86
%.debug.o : %.nasm
 
87
        $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ -g $< -o $@
 
88
%.release.o : %.nasm
87
89
        $(NASM) -f elf -d OBJ_FORMAT_elf -i ia32/ $< -o $@
88
90
 
89
91
.PHONY : clean