Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1e32fe436a
Fetching contributors…

Cannot retrieve contributors at this time

file 31 lines (26 sloc) 0.895 kb
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
ARCH=@ARCH@

DIRS=libid3tag
SYSDIR=../../../system
SO=libid3tag-@ARCH@.so
SLIB=$(SYSDIR)/$(SO)
CLEAN_FILES=libid3tag/compat.c libid3tag/frametype.c

.PHONY: compile

ifeq ($(findstring osx,$(ARCH)), osx)
$(SLIB): libid3tag/.libs/libid3tag.dylib
$(CXX) $(LDFLAGS) -Wl,-alias_list,../../cores/DllLoader/exports/wrapper_mach_alias \
-bundle -undefined dynamic_lookup -read_only_relocs suppress -fPIC \
-o $@ ../../cores/DllLoader/exports/wrapper.o libid3tag/.libs/*.o
else
$(SLIB): libid3tag/.libs/libid3tag.so
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -fPIC -o $@ libid3tag/.libs/*.o \
`cat ../../cores/DllLoader/exports/wrapper.def` \
../../cores/DllLoader/exports/wrapper.o
endif

ifeq ($(findstring osx,$(ARCH)), osx)
libid3tag/.libs/libid3tag.dylib: compile
$(MAKE) -C libid3tag
else
libid3tag/.libs/libid3tag.so: compile
$(MAKE) -C libid3tag
endif

include ../../../Makefile.include
Something went wrong with that request. Please try again.