Skip to content

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

33 lines (26 sloc) 0.895 kb
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
Jump to Line
Something went wrong with that request. Please try again.