vcomp100: Prefer builtin version.
[wine.git] / libs / wine / Makefile.in
blob02f266c4bb3511dc27510abd02200448c9c9a337
1 EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS)
2 EXTRADEFS = -DWINE_UNICODE_API=""
4 C_SRCS = \
5 casemap.c \
6 collation.c \
7 config.c \
8 debug.c \
9 ldt.c \
10 loader.c \
11 mmap.c \
12 port.c \
13 sortkey.c \
14 string.c \
15 wctype.c
17 EXTRA_OBJS = version.o
19 config_EXTRADEFS = \
20 -DBINDIR='"${bindir}"' \
21 -DDLLDIR='"${dlldir}"' \
22 -DLIB_TO_BINDIR=\"`$(MAKEDEP) -R ${libdir} ${bindir}`\" \
23 -DLIB_TO_DLLDIR=\"`$(MAKEDEP) -R ${libdir} ${dlldir}`\" \
24 -DBIN_TO_DLLDIR=\"`$(MAKEDEP) -R ${bindir} ${dlldir}`\" \
25 -DBIN_TO_DATADIR=\"`$(MAKEDEP) -R ${bindir} ${datadir}/wine`\"
27 SHAREDLIB = $(LIBWINE_SHAREDLIB)
28 IMPORTLIB = $(LIBWINE_IMPORTLIB)
29 INSTALL_LIB = $(LIBWINE_INSTALL_LIB)
30 INSTALL_DEV = $(LIBWINE_INSTALL_DEV)
32 libwine_LDFLAGS = $(LIBWINE_LDFLAGS)
33 libwine_DEPS = $(LIBWINE_DEPENDS)
35 version.c: dummy
36 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) $@ && exit 1)
38 dummy:
39 .PHONY: dummy