Removed obsolete INT_Int31Handler.
[wine/multimedia.git] / library / Makefile.in
blob4da894087b26d4f86d4bc4bee407c101886e5a96
1 DEFS = @DLLFLAGS@ -D__WINE__ -DDLLDIR="\"$(dlldir)\""
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
10 EXTRALIBS = @DLLIBS@ @CRTLIBS@
12 C_SRCS = \
13 config.c \
14 debug.c \
15 errno.c \
16 ldt.c \
17 loader.c \
18 port.c
20 all: libwine.$(LIBEXT)
22 @MAKE_RULES@
24 libwine.so.$(SOVERSION): $(OBJS)
25 $(LDSHARED) $(OBJS) $(EXTRALIBS) $(LIBS) -o $@
27 libwine.so: libwine.so.$(SOVERSION)
28 $(RM) $@ && $(LN_S) libwine.so.$(SOVERSION) $@
30 libwine.a: $(OBJS)
31 $(RM) $@
32 $(AR) $@ $(OBJS)
33 $(RANLIB) $@
35 libwine.dll: $(OBJS)
36 $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine.a -o libwine.dll $(OBJS) $(EXTRALIBS)
38 .PHONY: install_so install_a install_dll
40 install_so: libwine.so.$(SOVERSION) dummy
41 $(MKINSTALLDIRS) $(libdir)
42 $(INSTALL_PROGRAM) libwine.so.$(SOVERSION) $(libdir)/libwine.so.$(SOVERSION)
43 cd $(libdir) && $(RM) libwine.so && $(LN_S) libwine.so.$(SOVERSION) libwine.so
45 install_a: libwine.a dummy
46 $(MKINSTALLDIRS) $(libdir)
47 $(INSTALL_DATA) libwine.a $(libdir)/libwine.a
49 install_dll: libwine.dll dummy
50 $(MKINSTALLDIRS) $(libdir)
51 $(INSTALL_DATA) libwine.dll $(libdir)/libwine.dll
53 install:: $(LIBEXT:%=install_%)
55 uninstall::
56 $(RM) $(libdir)/libwine.a $(libdir)/libwine.dll $(libdir)/libwine.so $(libdir)/libwine.so.$(SOVERSION)
58 clean::
59 $(RM) libwine.so.$(SOVERSION)
61 ### Dependencies: