File: Makefile.in

package info (click to toggle)
stk 4.5.2+dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,620 kB
  • ctags: 6,787
  • sloc: cpp: 30,471; ansic: 3,216; tcl: 2,375; sh: 2,319; perl: 114; objc: 60; makefile: 46
file content (116 lines) | stat: -rw-r--r-- 3,331 bytes parent folder | download
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
### 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@
LIBDIR = @libdir@
PREFIX = @prefix@
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 \
					\
					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 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
LIBS     = @LIBS@

REALTIME = @realtime@
ifeq ($(REALTIME),yes)
	OBJECTS += RtWvOut.o RtWvIn.o InetWvOut.o InetWvIn.o Thread.o Mutex.o Socket.o TcpClient.o TcpServer.o UdpSocket.o @objects@
	LIBS += -lrtaudio -lrtmidi
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@ `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBS)
	$(LN) -s @sharedname@ $(SHAREDLIB)

install-headers:
	install -d $(DESTDIR)$(PREFIX)$(INCLUDEDIR)/stk
	cp -r ../include/*.h $(DESTDIR)$(PREFIX)$(INCLUDEDIR)/stk

install: $(SHAREDLIB) install-headers
	install -d $(DESTDIR)$(PREFIX)$(LIBDIR)
	install -m 644 @sharedname@ $(DESTDIR)$(PREFIX)$(LIBDIR)
	ln -sf @sharedname@ $(DESTDIR)$(PREFIX)$(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