Add the wine-devel list and myself to the entities to be referenced in
[wine] / library / Makefile.in
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@
11
12 C_SRCS = \
13         config.c \
14         debug.c \
15         errno.c \
16         ldt.c \
17         loader.c \
18         port.c
19
20 all: libwine.$(LIBEXT)
21
22 @MAKE_RULES@
23
24 libwine.so.$(SOVERSION): $(OBJS)
25         $(LDSHARED) $(OBJS) $(EXTRALIBS) $(LIBS) -o $@
26
27 libwine.so: libwine.so.$(SOVERSION)
28         $(RM) $@ && $(LN_S) libwine.so.$(SOVERSION) $@
29
30 libwine.a: $(OBJS)
31         $(RM) $@
32         $(AR) $@ $(OBJS)
33         $(RANLIB) $@
34
35 libwine.dll: $(OBJS)
36         $(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine.a -o libwine.dll $(OBJS) $(EXTRALIBS)
37
38 .PHONY: install_so install_a install_dll
39
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
44
45 install_a: libwine.a dummy
46         $(MKINSTALLDIRS) $(libdir)
47         $(INSTALL_DATA) libwine.a $(libdir)/libwine.a
48
49 install_dll: libwine.dll dummy
50         $(MKINSTALLDIRS) $(libdir)
51         $(INSTALL_DATA) libwine.dll $(libdir)/libwine.dll
52
53 install:: $(LIBEXT:%=install_%)
54
55 uninstall::
56         $(RM) $(libdir)/libwine.a $(libdir)/libwine.dll $(libdir)/libwine.so $(libdir)/libwine.so.$(SOVERSION)
57
58 clean::
59         $(RM) libwine.so.$(SOVERSION)
60
61 ### Dependencies: