File: Makefile.am

package info (click to toggle)
timidity 2.14.0-8.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,560 kB
  • sloc: ansic: 168,736; sh: 3,730; makefile: 1,399; tcl: 1,048; perl: 285; ruby: 126
file content (134 lines) | stat: -rw-r--r-- 2,925 bytes parent folder | download | duplicates (5)
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# TiMidity++ -- MIDI to WAVE converter and player
# Copyright (C) 1999-2002 Masanao Izumo <mo@goice.co.jp>
# Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

include $(top_srcdir)/common.makefile.in

INCLUDES = \
	-I$(top_srcdir)/libarc \
	-I$(top_srcdir)/timidity

noinst_LIBRARIES = libutils.a

libutils_a_SOURCES = \
	bitset.c \
	bitset.h \
	fft4g.c \
	fft4g.h \
	tmdy_getopt.h \
	mblock.c \
	mblock.h \
	memb.c \
	memb.h \
	nkflib.c \
	nkflib.h \
	strtab.c \
	strtab.h \
	support.c \
	support.h \
	timer.c \
	timer.h

EXTRA_libutils_a_SOURCES = \
	fft.c \
	fft.h \
	getopt.c \
	support.c \
	net.c \
	net.h \
	getaddrinfo.c \
	mac_util.c \
	mac_util.h \
	mac_readdir.c \
	mac_readdir.h \
	readdir.h \
	readdir_win.c

if NEEDGETOPT
GETOPT_OBJS = getopt.$(OBJEXT)
endif

if ENABLE_NETWORK
NET_OBJS = net.$(OBJEXT) getaddrinfo.$(OBJEXT)
endif

if ENABLE_SOUND_SPEC
SOUND_SPEC_OBJS = fft.$(OBJEXT)
endif

if W32READDIR
W32READDIR_OBJS = readdir_win.$(OBJEXT)
endif

libutils_LIBADD= \
	$(NET_OBJS) \
	$(W32READDIR_OBJS) \
	$(SOUND_SPEC_OBJS) \
	$(GETOPT_OBJS)

libutils_a_LIBADD=$(libutils_LIBADD)

libutils.a: $(libutils_a_OBJECTS) $(libutils_a_DEPENDENCIES)
if VCPP
	rm -f libutils.a
	rm -f utils.lib
	link -lib $(libutils_a_OBJECTS) $(libutils_LIBADD) -out:utils.lib
	if test -f utils.lib ; then touch $@ ; fi
else
if BORLANDC
	rm -f libutils.a
	rm -f utils.lib
	for foo in  $(libutils_a_OBJECTS) $(libutils_a_LIBADD);do \
	  tlib utils.lib +$$foo; \
	done
	if test -f utils.lib ; then touch $@ ; fi
else
if WATCOM_C
	rm -f libutils.a
	rm -f utils.lib
	for foo in  $(libutils_a_OBJECTS) $(libutils_a_LIBADD);do \
	wlib -q utils.lib +$$foo; \
	done
	if test -f utils.lib ; then touch $@ ; fi
else
if DMC
	rm -f libutils.a
	rm -f utils.lib
	start lib -c utils.lib  $(libutils_a_OBJECTS) $(libutils_a_LIBADD)
	if test -f utils.lib ; then touch $@ ; fi
else
if POCC
	rm -f libutils.a
	rm -f utils.lib
	polib -OUT:utils.lib  $(libutils_a_OBJECTS) $(libutils_a_LIBADD)
	if test -f utils.lib ; then touch $@ ; fi
else
	-rm -f libutils.a
	$(libutils_a_AR) libutils.a $(libutils_a_OBJECTS) $(libutils_a_LIBADD)
	$(RANLIB) libutils.a
endif
endif
endif
endif
endif

clean:
	rm -f *.$(OBJEXT)
	rm -f *.$(so)
	rm -f *.a
	rm -f *.lib