2 ifneq ($(CYGWIN_BUILD),)
3 SHARED_LIB_PREFIX = cyg
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
9 SHARED_LIB_PREFIX = lib
10 SHARED_LIB_SUFFIX = .so
11 SHARED_LIB_VERSION = $(VERSION)
12 SHARED_LIB_VERSION_SUFFIX =
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)
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 $@)"
22 LO_FILES += $(addprefix $(outdir)/, $(Y_FILES:.y=.lo) $(C_FILES:.c=.lo) $(L_FILES:.l=.lo))