-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile.am
39 lines (35 loc) · 1.25 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
ACLOCAL_AMFLAGS = -I m4
if ENABLE_RUNTIME_LINKING
AM_CPPFLAGS = -DENABLE_RUNTIME_LINKING
endif
if ENABLE_TOOLS
bin_PROGRAMS = s2tc_compress s2tc_decompress s2tc_from_s3tc
s2tc_from_s3tc_SOURCES = s2tc_from_s3tc.cpp s2tc_license.h
s2tc_compress_SOURCES = s2tc_compress.c txc_dxtn.h s2tc_license.h
s2tc_decompress_SOURCES = s2tc_decompress.c txc_dxtn.h s2tc_license.h
man1_MANS = s2tc_compress.1 s2tc_decompress.1 s2tc_from_s3tc.1
if ENABLE_RUNTIME_LINKING
s2tc_compress_LDADD = $(LIBDL_LDADD)
s2tc_decompress_LDADD = $(LIBDL_LDADD)
else
if ENABLE_LIB
s2tc_compress_LDADD = libtxc_dxtn.la
s2tc_decompress_LDADD = libtxc_dxtn.la
else
s2tc_compress_LDADD = -ltxc_dxtn
s2tc_decompress_LDADD = -ltxc_dxtn
endif
endif
endif
if ENABLE_LIB
lib_LTLIBRARIES = libtxc_dxtn.la
libtxc_dxtn_la_SOURCES = s2tc_algorithm.cpp s2tc_libtxc_dxtn.cpp s2tc_common.h s2tc_algorithm.h txc_dxtn.h s2tc_license.h
libtxc_dxtn_la_LDFLAGS = -avoid-version -nodefaultlibs
libtxc_dxtn_la_LIBADD = -lm
libtxc_dxtn_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
library_includedir = $(includedir)
library_include_HEADERS = txc_dxtn.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_HEADERS = txc_dxtn.pc
endif
EXTRA_DIST = README.txt autogen.sh