/[pcsx2_0.9.7]/trunk/3rdparty/portaudio/Makefile.in
ViewVC logotype

Contents of /trunk/3rdparty/portaudio/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 401 - (show annotations) (download)
Fri Feb 25 17:31:09 2011 UTC (9 years, 5 months ago) by william
File size: 5840 byte(s)
Auto Commited Import of: pcsx2-0.9.7-DEBUG (upstream: v0.9.7.4358 local: v0.9.7.313-latest) in ./trunk
1 #
2 # PortAudio V19 Makefile.in
3 #
4 # Dominic Mazzoni
5 # Modifications by Mikael Magnusson
6 # Modifications by Stelios Bounanos
7 #
8
9 top_srcdir = @top_srcdir@
10 srcdir = @srcdir@
11 VPATH = @srcdir@
12 top_builddir = .
13 PREFIX = @prefix@
14 prefix = $(PREFIX)
15 exec_prefix = @exec_prefix@
16 bindir = @bindir@
17 libdir = @libdir@
18 includedir = @includedir@
19 CC = @CC@
20 CXX = @CXX@
21 CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src/common -I$(top_srcdir)/src/os/unix @CFLAGS@ @DEFS@
22 LIBS = @LIBS@
23 AR = @AR@
24 RANLIB = @RANLIB@
25 SHELL = @SHELL@
26 LIBTOOL = @LIBTOOL@
27 INSTALL = @INSTALL@
28 INSTALL_DATA = @INSTALL_DATA@
29 SHARED_FLAGS = @SHARED_FLAGS@
30 LDFLAGS = @LDFLAGS@
31 DLL_LIBS = @DLL_LIBS@
32 CXXFLAGS = @CXXFLAGS@
33 NASM = @NASM@
34 NASMOPT = @NASMOPT@
35 LN_S = @LN_S@
36 LT_CURRENT=@LT_CURRENT@
37 LT_REVISION=@LT_REVISION@
38 LT_AGE=@LT_AGE@
39
40 OTHER_OBJS = @OTHER_OBJS@
41
42 PALIB = libportaudio.la
43 PAINC = include/portaudio.h
44
45 PA_LDFLAGS = $(LDFLAGS) $(SHARED_FLAGS) -rpath $(libdir) -no-undefined \
46 -export-symbols-regex "(Pa|PaMacCore|PaJack|PaAlsa|PaAsio)_.*" \
47 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
48
49 COMMON_OBJS = \
50 src/common/pa_allocation.o \
51 src/common/pa_converters.o \
52 src/common/pa_cpuload.o \
53 src/common/pa_dither.o \
54 src/common/pa_debugprint.o \
55 src/common/pa_front.o \
56 src/common/pa_process.o \
57 src/common/pa_skeleton.o \
58 src/common/pa_stream.o \
59 src/common/pa_trace.o
60
61 TESTS = \
62 bin/paqa_devs \
63 bin/paqa_errs \
64 bin/patest1 \
65 bin/patest_buffer \
66 bin/patest_callbackstop \
67 bin/patest_clip \
68 bin/patest_dither \
69 bin/patest_hang \
70 bin/patest_in_overflow \
71 bin/patest_latency \
72 bin/patest_leftright \
73 bin/patest_longsine \
74 bin/patest_many \
75 bin/patest_maxsines \
76 bin/patest_multi_sine \
77 bin/patest_out_underflow \
78 bin/patest_pink \
79 bin/patest_prime \
80 bin/patest_read_record \
81 bin/patest_read_write_wire \
82 bin/patest_record \
83 bin/patest_ringmix \
84 bin/patest_saw \
85 bin/patest_sine8 \
86 bin/patest_sine \
87 bin/patest_sine_channelmaps \
88 bin/patest_sine_formats \
89 bin/patest_sine_time \
90 bin/patest_sine_srate \
91 bin/patest_start_stop \
92 bin/patest_stop \
93 bin/patest_stop_playout \
94 bin/patest_toomanysines \
95 bin/patest_underflow \
96 bin/patest_wire \
97 bin/patest_write_sine \
98 bin/pa_devs \
99 bin/pa_fuzz \
100 bin/pa_minlat
101
102 # Most of these don't compile yet. Put them in TESTS, above, if
103 # you want to try to compile them...
104 ALL_TESTS = \
105 $(TESTS) \
106 bin/patest_sync \
107 bin/debug_convert \
108 bin/debug_dither_calc \
109 bin/debug_dual \
110 bin/debug_multi_in \
111 bin/debug_multi_out \
112 bin/debug_record \
113 bin/debug_record_reuse \
114 bin/debug_sine_amp \
115 bin/debug_sine \
116 bin/debug_sine_formats \
117 bin/debug_srate \
118 bin/debug_test1
119
120 OBJS := $(COMMON_OBJS) $(OTHER_OBJS)
121
122 LTOBJS := $(OBJS:.o=.lo)
123
124 SRC_DIRS = \
125 src/common \
126 src/hostapi/alsa \
127 src/hostapi/asihpi \
128 src/hostapi/asio \
129 src/hostapi/coreaudio \
130 src/hostapi/dsound \
131 src/hostapi/jack \
132 src/hostapi/oss \
133 src/hostapi/wasapi \
134 src/hostapi/wdmks \
135 src/hostapi/wmme \
136 src/os/unix \
137 src/os/win
138
139 SUBDIRS =
140 @ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp
141
142 all: lib/$(PALIB) all-recursive tests
143
144 tests: bin-stamp $(TESTS)
145
146
147 # With ASIO enabled we must link libportaudio and all test programs with CXX
148 lib/$(PALIB): lib-stamp $(LTOBJS) $(MAKEFILE) $(PAINC)
149 @WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS)
150 @WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) $(PA_LDFLAGS) -o lib/$(PALIB) $(LTOBJS) $(DLL_LIBS)
151
152 $(ALL_TESTS): bin/%: lib/$(PALIB) $(MAKEFILE) $(PAINC) test/%.c
153 @WITH_ASIO_FALSE@ $(LIBTOOL) --mode=link $(CC) -o $@ $(CFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS)
154 @WITH_ASIO_TRUE@ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $(CXXFLAGS) $(top_srcdir)/test/$*.c lib/$(PALIB) $(LIBS)
155
156
157 install: lib/$(PALIB) portaudio-2.0.pc
158 $(INSTALL) -d $(DESTDIR)$(libdir)
159 $(LIBTOOL) --mode=install $(INSTALL) lib/$(PALIB) $(DESTDIR)$(libdir)
160 $(INSTALL) -d $(DESTDIR)$(includedir)
161 $(INSTALL_DATA) -m 644 $(top_srcdir)/$(PAINC) $(DESTDIR)$(includedir)/portaudio.h
162 $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
163 $(INSTALL) -m 644 portaudio-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/portaudio-2.0.pc
164 @echo ""
165 @echo "------------------------------------------------------------"
166 @echo "PortAudio was successfully installed."
167 @echo ""
168 @echo "On some systems (e.g. Linux) you should run 'ldconfig' now"
169 @echo "to make the shared object available. You may also need to"
170 @echo "modify your LD_LIBRARY_PATH environment variable to include"
171 @echo "the directory $(libdir)"
172 @echo "------------------------------------------------------------"
173 @echo ""
174 $(MAKE) install-recursive
175
176 uninstall:
177 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(PALIB)
178 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(includedir)/portaudio.h
179 $(MAKE) uninstall-recursive
180
181 clean:
182 $(LIBTOOL) --mode=clean rm -f $(LTOBJS) $(ALL_TESTS) lib/$(PALIB)
183 $(RM) bin-stamp lib-stamp
184 -$(RM) -r bin lib
185
186 distclean: clean
187 $(RM) config.log config.status Makefile libtool portaudio-2.0.pc
188
189 %.o: %.c $(MAKEFILE) $(PAINC)
190 $(CC) -c $(CFLAGS) $< -o $@
191
192 %.lo: %.c $(MAKEFILE) $(PAINC)
193 $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $< -o $@
194
195 %.lo: %.cpp $(MAKEFILE) $(PAINC)
196 $(LIBTOOL) --mode=compile --tag=CXX $(CXX) -c $(CXXFLAGS) $< -o $@
197
198 %.o: %.cpp $(MAKEFILE) $(PAINC)
199 $(CXX) -c $(CXXFLAGS) $< -o $@
200
201 %.o: %.asm
202 $(NASM) $(NASMOPT) -o $@ $<
203
204 bin-stamp:
205 -mkdir bin
206 touch $@
207
208 lib-stamp:
209 -mkdir lib
210 -mkdir -p $(SRC_DIRS)
211 touch $@
212
213 Makefile: Makefile.in config.status
214 $(SHELL) config.status
215
216 all-recursive:
217 if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir all; done ; fi
218
219 install-recursive:
220 if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir install; done ; fi
221
222 uninstall-recursive:
223 if test -n "$(SUBDIRS)" ; then for dir in "$(SUBDIRS)"; do $(MAKE) -C $$dir uninstall; done ; fi

  ViewVC Help
Powered by ViewVC 1.1.22