/usr/lib/roaraudio/build-system/Makefile.library is in libroar-dev 1.0~beta11-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | # Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2012
#
# This file is part of roard a part of RoarAudio,
# a cross-platform sound system for both, home and professional use.
# See README for details.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3
# as published by the Free Software Foundation.
#
# RoarAudio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this software; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
RABS_INSTALL_TARGETS += lib
CFLAGS += $(fPIC) $(SHARED_CF)
LDFLAGS += $(SHARED)
ifneq ($(origin COMMON_V_MAJOR), undefined)
COMMON_SOVERSION ?= $(COMMON_V_MAJOR)
endif
ifneq ($(origin COMMON_SOVERSION), undefined)
SOVERSION ?= $(COMMON_SOVERSION)
else
SOVERSION ?= dummy
endif
ifneq ($(origin COMMON_VERSION), undefined)
PC_VERSION ?= $(COMMON_VERSION)
else
PC_VERSION ?= so$(SOVERSION)
endif
PC_DESC ?= DUMMY
PC_LIBS += libroar
LIBNAME = lib$(BASENAME)
SOLIBNAME = $(LIBNAME)$(SHARED_SUFFIX)
SOVLIBNAME = $(SOLIBNAME).$(SOVERSION)
ALIBNAME = $(LIBNAME).a
PCLIBNAME = $(LIBNAME).pc
CKPORTDB = $(LIBNAME).ckport
TARGETS=$(SOLIBNAME) $(SOVLIBNAME) $(ALIBNAME) $(PCLIBNAME)
include $(ROAR_BUILDSYSTEM_DIR)/Makefile.common
include $(ROAR_BUILDSYSTEM_DIR)/Makefile.install
$(SOLIBNAME): $(SOVLIBNAME)
ln -fs $(SOVLIBNAME) $(SOLIBNAME)
$(SOVLIBNAME): $(OBJS)
$(CC) $(LDFLAGS) -Wl,-soname,$(SOVLIBNAME) -o $(SOVLIBNAME) $(OBJS) $(LIBS)
$(ALIBNAME): $(OBJS)
$(AR) cru $(ALIBNAME) $(OBJS)
$(RANLIB) $(ALIBNAME)
$(PCLIBNAME):
echo 'prefix=$(PREFIX)' > $(PCLIBNAME)
echo 'exec_prefix=$${prefix}' >> $(PCLIBNAME)
echo 'libdir=$(PREFIX_LIB)' >> $(PCLIBNAME)
echo 'includedir=$(PREFIX_INC)' >> $(PCLIBNAME)
echo '' >> $(PCLIBNAME)
echo 'Name: $(LIBNAME)' >> $(PCLIBNAME)
echo 'Description: $(PC_DESC)' >> $(PCLIBNAME)
echo 'Version: $(PC_VERSION)' >> $(PCLIBNAME)
echo 'Conflicts:' >> $(PCLIBNAME)
ifeq ($(LINK_DEPS),full)
echo 'Requires: $(PC_LIBS)' >> $(PCLIBNAME)
else
echo 'Requires.private: $(PC_LIBS)' >> $(PCLIBNAME)
endif
echo 'Libs: -L$${libdir} -l$(BASENAME)' >> $(PCLIBNAME)
echo 'Cflags: -I$${includedir}' >> $(PCLIBNAME)
|