1 DEFS = @DLLFLAGS@ -D__WINE__ -DDLLDIR="\"$(dlldir)\""
2 TOPSRCDIR = @top_srcdir@
19 all: libwine.$(LIBEXT)
23 libwine.so.$(SOVERSION): $(OBJS)
24 $(LDSHARED) $(OBJS) $(EXTRALIBS) $(LIBS) -o $@
26 libwine.so: libwine.so.$(SOVERSION)
27 $(RM) $@ && $(LN_S) libwine.so.$(SOVERSION) $@
35 $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine.a -o libwine.dll $(OBJS) -lmsvcrt
37 install_so: libwine.so.$(SOVERSION)
38 $(MKINSTALLDIRS) $(libdir)
39 $(INSTALL_PROGRAM) libwine.so.$(SOVERSION) $(libdir)/libwine.so.$(SOVERSION)
40 cd $(libdir) && $(RM) libwine.so && $(LN_S) libwine.so.$(SOVERSION) libwine.so
43 $(MKINSTALLDIRS) $(libdir)
44 $(INSTALL_DATA) libwine.a $(libdir)/libwine.a
46 install_dll: libwine.dll
47 $(MKINSTALLDIRS) $(libdir)
48 $(INSTALL_DATA) libwine.dll $(libdir)/libwine.dll
50 install:: $(LIBEXT:%=install_%)
53 $(RM) $(libdir)/libwine.a $(libdir)/libwine.dll $(libdir)/libwine.so $(libdir)/libwine.so.$(SOVERSION)
56 $(RM) libwine.so.$(SOVERSION)