wine/libs/Makefile.in
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00

65 lines
1.2 KiB
Makefile

TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = none
SUBDIRS = \
port \
unicode \
uuid \
wine \
wpp
INSTALLSUBDIRS = \
unicode \
uuid \
wine
SYMLINKS = \
libwine.$(LIBEXT) \
libwine_port.a \
libwine_unicode.$(LIBEXT) \
libwine_uuid.a \
libwpp.a
@MAKE_RULES@
ALL_SYMLINKS = $(SYMLINKS) $(SYMLINKS:.so=.so.1) $(SYMLINKS:.dll=.a)
all: $(SUBDIRS) $(ALL_SYMLINKS)
install-lib:: $(INSTALLSUBDIRS:%=%/__install-lib__)
install-dev:: $(INSTALLSUBDIRS:%=%/__install-dev__)
clean::
$(RM) $(ALL_SYMLINKS)
# Symlinks
libwine.so libwine.so.1 libwine.dll libwine.a: wine/libwine.$(LIBEXT)
$(RM) $@ && $(LN_S) wine/$@ $@
libwine_unicode.so libwine_unicode.so.1 libwine_unicode.dll libwine_unicode.a: unicode/libwine_unicode.$(LIBEXT)
$(RM) $@ && $(LN_S) unicode/$@ $@
libwine_port.a: port/libwine_port.a
$(RM) $@ && $(LN_S) port/$@ $@
libwine_uuid.a: uuid/libwine_uuid.a
$(RM) $@ && $(LN_S) uuid/$@ $@
libwpp.a: wpp/libwpp.a
$(RM) $@ && $(LN_S) wpp/$@ $@
# Directory dependencies
wine/libwine.$(LIBEXT): wine
unicode/libwine_unicode.$(LIBEXT): unicode
port/libwine_port.a: port
uuid/libwine_uuid.a: uuid
wpp/libwpp.a: wpp
wine wine/__install__ wine/__install-lib__: libwine_port.a
### Dependencies: