forked from denis-n-kuznetsov/gmu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
unknown.mk
42 lines (37 loc) · 1.32 KB
/
unknown.mk
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
#
# Gmu Music Player
#
# Copyright (c) 2006-2011 Johannes Heimansberg (wejp.k.vu)
#
# File: unknown.mk Created: 060904
#
# Description: Makefile configuration (unknown default target)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 2 of
# the License. See the file COPYING in the Gmu's main directory
# for details.
#
ifeq (0,$(STATIC))
# normal build
DECODERS_TO_BUILD?=decoders/vorbis.so decoders/flac.so decoders/wavpack.so decoders/mpg123.so decoders/modplug.so decoders/speex.so
FRONTENDS_TO_BUILD?=frontends/sdl.so frontends/gmuhttp.so
else
# static build
DECODERS_TO_BUILD=vorbis.o flac.o mpg123.o mikmod.o speex.o
FRONTENDS_TO_BUILD=sdl.o gmuhttp.o
PLUGIN_OBJECTFILES+=$(PLUGIN_FE_SDL_OBJECTFILES) $(PLUGIN_FE_HTTP_OBJECTFILES)
endif
CC?=gcc
CXX?=g++
STRIP?=strip
SDL_LIB=$(shell sdl-config --libs)
SDL_CFLAGS=$(shell sdl-config --cflags)
MIKMOD_LIB=$(shell libmikmod-config --libs)
MIKMOD_CFLAGS=$(shell libmikmod-config --cflags)
COPTS?=-O0 -fno-short-enums -g
CFLAGS=$(SDL_CFLAGS) -fsigned-char -D_REENTRANT -DUSE_MEMORY_H -DDEBUG
LFLAGS=-I/usr/local/include -L/usr/local/lib -Wl,-export-dynamic
DISTFILES=$(COMMON_DISTBIN_FILES) gmuinput.unknown.conf gmu.sh
DEC_opus_CFLAGS=-I/usr/include/opus