37 lines
958 B
Makefile
37 lines
958 B
Makefile
EXTRALIBS = $(DL_LIBS) $(COREFOUNDATION_LIBS) $(CORESERVICES_LIBS) $(I386_LIBS)
|
|
|
|
C_SRCS = \
|
|
collation.c \
|
|
config.c \
|
|
cpsymbol.c \
|
|
debug.c \
|
|
digitmap.c \
|
|
fold.c \
|
|
ldt.c \
|
|
loader.c \
|
|
mmap.c \
|
|
port.c \
|
|
sortkey.c \
|
|
utf8.c
|
|
|
|
EXTRA_OBJS = version.o
|
|
|
|
config_EXTRADEFS = \
|
|
-DBINDIR='"${bindir}"' \
|
|
-DDLLDIR='"${dlldir}"' \
|
|
-DLIB_TO_BINDIR=\"`$(MAKEDEP) -R ${libdir} ${bindir}`\" \
|
|
-DLIB_TO_DLLDIR=\"`$(MAKEDEP) -R ${libdir} ${dlldir}`\" \
|
|
-DBIN_TO_DLLDIR=\"`$(MAKEDEP) -R ${bindir} ${dlldir}`\" \
|
|
-DBIN_TO_DATADIR=\"`$(MAKEDEP) -R ${bindir} ${datadir}/wine`\"
|
|
|
|
SHAREDLIB = $(LIBWINE_SHAREDLIB)
|
|
|
|
libwine_LDFLAGS = $(LIBWINE_LDFLAGS)
|
|
libwine_DEPS = $(LIBWINE_DEPENDS)
|
|
|
|
version.c: dummy
|
|
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)
|
|
|
|
dummy:
|
|
.PHONY: dummy
|