Only call wininet callbacks if dwContext is non-zero.
[wine] / libs / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = none
6
7 SUBDIRS = \
8         port \
9         unicode \
10         uuid \
11         wine \
12         wpp
13
14 INSTALLSUBDIRS = \
15         unicode \
16         uuid \
17         wine
18
19 SYMLINKS = \
20         libwine.$(LIBEXT) \
21         libwine_port.a \
22         libwine_unicode.$(LIBEXT) \
23         libwine_uuid.a \
24         libwpp.a
25
26 @MAKE_RULES@
27
28 ALL_SYMLINKS =  $(SYMLINKS) $(SYMLINKS:.so=.so.1) $(SYMLINKS:.dll=.a)
29
30 all: $(SUBDIRS) $(ALL_SYMLINKS)
31
32 install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
33 install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
34
35 clean::
36         $(RM) $(ALL_SYMLINKS)
37
38 # Symlinks
39
40 libwine.so libwine.so.1 libwine.dll libwine.a: wine/libwine.$(LIBEXT)
41         $(RM) $@ && $(LN_S) wine/$@ $@
42
43 libwine_unicode.so libwine_unicode.so.1 libwine_unicode.dll libwine_unicode.a: unicode/libwine_unicode.$(LIBEXT)
44         $(RM) $@ && $(LN_S) unicode/$@ $@
45
46 libwine_port.a: port/libwine_port.a
47         $(RM) $@ && $(LN_S) port/$@ $@
48
49 libwine_uuid.a: uuid/libwine_uuid.a
50         $(RM) $@ && $(LN_S) uuid/$@ $@
51
52 libwpp.a: wpp/libwpp.a
53         $(RM) $@ && $(LN_S) wpp/$@ $@
54
55 # Directory dependencies
56
57 wine/libwine.$(LIBEXT): wine
58 unicode/libwine_unicode.$(LIBEXT): unicode
59 port/libwine_port.a: port
60 uuid/libwine_uuid.a: uuid
61 wpp/libwpp.a: wpp
62
63 wine wine/__install__ wine/__install-lib__: libwine_port.a
64
65 ### Dependencies: