加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Ozkan Sezer 提交于 2021-01-03 00:01 . fixed 'make dist'
# Makefile.am for the SDL sample image loading library and viewer
lib_LTLIBRARIES = libSDL2_image.la
libSDL2_imageincludedir = $(includedir)/SDL2
libSDL2_imageinclude_HEADERS = \
SDL_image.h
if USE_IMAGEIO
IMAGEIO_SOURCE = IMG_ImageIO.m
endif
libSDL2_image_la_SOURCES = \
IMG.c \
IMG_bmp.c \
IMG_gif.c \
IMG_jpg.c \
IMG_lbm.c \
IMG_pcx.c \
IMG_png.c \
IMG_pnm.c \
IMG_svg.c \
IMG_tga.c \
IMG_tif.c \
IMG_xcf.c \
IMG_xpm.c \
IMG_xv.c \
IMG_webp.c \
IMG_WIC.c \
$(IMAGEIO_SOURCE) \
miniz.h \
nanosvg.h \
nanosvgrast.h
EXTRA_DIST = \
Android.mk \
debian \
external \
version.rc \
Makefile.os2 \
VisualC \
VisualC-WinRT \
Xcode \
Xcode-iOS \
IMG_xxx.c \
$(srcdir)/*.m \
SDL2_image.spec \
gcc-fat.sh \
autogen.sh \
$(srcdir)/*.txt
if USE_VERSION_RC
libSDL2_image_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
libSDL2_image_la_LIBADD = $(IMG_LIBS)
libSDL2_image_la_DEPENDENCIES = version.o
else
libSDL2_image_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL2_image_la_LIBADD = $(IMG_LIBS)
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = SDL2_image.pc
%.o : %.rc
$(WINDRES) $< $@
noinst_PROGRAMS = showimage showanim
showimage_LDADD = libSDL2_image.la
showanim_LDADD = libSDL2_image.la
# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: distcheck
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化