1 Star 0 Fork 4

xiaoliu/liblouis

forked from openKylin/liblouis 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 2.38 KB
一键复制 编辑 原始数据 按行查看 历史
openKylinBot 提交于 2022-05-14 01:01 . Import Upstream version 3.12.0
SUBDIRS = gnulib liblouis tools tables man tests python windows
# only build the documentation if we have makeinfo 5
if HAVE_MAKEINFO_5
SUBDIRS += doc
endif
ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4 -I tools/gnulib/m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = liblouis.pc
EXTRA_DIST = liblouis.pc README.windows HACKING
distwin32 : distwin32-zip
distwin32-zip : distwin32-dir
rm -f liblouis-$(VERSION)-win32.zip
zip -r liblouis-$(VERSION)-win32.zip liblouis-$(VERSION)-win32
distwin32-dir :
rm -rf liblouis-$(VERSION)-win32/*
@if which i586-mingw32msvc-gcc >/dev/null; then \
./configure --host i586-mingw32msvc --prefix=$(CURDIR)/liblouis-$(VERSION)-win32 && \
make LDFLAGS="$$LDFLAGS -avoid-version -Xcompiler -static-libgcc" && \
make check WINE=wine32&& \
make install; \
elif which i686-w64-mingw32-gcc >/dev/null; then \
./configure --host i686-w64-mingw32 --prefix=$(CURDIR)/liblouis-$(VERSION)-win32 && \
make LDFLAGS="$$LDFLAGS -avoid-version -Xcompiler -static-libgcc" && \
make install; \
elif which docker >/dev/null; then \
gtar --transform='s/Dockerfile.dev/Dockerfile/' --exclude-from=.dockerignore -cz * | docker build -t liblouis-dev - && \
mkdir -p liblouis-$(VERSION)-win32 && \
docker run --rm -v $(CURDIR)/liblouis-$(VERSION)-win32:/root/src/liblouis/liblouis-$(VERSION)-win32 liblouis-dev \
make CPPFLAGS='-I/root/build/win32/libyaml/include/' \
LDFLAGS='-L/root/build/win32/libyaml/lib/' \
distwin32-dir; \
fi
distwin64 : distwin64-zip
distwin64-zip : distwin64-dir
rm -f liblouis-$(VERSION)-win64.zip
zip -r liblouis-$(VERSION)-win64.zip liblouis-$(VERSION)-win64
distwin64-dir :
rm -rf liblouis-$(VERSION)-win64/*
@if which x86_64-w64-mingw32-gcc >/dev/null; then \
./configure --host x86_64-w64-mingw32 --prefix=$(CURDIR)/liblouis-$(VERSION)-win64 && \
make LDFLAGS='-avoid-version -Xcompiler -static-libgcc' && \
make check WINE=wine64&& \
make install; \
elif which docker >/dev/null; then \
gtar --transform='s/Dockerfile.dev/Dockerfile/' --exclude-from=.dockerignore -cz * | docker build -t liblouis-dev - && \
mkdir -p liblouis-$(VERSION)-win64 && \
docker run --rm -v $(CURDIR)/liblouis-$(VERSION)-win64:/root/src/liblouis/liblouis-$(VERSION)-win64 liblouis-dev \
make distwin64-dir; \
fi
# .dockerignore
.dockerignore : .gitignore
sed -e 's|^\([^/#]\)|# \1|' -e 's|^/||' -e 's|\+|\\+|g' $< >$@
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaoliu458296371/liblouis.git
git@gitee.com:xiaoliu458296371/liblouis.git
xiaoliu458296371
liblouis
liblouis
openkylin/yangtze

搜索帮助

0d507c66 1850385 C8b1a773 1850385