1 DEFS
= @DLLFLAGS@
-D__WINESRC__
2 TOPSRCDIR
= @top_srcdir@
9 SONAME
= libwine_unicode.so
84 all: libwine_unicode.
$(LIBEXT
)
88 libwine_unicode.so.
$(SOVERSION
): $(OBJS
)
89 $(LDSHARED
) $(OBJS
) -o
$@
91 libwine_unicode.so
: libwine_unicode.so.
$(SOVERSION
)
92 $(RM
) $@
&& $(LN_S
) libwine_unicode.so.
$(SOVERSION
) $@
94 libwine_unicode.a
: $(OBJS
)
99 # --export-all doesn't work correctly because of dllwrap's bug
100 libwine_unicode.dll
: $(OBJS
) wine_unicode.def
101 $(DLLWRAP
) --def
$(SRCDIR
)/wine_unicode.def
--implib libwine_unicode.a
-o libwine_unicode.dll
$(OBJS
)
103 .PHONY
: install_so install_a install_dll
105 install_so
: libwine_unicode.so.
$(SOVERSION
) dummy
106 $(MKINSTALLDIRS
) $(libdir)
107 $(INSTALL_PROGRAM
) libwine_unicode.so.
$(SOVERSION
) $(libdir)/libwine_unicode.so.
$(SOVERSION
)
108 cd
$(libdir) && $(RM
) libwine_unicode.so
&& $(LN_S
) libwine_unicode.so.
$(SOVERSION
) libwine_unicode.so
110 install_a
: libwine_unicode.a dummy
111 $(MKINSTALLDIRS
) $(libdir)
112 $(INSTALL_DATA
) libwine_unicode.a
$(libdir)/libwine_unicode.a
114 install_dll
: libwine_unicode.dll dummy
115 $(MKINSTALLDIRS
) $(libdir)
116 $(INSTALL_DATA
) libwine_unicode.dll
$(libdir)/libwine_unicode.dll
118 install:: $(LIBEXT
:%=install_
%)
121 $(RM
) $(libdir)/libwine_unicode.a
$(libdir)/libwine_unicode.dll
$(libdir)/libwine_unicode.so
$(libdir)/libwine_unicode.so.
$(SOVERSION
)
124 $(RM
) libwine_unicode.so.
$(SOVERSION
)