libport: Move wine_cp_wcstombs implementation back to libwine and make it obsolete.
[wine.git] / libs / wine / Makefile.in
blob569fd0869a8678f2e2985ffa2d4ccc8cef732bf4
1 EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS)
3 C_SRCS = \
4 collation.c \
5 config.c \
6 cpsymbol.c \
7 debug.c \
8 digitmap.c \
9 fold.c \
10 ldt.c \
11 loader.c \
12 mbtowc.c \
13 mmap.c \
14 port.c \
15 sortkey.c \
16 utf8.c \
17 wctomb.c
19 EXTRA_OBJS = version.o
21 config_EXTRADEFS = \
22 -DBINDIR='"${bindir}"' \
23 -DDLLDIR='"${dlldir}"' \
24 -DLIB_TO_BINDIR=\"`$(MAKEDEP) -R ${libdir} ${bindir}`\" \
25 -DLIB_TO_DLLDIR=\"`$(MAKEDEP) -R ${libdir} ${dlldir}`\" \
26 -DBIN_TO_DLLDIR=\"`$(MAKEDEP) -R ${bindir} ${dlldir}`\" \
27 -DBIN_TO_DATADIR=\"`$(MAKEDEP) -R ${bindir} ${datadir}/wine`\"
29 SHAREDLIB = $(LIBWINE_SHAREDLIB)
31 libwine_LDFLAGS = $(LIBWINE_LDFLAGS)
32 libwine_DEPS = $(LIBWINE_DEPENDS)
34 version.c: dummy
35 version=`(GIT_DIR=$(top_srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || (rm -f $@ && exit 1)
37 dummy:
38 .PHONY: dummy