[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
id3lib3.8.3 3.8.3-15
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,588 kB
  • ctags: 3,080
  • sloc: cpp: 12,358; sh: 9,186; ansic: 7,240; makefile: 354; php: 325
file content (98 lines) | stat: -rw-r--r-- 2,614 bytes parent folder | download | duplicates (10)
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
95
96
97
98
# Copyright (C) 1999 Scott Thomas Haug <scott@id3.org>
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

if ID3_NEEDDEBUG
ID3_DEBUG_LIBS =  -lcwd -lbfd -liberty
else
ID3_DEBUG_LIBS =
endif

if ID3_NEEDZLIB
zlib_lib = $(top_builddir)/zlib/src/libz.la
zlib_include = -I$(top_srcdir)/zlib/include
else
zlib_lib = -lz
zlib_include =
endif

if ID3_NEEDGETOPT_LONG
getopt_lib = getopt.o getopt1.o
else
getopt_lib = 
endif

LDADD =  $(top_builddir)/src/libid3.la $(zlib_lib) $(ID3_DEBUG_LIBS) $(getopt_lib)

INCLUDES = @ID3LIB_DEBUG_FLAGS@ -I$(top_srcdir)/include

bin_PROGRAMS            = id3info id3convert id3tag id3cp
check_PROGRAMS          = \
  id3simple               \
  testpic                 \
  testunicode             \
  testcompression         \
  testremove              \
  testio                  \
  get_pic                 \
  findstr                 \
  findeng

id3cp_SOURCES           = demo_copy_options.c    demo_copy.cpp

id3info_SOURCES         = demo_info_options.c    demo_info.cpp

id3convert_SOURCES      = demo_convert_options.c demo_convert.cpp

id3tag_SOURCES          = demo_tag_options.c     demo_tag.cpp

id3simple_SOURCES       = demo_simple.cpp
testpic_SOURCES         = test_pic.cpp
testunicode_SOURCES     = test_unicode.cpp
testcompression_SOURCES = test_compression.cpp
testremove_SOURCES      = test_remove.cpp
testio_SOURCES          = test_io.cpp
get_pic_SOURCES         = get_pic.cpp
findeng_SOURCES         = findeng.cpp
findstr_SOURCES         = findstr.cpp

tag_files =             \
  composer.jpg          \
  demo_main.cpp         \
  221-compressed.tag    \
  230-compressed.tag    \
  230-picture.tag       \
  230-unicode.tag       \
  230-syncedlyrics.tag  \
  thatspot.tag          \
  ozzy.tag              \
  crc53865.mp3 

getopt_files =          \
  getopt.c              \
  getopt.h              \
  getopt1.c             

header_files =          \
  demo_tag_options.h    \
  demo_copy_options.h   \
  demo_info_options.h   \
  demo_convert_options.h

EXTRA_DIST =            \
  $(tag_files)          \
  $(getopt_files)       \
  $(header_files)       

PROGNAME = gengetopt

%.c: $(srcdir)/%.ggo
	$(PROGNAME) --file-name=$* --unamed-opts --input=$<

demo_%.cpp: demo_%_options.c