Debian Codegraph @

embedded/faustremote/RemoteClient/SimpleExample/Makefile_Darwin

raw
1 #############################################################################
2 # Makefile for building: RemoteClient.app/Contents/MacOS/RemoteClient
3 # Generated by qmake (2.01a) (Qt 4.8.1) on: Fri Dec 6 15:56:58 2013
4 # Project: RemoteClient.pro
5 # Template: app
6 # Command: /usr/bin/qmake -spec /usr/local/Qt4.8/mkspecs/macx-g++ -o Makefile RemoteClient.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 # These paths are searched for llvm-config* in reverse order (/opt/local/bin
12 # is included for compatibility with MacPorts).
13 llvm_paths = /usr/bin /opt/local/bin /usr/local/bin
14
15 # Search heuristic for finding a suitable llvm-config. This will select a
16 # default 'llvm-config', if it's on the PATH. Otherwise it will look for
17 # llvm-config* on the paths above and select the lexicographically greatest
18 # among these. Usually this will give the llvm-config for the latest LLVM
19 # version on your system, preferring later paths in the list (so /usr/local
20 # will be considered before /usr). If none of these work then you can either
21 # link a suitable llvm-config to a location somewhere on your PATH, or just
22 # set LLVM_CONFIG manually.
23
24 LLVM_CONFIG = $(lastword $(wildcard /usr/bin/llvm-config* /opt/local/bin/llvm-config* /usr/local/bin/llvm-config*) $(shell which llvm-config 2> /dev/null))
25
26
27 CC = gcc
28 CXX = g++
29 DEFINES = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
30 CFLAGS = -g
31 CXXFLAGS = -g
32 INCPATH = -I/usr/local/Qt4.8/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I/opt/local/include -I. -F/Library/Frameworks -I/opt/local/include/faust
33 LINK = g++
34 LFLAGS = -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
35 LIBS = `$(LLVM_CONFIG) --ldflags` `$(LLVM_CONFIG) --libs` -L/usr/local/lib -lfaust $(SUBLIBS) -F/Library/Frameworks -L/Library/Frameworks -lOSCFaust -lcurl -ljack -ljacknet -L/usr/local/lib -lHTTPDFaust -lmicrohttpd -lqrencode -lfaustremote -framework CoreAudio -framework AudioUnit -framework CoreServices -framework QtGui -framework QtCore -ldl -llo
36
37
38 ####### Install
39
40 first: all
41
42 OBJECTS = utilities.o main.o moc_QTUI.o
43
44 TARGET = ./RemoteClient
45
46 all: $(OBJECTS)
47 $(LINK) $(LFLAGS) $(CFLAGS) $(CXXFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)
48
49 install: FORCE
50
51 uninstall: FORCE
52
53 clean:
54 rm -f $(OBJECTS)
55
56 FORCE:
57
58 ####### Compile
59
60 moc_QTUI.o: moc_QTUI.cpp
61 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_QTUI.o moc_QTUI.cpp
62
63 utilities.o: ../../utilities.cpp ../../utilities.h
64 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o utilities.o ../../utilities.cpp
65
66 main.o: main.cpp ../../utilities.h
67 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
68
69 moc_QTUI.cpp: /usr/local/include/faust/gui/QTUI.h
70 /Developer/Tools/Qt/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ /usr/local/include/faust/gui/QTUI.h -o moc_QTUI.cpp
71
72