1 DEFS
= @DLLFLAGS@
-D__WINE__
2 TOPSRCDIR
= @top_srcdir@
9 SONAME
= libwine_unicode.so
83 all: libwine_unicode.
$(LIBEXT
)
87 libwine_unicode.so.
$(SOVERSION
): $(OBJS
)
88 $(LDSHARED
) $(OBJS
) -o
$@
90 libwine_unicode.so
: libwine_unicode.so.
$(SOVERSION
)
91 $(RM
) $@
&& $(LN_S
) libwine_unicode.so.
$(SOVERSION
) $@
93 libwine_unicode.a
: $(OBJS
)
98 # --export-all doesn't work correctly because of dllwrap's bug
99 libwine_unicode.dll
: $(OBJS
) wine_unicode.def
100 $(DLLWRAP
) $(DLLWRAPFLAGS
) --def
$(SRCDIR
)/wine_unicode.def
--implib libwine_unicode.a
-o libwine_unicode.dll
$(OBJS
)
102 .PHONY
: install_so install_a install_dll
104 install_so
: libwine_unicode.so.
$(SOVERSION
) dummy
105 $(MKINSTALLDIRS
) $(libdir)
106 $(INSTALL_PROGRAM
) libwine_unicode.so.
$(SOVERSION
) $(libdir)/libwine_unicode.so.
$(SOVERSION
)
107 cd
$(libdir) && $(RM
) libwine_unicode.so
&& $(LN_S
) libwine_unicode.so.
$(SOVERSION
) libwine_unicode.so
109 install_a
: libwine_unicode.a dummy
110 $(MKINSTALLDIRS
) $(libdir)
111 $(INSTALL_DATA
) libwine_unicode.a
$(libdir)/libwine_unicode.a
113 install_dll
: libwine_unicode.dll dummy
114 $(MKINSTALLDIRS
) $(libdir)
115 $(INSTALL_DATA
) libwine_unicode.dll
$(libdir)/libwine_unicode.dll
117 install:: $(LIBEXT
:%=install_
%)
120 $(RM
) $(libdir)/libwine_unicode.a
$(libdir)/libwine_unicode.dll
$(libdir)/libwine_unicode.so
$(libdir)/libwine_unicode.so.
$(SOVERSION
)
123 $(RM
) libwine_unicode.so.
$(SOVERSION
)