History

Win32/Makefile.mingw.in: remove.

autotools work fine now.

Ozkan Sezer committed 6 years ago

Commit 0a5e04c1 parent 356c10c2 files · +0 −161Browse files

Unified · Split

2 files
  1. Win32/Makefile.mingw.in +0 −160
  2. configure.ac +0 −1
Win32/Makefile.mingw.in+0−160
@@ -1,160 +0,0 @@
1# MinGW specific Makefile for libsamplerate.
2
3@SET_MAKE@
4
5PROGRAMS = sndfile-resample.exe
6TARGETS = libsamplerate.dll $(PROGRAMS) varispeed-play.exe samplerate.pc
7
8AR = @AR@
9CC = @CC@
10CFLAGS = @CFLAGS@ -Isrc
11COMPILER_IS_GCC = @COMPILER_IS_GCC@
12CPP = @CPP@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15DLLTOOL = @DLLTOOL@
16DLLWRAP = @DLLWRAP@
17FFTW3_CFLAGS = @FFTW3_CFLAGS@
18FFTW3_LIBS = @FFTW3_LIBS@
19INSTALL = @INSTALL@
20INSTALL_DATA = ${INSTALL} -m 644
21install_sh = @install_sh@
22LDFLAGS = @LDFLAGS@
23LN_S = @LN_S@
24PEXPORTS = @PEXPORTS@
25PACKAGE = @PACKAGE@
26PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
27PACKAGE_NAME = @PACKAGE_NAME@
28PACKAGE_STRING = @PACKAGE_STRING@
29PACKAGE_TARNAME = @PACKAGE_TARNAME@
30PACKAGE_VERSION = @PACKAGE_VERSION@
31RANLIB = @RANLIB@
32SNDFILE_CFLAGS = -std=c99 @SNDFILE_CFLAGS@
33SNDFILE_LIBS = @SNDFILE_LIBS@
34STRIP = @STRIP@
35
36#====================================================================
37# Target directories.
38
39bindir = @bindir@
40exec_prefix = @exec_prefix@
41htmldocdir = @htmldocdir@
42includedir = @includedir@
43libdir = @libdir@
44pkgconfigdir = @libdir@/pkgconfig
45prefix = @prefix@
46
47#====================================================================
48# Targets
49
50all : $(TARGETS)
51
52clean :
53 rm -f $(TARGETS) *.del *.lib src/*.o tests/*.o tests/*.exe
54
55install : $(TARGETS)
56 $(install_sh) -c libsamplerate.dll $(libdir)
57 $(install_sh) -c samplerate.pc $(pkgconfigdir)
58 @for prog in $(PROGRAMS); do \
59 echo "installing ... $$prog" ; \
60 $(install_sh) -c "$$prog" $(bindir) ; \
61 done;
62 $(install_sh) -c src/samplerate.h $(includedir)
63
64uninstall :
65 rm -f $(libdir)/libsamplerate.dll
66 rm -f $(pkgconfigdir)/samplerate.pc
67 @for prog in $(PROGRAMS); do \
68 echo "removing ... $(bindir)/$$prog" ; \
69 rm -f $(bindir)/"$$prog" ; \
70 done;
71 rm -f $(includedir)/samplerate.h
72
73#====================================================================
74
75LINK_OBJS = \
76 src/src_linear.o \
77 src/src_sinc.o \
78 src/src_zoh.o \
79 src/samplerate.o
80
81libsamplerate.dll libsamplerate.lib : $(LINK_OBJS)
82 $(DLLWRAP) --def Win32/libsamplerate.def $(LINK_OBJS) --output-lib libsamplerate.lib -o libsamplerate.dll
83 $(STRIP) libsamplerate.dll
84
85sndfile-resample.exe : examples/sndfile-resample.c libsamplerate.lib
86 $(CC) $(CFLAGS) $(SNDFILE_CFLAGS) $+ $(SNDFILE_LIBS) -o $@
87
88varispeed-play.exe : examples/varispeed-play.c examples/audio_out.o libsamplerate.lib
89 $(CC) $(CFLAGS) $(SNDFILE_CFLAGS) $+ $(SNDFILE_LIBS) -lwinmm -o $@
90
91examples/audio_out.o : examples/audio_out.c
92 $(CC) $(CFLAGS) $(SNDFILE_CFLAGS) -c $+ -o $@
93
94samplerate.pc : samplerate.pc.in config.status
95 @./config.status $@
96
97config.status :
98 ./configure
99
100#====================================================================
101# Testing programs.
102
103TEST_PROGS = \
104 tests/misc_test.exe \
105 tests/termination_test.exe \
106 tests/simple_test.exe \
107 tests/callback_test.exe \
108 tests/reset_test.exe \
109 tests/clone_test.exe \
110 tests/multi_channel_test.exe \
111 tests/float_short_test.exe \
112 tests/snr_bw_test.exe
113
114
115check : $(TEST_PROGS)
116 tests/misc_test.exe
117 tests/termination_test.exe
118 tests/simple_test.exe
119 tests/callback_test.exe
120 tests/reset_test.exe
121 tests/clone_test.exe
122 tests/multi_channel_test.exe
123 tests/float_short_test.exe
124 tests/snr_bw_test.exe
125 @echo ----------------------------------------------------------------------
126 @echo libsamplerate passed all tests
127 @echo ----------------------------------------------------------------------
128
129#====================================================================
130# Test programs.
131
132tests/misc_test.exe : tests/misc_test.c tests/util.c libsamplerate.lib
133 $(CC) $(CFLAGS) $+ -o $@
134
135tests/termination_test.exe : tests/termination_test.c tests/util.c libsamplerate.lib
136 $(CC) $(CFLAGS) $+ -o $@
137
138tests/simple_test.exe : tests/simple_test.c tests/util.c libsamplerate.lib
139 $(CC) $(CFLAGS) $+ -o $@
140
141tests/callback_test.exe : tests/callback_test.c tests/util.c libsamplerate.lib
142 $(CC) $(CFLAGS) $+ -o $@
143
144tests/reset_test.exe : tests/reset_test.c tests/util.c libsamplerate.lib
145 $(CC) $(CFLAGS) $+ -o $@
146
147tests/clone_test.exe : tests/clone_test.c tests/util.c libsamplerate.lib
148 $(CC) $(CFLAGS) $+ -o $@
149
150tests/float_short_test.exe : tests/float_short_test.c tests/util.c libsamplerate.lib
151 $(CC) $(CFLAGS) $+ -o $@
152
153tests/multi_channel_test.exe : tests/multi_channel_test.c tests/util.c tests/calc_snr.c libsamplerate.lib
154 $(CC) $(CFLAGS) $(FFTW3_CFLAGS) $+ $(FFTW3_LIBS) -o $@
155
156tests/snr_bw_test.exe : tests/snr_bw_test.c tests/util.c tests/calc_snr.c libsamplerate.lib
157 $(CC) $(CFLAGS) $(FFTW3_CFLAGS) $+ $(FFTW3_LIBS) -o $@
158
159# End of Makefile
160#====================================================================
configure.ac+0−1
@@ -290,7 +290,6 @@ AC_SUBST(OS_SPECIFIC_LINKS) · 289 unmodified lines
290AC_CONFIG_FILES([290AC_CONFIG_FILES([
291 Makefile291 Makefile
292 src/Version_script292 src/Version_script
293 Win32/Makefile.mingw
294 libsamplerate.spec293 libsamplerate.spec
295 samplerate.pc294 samplerate.pc
296 ])295 ])

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t