Don't try to release the node if we haven't loaded one.
[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         wine \
11         wpp
12
13 INSTALLSUBDIRS = \
14         unicode \
15         wine
16
17 SYMLINKS = \
18         libwine.$(LIBEXT) \
19         libwine_port.a \
20         libwine_unicode.$(LIBEXT) \
21         libwpp.a
22
23 @MAKE_RULES@
24
25 ALL_SYMLINKS =  $(SYMLINKS) $(SYMLINKS:.so=.so.1) $(SYMLINKS:.dylib=.1.dylib) $(SYMLINKS:.dll=.a)
26
27 all: $(SUBDIRS) $(ALL_SYMLINKS)
28
29 install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
30 install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
31
32 clean::
33         $(RM) $(ALL_SYMLINKS)
34
35 # Symlinks
36
37 libwine.so libwine.so.1 libwine.dll libwine.dylib libwine.1.dylib libwine.a: wine/libwine.$(LIBEXT)
38         $(RM) $@ && $(LN_S) wine/$@ $@
39
40 libwine_unicode.so libwine_unicode.so.1 libwine_unicode.dll libwine_unicode.dylib libwine_unicode.1.dylib libwine_unicode.a: unicode/libwine_unicode.$(LIBEXT)
41         $(RM) $@ && $(LN_S) unicode/$@ $@
42
43 libwine_port.a: port/libwine_port.a
44         $(RM) $@ && $(LN_S) port/$@ $@
45
46 libwpp.a: wpp/libwpp.a
47         $(RM) $@ && $(LN_S) wpp/$@ $@
48
49 # Directory dependencies
50
51 wine/libwine.$(LIBEXT): wine
52 unicode/libwine_unicode.$(LIBEXT): unicode
53 port/libwine_port.a: port
54 wpp/libwpp.a: wpp
55
56 wine wine/__install__ wine/__install-lib__: libwine_port.a
57
58 ### Dependencies: