File: Makefile_Darwin

package info (click to toggle)
faust 2.81.10%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 431,496 kB
  • sloc: cpp: 283,941; ansic: 116,215; javascript: 18,529; sh: 14,356; vhdl: 14,052; java: 5,900; python: 5,091; objc: 3,852; makefile: 2,725; cs: 1,672; lisp: 1,146; ruby: 954; yacc: 586; xml: 471; lex: 247; awk: 111; tcl: 26
file content (72 lines) | stat: -rw-r--r-- 3,036 bytes parent folder | download | duplicates (4)
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
#############################################################################
# Makefile for building: RemoteClient.app/Contents/MacOS/RemoteClient
# Generated by qmake (2.01a) (Qt 4.8.1) on: Fri Dec 6 15:56:58 2013
# Project:  RemoteClient.pro
# Template: app
# Command: /usr/bin/qmake -spec /usr/local/Qt4.8/mkspecs/macx-g++ -o Makefile RemoteClient.pro
#############################################################################

####### Compiler, tools and options

# These paths are searched for llvm-config* in reverse order (/opt/local/bin
# is included for compatibility with MacPorts).
llvm_paths = /usr/bin /opt/local/bin /usr/local/bin

# Search heuristic for finding a suitable llvm-config. This will select a
# default 'llvm-config', if it's on the PATH. Otherwise it will look for
# llvm-config* on the paths above and select the lexicographically greatest
# among these. Usually this will give the llvm-config for the latest LLVM
# version on your system, preferring later paths in the list (so /usr/local
# will be considered before /usr). If none of these work then you can either
# link a suitable llvm-config to a location somewhere on your PATH, or just
# set LLVM_CONFIG manually.

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))


CC            = gcc
CXX           = g++
DEFINES       = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
CFLAGS        = -g
CXXFLAGS      = -g 
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
LINK          = g++
LFLAGS        = -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
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


####### Install

first: all

OBJECTS = utilities.o main.o moc_QTUI.o

TARGET = ./RemoteClient

all: $(OBJECTS)
	$(LINK) $(LFLAGS) $(CFLAGS) $(CXXFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)

install:   FORCE

uninstall:   FORCE

clean: 
	rm -f $(OBJECTS)

FORCE:

####### Compile

moc_QTUI.o: moc_QTUI.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_QTUI.o moc_QTUI.cpp
	
utilities.o: ../../utilities.cpp ../../utilities.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o utilities.o ../../utilities.cpp
	
main.o: main.cpp ../../utilities.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

moc_QTUI.cpp: /usr/local/include/faust/gui/QTUI.h
	/Developer/Tools/Qt/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ /usr/local/include/faust/gui/QTUI.h -o moc_QTUI.cpp