Added DM_REPOSITION.
[wine/multimedia.git] / library / Makefile.in
blobab3271598d486854ed0f8425b0dfff6f657ec292
1 DEFS = @DLLFLAGS@ -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 LIBEXT = @LIBEXT@
7 MODULE = none
8 SOVERSION = 1.0
9 SONAME = libwine.so
11 C_SRCS = \
12 debug.c \
13 loader.c \
14 port.c
16 all: libwine.$(LIBEXT)
18 @MAKE_RULES@
20 libwine.so.$(SOVERSION): $(OBJS)
21 $(LDSHARED) $(OBJS) -o $@
23 libwine.so: libwine.so.$(SOVERSION)
24 $(RM) $@ && $(LN_S) libwine.so.$(SOVERSION) $@
26 libwine.a: $(OBJS)
27 $(RM) $@
28 $(AR) $@ $(OBJS)
29 $(RANLIB) $@
31 install_so: libwine.so.$(SOVERSION)
32 [ -d $(libdir) ] || $(MKDIR) $(libdir)
33 $(INSTALL_PROGRAM) libwine.so.$(SOVERSION) $(libdir)/libwine.so.$(SOVERSION)
34 cd $(libdir) && $(RM) libwine.so && $(LN_S) libwine.so.$(SOVERSION) libwine.so
36 install_a: libwine.a
37 [ -d $(libdir) ] || $(MKDIR) $(libdir)
38 $(INSTALL_DATA) libwine.a $(libdir)/libwine.a
40 install:: all $(LIBEXT:%=install_%)
42 uninstall::
43 cd $(libdir) && $(RM) libwine.a libwine.so libwine.so.$(SOVERSION)
45 clean::
46 $(RM) libwine.so.$(SOVERSION)
48 ### Dependencies: