forked from nightingale-media-player/nightingale-deps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.nightingale
62 lines (53 loc) · 1.88 KB
/
Makefile.nightingale
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
################################################################################
################################################################################
#
# BEGIN NIGHTINGALE GPL
#
# This file is part of the Nightingale Media Player.
#
# Copyright(c) 2014
# http://www.getnightingale.com
#
# This file may be licensed under the terms of of the
# GNU General Public License Version 2 (the "GPL").
#
# Software distributed under the License is distributed
# on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
# express or implied. See the GPL for the specific language
# governing rights and limitations.
#
# You should have received a copy of the GPL along with this
# program. If not, go to http://www.gnu.org/licenses/gpl.html
# or write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# END NIGHTINGALE GPL
#
################################################################################
#
# Makefile for building Nightingale vendor: glib
#
################################################################################
################################################################################
# We don't want this on linux because -lintl (which this will add) doesn't
# exist there - it's integrated into libc.
ifneq (,$(filter Linux,$(SB_VENDOR_ARCH)))
SB_VENDOR_TARGET_DEP_MODULES := gettext
endif
SB_VENDOR_TARGET = glib
SB_VENDOR_TARGET_VERSION = 2.39.91
include $(CURDIR)/../songbird-vendor-defs.mk
SB_VENDOR_TARGET_CONFIGURE_OPTS :=
ifneq (,$(filter Msys Darwin,$(SB_VENDOR_ARCH)))
SB_VENDOR_TARGET_CONFIGURE_OPTS += --with-libiconv=gnu
endif
ifeq (Msys,$(SB_VENDOR_ARCH))
SB_CC = $(CURDIR)/../clwrapper.py
SB_CXX = $(CURDIR)/../clwrapper.py
endif
SB_VENDOR_TARGET_DYLIB_FIXUPS := \
libglib-2.0 \
libgobject-2.0 \
libgmodule-2.0 \
libgthread-2.0 \
include $(CURDIR)/../songbird-vendor-rules.mk