]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/shared-library-vars.make
* lily/ledger-line-spanner.cc (print): swap linear_combination
[lilypond.git] / stepmake / stepmake / shared-library-vars.make
1
2 ifneq ($(CYGWIN_BUILD),)
3   SHARED_LIB_PREFIX = cyg
4   SHARED_LIB_SUFFIX = 
5   SHARED_LIB_VERSION = $(subst .,-,$(VERSION))
6   SHARED_LIB_VERSION_SUFFIX = .dll
7   ALL_LDFLAGS += -Wl,--image-base=0x10000000 -Wl,--out-implib,lib$(NAME).a
8 else
9   SHARED_LIB_PREFIX = lib
10   SHARED_LIB_SUFFIX = .so
11   SHARED_LIB_VERSION = $(VERSION)
12   SHARED_LIB_VERSION_SUFFIX =
13 endif
14
15 INSTALL_SHARED_LIBRARY = $(SHARED_LIB_PREFIX)$(NAME)$(SHARED_LIB_SUFFIX)$(SHARED_LIB_VERSION)$(SHARED_LIB_VERSION_SUFFIX)
16 SHARED_LIBRARY = $(outdir)/$(INSTALL_SHARED_LIBRARY)
17
18
19 lo-dep-out = $(outdir)/$(subst .lo,.dep,$(notdir $@))#
20 DO_LO_DEP = rm -f $(lo-dep-out); DEPENDENCIES_OUTPUT="$(lo-dep-out) $(outdir)/$(notdir $@)"
21
22 LO_FILES += $(addprefix $(outdir)/, $(Y_FILES:.y=.lo) $(C_FILES:.c=.lo) $(L_FILES:.l=.lo))
23