File: Makefile.am

package info (click to toggle)
smpeg 0.4.5%2Bcvs20030824-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,332 kB
  • sloc: cpp: 14,969; sh: 10,315; ansic: 2,316; asm: 544; makefile: 125
file content (94 lines) | stat: -rw-r--r-- 1,772 bytes parent folder | download | duplicates (4)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94

## Makefile.am for the smpeg library

# These are the subdirectories that are always built
SUBDIRS = audio video

CXXLD = g++

bin_SCRIPTS = smpeg-config

# The smpeg library target
lib_LTLIBRARIES = libsmpeg.la

libsmpeg_la_SOURCES =		\
	MPEG.cpp		\
	MPEGring.cpp		\
	MPEGlist.cpp		\
	MPEGstream.cpp		\
	MPEGsystem.cpp		\
	MPEGfilter.c		\
	smpeg.cpp

libsmpegincludedir = $(includedir)/smpeg
libsmpeginclude_HEADERS =	\
	MPEG.h			\
	MPEGaction.h		\
	MPEGaudio.h		\
	MPEGerror.h		\
	MPEGfilter.h		\
	MPEGring.h		\
	MPEGlist.h		\
	MPEGstream.h		\
	MPEGsystem.h		\
	MPEGvideo.h		\
	smpeg.h

libsmpeg_la_LDFLAGS = 		\
        -release $(LT_RELEASE)	\
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -lstdc++

libsmpeg_la_LIBADD =		\
	audio/libaudio.la	\
	video/libvideo.la

EXTRA_DIST =		\
	CHANGES		\
	COPYING		\
	TODO		\
	README		\
	README.SDL_mixer \
	plaympeg.1	\
	gtv.1		\
	VisualC.zip	\
	smpeg.m4	\
	autogen.sh

# Sample MPEG players
if HAVE_GTK
GTK_PLAYER = gtv
else
GTK_PLAYER =
endif
if HAVE_OPENGL
OPENGL_PLAYER = glmovie
else
OPENGL_PLAYER =
endif
bin_PROGRAMS = plaympeg $(GTK_PLAYER) $(OPENGL_PLAYER)

# Sources for plaympeg
man_MANS = plaympeg.1 gtv.1
plaympeg_SOURCES = plaympeg.c
plaympeg_LDADD = libsmpeg.la

# Sources for gtv
gtv_SOURCES = gtv.c gtv.h
gtv_LDADD = @GTK_LIBS@ @X11_LIBS@ libsmpeg.la

# Sources for glmovie
glmovie_SOURCES = glmovie-tile.c glmovie.c glmovie.h
glmovie_LDADD = @GL_LIBS@ libsmpeg.la

# M4 macro file for inclusion with autoconf
m4datadir = $(datadir)/aclocal
m4data_DATA = smpeg.m4

# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: dist

# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
	rpm -ba smpeg.spec