]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/library-vars.make
b2555a9c84588c96f9a8eea8ff08dbb4233d6cd0
[lilypond.git] / stepmake / stepmake / library-vars.make
1
2 #ugh ugh .
3 ifndef LIB_SUFFIX
4 LIB_SUFFIX = .a
5 endif
6
7 LIB_PREFIX = lib
8
9 # librarian:
10 #
11 AR = ar
12 AR_COMMAND = $(AR) $(ARFLAGS) $@
13
14 # thanks to Nelson Beebe for this trick.
15 RANLIB_COMMAND=$(RANLIB) $@ || $(AR) ts $@ || true
16
17 # linker:
18 # urg, i don't like this name, it's not what you'd expect
19 LIBRARY = $(outdir)/library.a
20
21 INSTALL_LIBRARY = $(LIB_PREFIX)$(NAME)$(LIB_SUFFIX)
22 SHARED_LIBRARY=$(outdir)/$(LIB_PREFIX)$(NAME).so