File: Makefile.am

package info (click to toggle)
sdl-ttf2.0 2.0.11-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 12,308 kB
  • sloc: sh: 10,170; ansic: 6,423; objc: 520; csh: 219; makefile: 66
file content (63 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (3)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Makefile.am for the SDL truetype font loading library and viewer

lib_LTLIBRARIES = libSDL_ttf.la

libSDL_ttfincludedir = $(includedir)/SDL
libSDL_ttfinclude_HEADERS =	\
	SDL_ttf.h

libSDL_ttf_la_SOURCES =		\
	SDL_ttf.c

EXTRA_DIST =			\
	Android.mk		\
	CHANGES			\
	version.rc		\
	VisualC			\
	Xcode			\
	Xcode-iOS		\
	MPWmake.sea.bin		\
	Watcom-Win32.zip	\
	SDL_ttf.spec		\
	SDL_ttf.spec.in		\
	gcc-fat.sh		\
	autogen.sh

if USE_VERSION_RC
libSDL_ttf_la_LDFLAGS = 	\
	-no-undefined		\
	-release $(LT_RELEASE)	\
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
libSDL_ttf_la_DEPENDENCIES = version.o
else
libSDL_ttf_la_LDFLAGS = 	\
	-no-undefined		\
	-release $(LT_RELEASE)	\
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
endif

# Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
#
# 20120127
# Fix for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556340
# FTBFS with binutils-gold
libSDL_ttf_la_LDFLAGS += -lm

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = SDL_ttf.pc

%.o : %.rc
	$(WINDRES) $< $@

noinst_PROGRAMS = showfont glfont

showfont_LDADD = libSDL_ttf.la
glfont_LDADD = libSDL_ttf.la @GL_LIBS@ @MATHLIB@

# 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