1 | # Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2012 |
---|
2 | # |
---|
3 | # This file is part of roard a part of RoarAudio, |
---|
4 | # a cross-platform sound system for both, home and professional use. |
---|
5 | # See README for details. |
---|
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 version 3 |
---|
9 | # as published by the Free Software Foundation. |
---|
10 | # |
---|
11 | # RoarAudio is distributed in the hope that it will be useful, |
---|
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | # GNU General Public License for more details. |
---|
15 | # |
---|
16 | # You should have received a copy of the GNU General Public License |
---|
17 | # along with this software; see the file COPYING. If not, write to |
---|
18 | # the Free Software Foundation, 51 Franklin Street, Fifth Floor, |
---|
19 | # Boston, MA 02110-1301, USA. |
---|
20 | |
---|
21 | TARGET ?= $(BASENAME)$(SHARED_SUFFIX) |
---|
22 | |
---|
23 | ROAR_CFLAGS := $(shell roar-config --cflags) |
---|
24 | ROAR_LIBS := $(shell roar-config --libs) |
---|
25 | CFLAGS += $(fPIC) |
---|
26 | LDFLAGS += $(SHARED) |
---|
27 | LIBS += $(ROAR_LIBS) |
---|
28 | |
---|
29 | # cp $(cp_v) ${TARGETS} '$(DESTDIR)$(PREFIX_PLUGINS)/universal/universal/$(DEV_VENDOR)-$(DEV_VENDOR_NAME)/' |
---|
30 | |
---|
31 | PLUGIN_VENDOR ?= <$(DEV_VENDOR_STRING)> |
---|
32 | PLUGIN_PRODUCT_NAME ?= DUMMY |
---|
33 | PLUGIN_PRODUCT ?= $(PLUGIN_PRODUCT_NAME) $(PLUGIN_VENDOR) |
---|
34 | PLUGIN_PATH := $(shell roar-config --product '$(PLUGIN_PRODUCT)' --provider '$(PLUGIN_VENDOR)' --path prefix-plugins) |
---|
35 | |
---|
36 | RABS_INSTALL_TARGETS += plugin |
---|
37 | |
---|
38 | include $(ROAR_BUILDSYSTEM_DIR)/Makefile.common |
---|
39 | include $(ROAR_BUILDSYSTEM_DIR)/Makefile.install |
---|