Debian Codegraph @

Bundles/MP3/GNUmakefile.preamble

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # GNUmakefile.preamble - this file is part of Cynthiune -*-makefile-*-
2 #
3 # Copyright (C) 2004 Wolfgang Sourdeau
4 #
5 # Author: Wolfgang Sourdeau <[email protected]>
6 #
7 # This file is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
10 # any later version.
11 #
12 # This file is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; see the file COPYING. If not, write to
19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 # Boston, MA 02111-1307, USA.
21
22
23 ifeq (mingw32, $(GNUSTEP_TARGET_OS))
24 MAD_CFLAGS :=
25 MAD_LIBS := -lmad
26
27 ID3Tag_CFLAGS := -I/MinGW/include
28 ID3Tag_LIBS := -lid3tag -lz
29
30 TAGLIB_CFLAGS = -I/MingW/include/taglib
31 TAGLIB_LIBS = -ltag_c -ltag -lz -lstdc++
32
33 BUNDLE_LIBS += $(MAD_LIBS) $(ID3Tag_LIBS) $(TAGLIB_LIBS) -L../../Frameworks/Cynthiune/obj
34
35 else
36 MAD_CFLAGS := $(shell pkg-config mad --cflags)
37 MAD_LIBS := $(shell pkg-config mad --libs)
38
39 ID3Tag_CFLAGS := $(shell pkg-config id3tag --cflags)
40 ID3Tag_LIBS := $(shell pkg-config id3tag --libs)
41
42 BUNDLE_LIBS += $(MAD_LIBS) $(ID3Tag_LIBS)
43 endif
44
45 ADDITIONAL_INCLUDE_DIRS += -I../.. $(MAD_CFLAGS) $(ID3Tag_CFLAGS) $(TAGLIB_CFLAGS)
46
47 ADDITIONAL_OBJCFLAGS += -Wall -Wno-import