-
Notifications
You must be signed in to change notification settings - Fork 182
/
Makefile.in
118 lines (98 loc) · 3.27 KB
/
Makefile.in
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
### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
### libstk Makefile - for various flavors of unix
STATICLIB = libstk.a
SHAREDLIB = @sharedlib@
MAJOR = 4
RELEASE = @PACKAGE_VERSION@
AR = ar -rsc
RM = /bin/rm
LN = /bin/ln
OBJECT_PATH = @object_path@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
vpath %.o $(OBJECT_PATH)
OBJECTS = Stk.o Generator.o Noise.o Blit.o BlitSaw.o BlitSquare.o Granulate.o \
Envelope.o ADSR.o Asymp.o Modulate.o SineWave.o FileLoop.o SingWave.o \
FileRead.o FileWrite.o WvIn.o FileWvIn.o WvOut.o FileWvOut.o \
Filter.o Fir.o Iir.o OneZero.o OnePole.o PoleZero.o TwoZero.o TwoPole.o \
BiQuad.o FormSwep.o Delay.o DelayL.o DelayA.o TapDelay.o\
\
Effect.o PRCRev.o JCRev.o NRev.o FreeVerb.o \
Chorus.o Echo.o PitShift.o LentPitShift.o \
Function.o ReedTable.o JetTable.o BowTable.o Cubic.o \
Voicer.o Vector3D.o Sphere.o Twang.o Guitar.o \
\
Instrmnt.o Clarinet.o BlowHole.o Saxofony.o Flute.o Recorder.o Brass.o BlowBotl.o \
Bowed.o Plucked.o StifKarp.o Sitar.o Mandolin.o Mesh2D.o \
FM.o Rhodey.o Wurley.o TubeBell.o HevyMetl.o PercFlut.o BeeThree.o FMVoices.o \
Sampler.o Moog.o Simple.o Drummer.o Shakers.o \
Modal.o ModalBar.o BandedWG.o Resonate.o VoicForm.o Phonemes.o Whistle.o \
\
Messager.o Skini.o MidiFileIn.o
INCLUDE = @include@
ifeq ($(strip $(INCLUDE)),)
vpath %.h ../include
INCLUDE = -I../include
else
vpath %.h ../include $(INCLUDE)
INCLUDE = -I../include -I@include@
endif
CC = @CXX@
DEFS = @CPPFLAGS@
DEFS += @byte_order@
CFLAGS = @CXXFLAGS@
CFLAGS += $(INCLUDE) -Iinclude -fPIC
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
REALTIME = @realtime@
ifeq ($(REALTIME),yes)
OBJECTS += RtMidi.o RtAudio.o RtWvOut.o RtWvIn.o InetWvOut.o InetWvIn.o Thread.o Mutex.o Socket.o TcpClient.o TcpServer.o UdpSocket.o @objects@
endif
BUILD_STATIC = @build_static@
BUILD_SHARED = @build_shared@
DEFAULT_TARGETS =
ifeq ($(BUILD_STATIC),yes)
DEFAULT_TARGETS += $(STATICLIB)
endif
ifeq ($(BUILD_SHARED),yes)
DEFAULT_TARGETS += $(SHAREDLIB)
endif
RAWWAVES = @rawwaves@
ifeq ($(strip $(RAWWAVES)), )
RAWWAVES = ../../rawwaves/
endif
DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\"
%.o : %.cpp $(OBJECT_PATH)/.placeholder
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
%.o : ../src/include/%.cpp $(OBJECT_PATH)/.placeholder
$(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
all : $(DEFAULT_TARGETS)
$(OBJECT_PATH)/.placeholder:
mkdir -vp $(OBJECT_PATH)
touch $(OBJECT_PATH)/.placeholder
$(STATICLIB) : $(OBJECTS)
$(RM) -f $(STATICLIB)
$(AR) $(STATICLIB) $(OBJECT_PATH)/*.o
$(SHAREDLIB) : $(OBJECTS)
$(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB)
$(CC) $(LDFLAGS) -fPIC @libflags@ $(OBJECT_PATH)/*.o $(LIBS)
$(LN) -s @sharedname@ $(SHAREDLIB)
install-headers:
install -d $(DESTDIR)$(includedir)/stk
cp -R ../include/*.h $(DESTDIR)$(includedir)/stk
install: $(SHAREDLIB) install-headers
install -d $(DESTDIR)$(libdir)
install -m 644 @sharedname@ $(DESTDIR)$(libdir)
ln -sf @sharedname@ $(DESTDIR)$(libdir)/$(SHAREDLIB)
$(OBJECTS) : Stk.h
clean :
$(RM) -f $(OBJECT_PATH)/*.o
$(RM) -f $(STATICLIB)
$(RM) -f $(SHAREDLIB)* @sharedname@
$(RM) -f *~
$(RM) -fR *.dSYM
distclean: clean
$(RM) Makefile