forked from denis-n-kuznetsov/gmu
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pre.mk
33 lines (30 loc) · 1.56 KB
/
pre.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
#
# Gmu Music Player
#
# Copyright (c) 2006-2011 Johannes Heimansberg (wejp.k.vu)
#
# File: unknown.mk Created: 110601
#
# Description: Makefile configuration (Palm Pre)
#
# 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.
#
#DECODERS_TO_BUILD=decoders/vorbis.so decoders/musepack.so decoders/flac.so decoders/wavpack.so decoders/mpg123.so decoders/mikmod.so
DECODERS_TO_BUILD?=decoders/wavpack.so decoders/mpg123.so
FRONTENDS_TO_BUILD?=frontends/sdl.so frontends/log.so frontends/gmusrv.so
CC=gcc
CXX=g++
STRIP=strip
SDL_LIB=$(shell /mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/bin/sdl-config --libs)
SDL_CFLAGS=$(shell /mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/bin/sdl-config --cflags)
MIKMOD_LIB=$(shell libmikmod-config --libs)
MIKMOD_CFLAGS=$(shell libmikmod-config --cflags)
SDLFE_WITHOUT_SDL_GFX=1
COPTS?=-O2 -funroll-all-loops -finline-functions -ffast-math -fno-short-enums -g
CFLAGS=-I/mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/include -I/mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/include/SDL $(SDL_CFLAGS) -fsigned-char -D_REENTRANT -DUSE_MEMORY_H -DCORE_WITH_SDL_VIDEO=1 -DSDLFE_NO_HWACCEL=1
LFLAGS=-I/mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/include -L/mnt/disk/devel/palmpre/cross-compile/staging/armv7/usr/lib -Wl,-export-dynamic -lpdl -lsqlite3
DISTFILES=$(COMMON_DISTBIN_FILES) gmuinput.pre.conf