1 DEFS = @DLLFLAGS@ -D__WINE__
2 TOPSRCDIR = @top_srcdir@
18 all: libwine.$(LIBEXT)
22 libwine.so.$(SOVERSION): $(OBJS)
23 $(LDSHARED) $(OBJS) $(LIBS) -o $@
25 libwine.so: libwine.so.$(SOVERSION)
26 $(RM) $@ && $(LN_S) libwine.so.$(SOVERSION) $@
34 $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine.a -o libwine.dll $(OBJS)
36 install_so: libwine.so.$(SOVERSION)
37 [ -d $(libdir) ] || $(MKDIR) $(libdir)
38 $(INSTALL_PROGRAM) libwine.so.$(SOVERSION) $(libdir)/libwine.so.$(SOVERSION)
39 cd $(libdir) && $(RM) libwine.so && $(LN_S) libwine.so.$(SOVERSION) libwine.so
42 [ -d $(libdir) ] || $(MKDIR) $(libdir)
43 $(INSTALL_DATA) libwine.a $(libdir)/libwine.a
45 install:: all $(LIBEXT:%=install_%)
48 cd $(libdir) && $(RM) libwine.a libwine.so libwine.so.$(SOVERSION)
51 $(RM) libwine.so.$(SOVERSION)