Mercurial > libavutil.hg
annotate Makefile @ 44:96a4efa91a4d libavutil
make sure NDEBUG is not defined already before defining it
Patch by Diego 'Flameeyes' Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 1:09 AM
Subject: [Ffmpeg-devel] [PATCH] Avoid warning on NDEBUG redefinition
author | gpoirier |
---|---|
date | Fri, 30 Jun 2006 07:45:31 +0000 |
parents | 00f34c83c69b |
children | e80a1c46386a |
rev | line source |
---|---|
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
1 # |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
2 # libavutil Makefile |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
3 # |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
4 include ../config.mak |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
5 |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
6 # NOTE: -I.. is needed to include config.h |
22
3b56407b3f96
On MinGW it is not possible to build shared and static libraries at once.
diego
parents:
21
diff
changeset
|
7 CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE |
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
8 |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
9 OBJS= mathematics.o \ |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
10 rational.o \ |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
11 intfloat_readwrite.o \ |
30 | 12 crc.o \ |
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
13 |
28 | 14 HEADERS = avutil.h common.h mathematics.h integer.h rational.h \ |
15 intfloat_readwrite.h | |
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
16 |
17
314e61f57c42
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
16
diff
changeset
|
17 NAME=avutil |
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
18 ifeq ($(BUILD_SHARED),yes) |
16
0e94608e337f
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
14
diff
changeset
|
19 LIBVERSION=$(LAVUVERSION) |
0e94608e337f
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
14
diff
changeset
|
20 LIBMAJOR=$(LAVUMAJOR) |
0
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
21 endif |
ee8f44bb7c4d
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
diff
changeset
|
22 |
28 | 23 include $(SRC_PATH)/common.mak |