tpsession initial import
[tpsession] / tpsession-0.1 / tests / smstest / Makefile.Debug
1 #############################################################################
2 # Makefile for building: smstest
3 # Generated by qmake (2.01a) (Qt 4.5.0) on: Mon Jan 25 15:05:55 2010
4 # Project:  smstest.pro
5 # Template: app
6 #############################################################################
7
8 ####### Compiler, tools and options
9
10 CC            = gcc
11 CXX           = g++
12 DEFINES       = -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
13 CFLAGS        = -pipe -g -gdwarf-2 -Wall -W $(DEFINES)
14 CXXFLAGS      = -pipe -g -gdwarf-2 -Wall -W $(DEFINES)
15 INCPATH       = -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtDBus.framework/Versions/4/Headers -I/usr/include/QtDBus -I/usr/include -I/usr/include/telepathy-1.0/ -I../../tpsession -Idebug -I. -F/Library/Frameworks
16 LINK          = g++
17 LFLAGS        = -headerpad_max_install_names
18 LIBS          = $(SUBLIBS) -F/Library/Frameworks -L/Library/Frameworks -ltelepathy-qt4 -L../../tpsession -ltpsession -framework QtDBus -framework QtXml -framework QtNetwork -framework SystemConfiguration -framework QtCore -lz -lm -framework ApplicationServices
19 AR            = ar cq
20 RANLIB        = ranlib -s
21 QMAKE         = /usr/bin/qmake
22 TAR           = tar -cf
23 COMPRESS      = gzip -9f
24 COPY          = cp -f
25 SED           = sed
26 COPY_FILE     = cp -f
27 COPY_DIR      = cp -f -R
28 INSTALL_FILE  = $(COPY_FILE)
29 INSTALL_DIR   = $(COPY_DIR)
30 INSTALL_PROGRAM = $(COPY_FILE)
31 DEL_FILE      = rm -f
32 SYMLINK       = ln -sf
33 DEL_DIR       = rmdir
34 MOVE          = mv -f
35 CHK_DIR_EXISTS= test -d
36 MKDIR         = mkdir -p
37 export MACOSX_DEPLOYMENT_TARGET = 10.3
38
39 ####### Output directory
40
41 OBJECTS_DIR   = debug/
42
43 ####### Files
44
45 SOURCES       = main.cpp \
46                 testprog.cpp debug/moc_testprog.cpp
47 OBJECTS       = debug/main.o \
48                 debug/testprog.o \
49                 debug/moc_testprog.o
50 DIST          = /usr/local/Qt4.5/mkspecs/common/unix.conf \
51                 /usr/local/Qt4.5/mkspecs/common/mac.conf \
52                 /usr/local/Qt4.5/mkspecs/common/mac-g++.conf \
53                 /usr/local/Qt4.5/mkspecs/qconfig.pri \
54                 /usr/local/Qt4.5/mkspecs/features/qt_functions.prf \
55                 /usr/local/Qt4.5/mkspecs/features/qt_config.prf \
56                 /usr/local/Qt4.5/mkspecs/features/exclusive_builds.prf \
57                 /usr/local/Qt4.5/mkspecs/features/default_pre.prf \
58                 /usr/local/Qt4.5/mkspecs/features/mac/default_pre.prf \
59                 /usr/local/Qt4.5/mkspecs/features/mac/dwarf2.prf \
60                 /usr/local/Qt4.5/mkspecs/features/debug.prf \
61                 /usr/local/Qt4.5/mkspecs/features/debug_and_release.prf \
62                 /usr/local/Qt4.5/mkspecs/features/default_post.prf \
63                 /usr/local/Qt4.5/mkspecs/features/mac/default_post.prf \
64                 /usr/local/Qt4.5/mkspecs/features/mac/objective_c.prf \
65                 /usr/local/Qt4.5/mkspecs/features/build_pass.prf \
66                 /usr/local/Qt4.5/mkspecs/features/warn_on.prf \
67                 /usr/local/Qt4.5/mkspecs/features/qt.prf \
68                 /usr/local/Qt4.5/mkspecs/features/moc.prf \
69                 /usr/local/Qt4.5/mkspecs/features/dbusinterfaces.prf \
70                 /usr/local/Qt4.5/mkspecs/features/dbusadaptors.prf \
71                 /usr/local/Qt4.5/mkspecs/features/unix/thread.prf \
72                 /usr/local/Qt4.5/mkspecs/features/mac/rez.prf \
73                 /usr/local/Qt4.5/mkspecs/features/mac/sdk.prf \
74                 /usr/local/Qt4.5/mkspecs/features/resources.prf \
75                 /usr/local/Qt4.5/mkspecs/features/uic.prf \
76                 /usr/local/Qt4.5/mkspecs/features/yacc.prf \
77                 /usr/local/Qt4.5/mkspecs/features/lex.prf \
78                 smstest.pro
79 QMAKE_TARGET  = smstest
80 DESTDIR       = 
81 TARGET        = smstest
82
83 ####### Custom Compiler Variables
84 QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \
85                 -g \
86                 -gdwarf-2 \
87                 -Wall \
88                 -W
89
90
91 first: all
92 ####### Implicit rules
93
94 .SUFFIXES: .o .c .cpp .cc .cxx .C
95
96 .cpp.o:
97         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
99 .cc.o:
100         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
101
102 .cxx.o:
103         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
104
105 .C.o:
106         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
107
108 .c.o:
109         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
110
111 ####### Build rules
112
113 all: Makefile.Debug $(TARGET)
114
115 $(TARGET):  $(OBJECTS)  
116         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
117
118 qmake:  FORCE
119         @$(QMAKE) -spec /usr/local/Qt4.5/mkspecs/macx-g++ -macx CONFIG+=debug_and_release -o Makefile.Debug smstest.pro
120
121 dist: 
122         @$(CHK_DIR_EXISTS) debug/smstest1.0.0 || $(MKDIR) debug/smstest1.0.0 
123         $(COPY_FILE) --parents $(SOURCES) $(DIST) debug/smstest1.0.0/ && $(COPY_FILE) --parents testprog.h debug/smstest1.0.0/ && $(COPY_FILE) --parents main.cpp testprog.cpp debug/smstest1.0.0/ && (cd `dirname debug/smstest1.0.0` && $(TAR) smstest1.0.0.tar smstest1.0.0 && $(COMPRESS) smstest1.0.0.tar) && $(MOVE) `dirname debug/smstest1.0.0`/smstest1.0.0.tar.gz . && $(DEL_FILE) -r debug/smstest1.0.0
124
125
126 clean:compiler_clean 
127         -$(DEL_FILE) $(OBJECTS)
128         -$(DEL_FILE) *~ core *.core
129
130
131 ####### Sub-libraries
132
133 distclean: clean
134         -$(DEL_FILE) $(TARGET) 
135         -$(DEL_FILE) Makefile.Debug
136
137
138 mocclean: compiler_moc_header_clean compiler_moc_source_clean
139
140 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
141
142 compiler_objective_c_make_all:
143 compiler_objective_c_clean:
144 compiler_moc_header_make_all: debug/moc_testprog.cpp
145 compiler_moc_header_clean:
146         -$(DEL_FILE) debug/moc_testprog.cpp
147 debug/moc_testprog.cpp: testprog.h
148         /Developer/Tools/Qt/moc $(DEFINES) $(INCPATH) -D__APPLE__ -D__GNUC__ testprog.h -o debug/moc_testprog.cpp
149
150 compiler_dbus_interface_source_make_all:
151 compiler_dbus_interface_source_clean:
152 compiler_dbus_adaptor_source_make_all:
153 compiler_dbus_adaptor_source_clean:
154 compiler_rcc_make_all:
155 compiler_rcc_clean:
156 compiler_image_collection_make_all: qmake_image_collection.cpp
157 compiler_image_collection_clean:
158         -$(DEL_FILE) qmake_image_collection.cpp
159 compiler_moc_source_make_all:
160 compiler_moc_source_clean:
161 compiler_dbus_interface_header_make_all:
162 compiler_dbus_interface_header_clean:
163 compiler_dbus_interface_moc_make_all:
164 compiler_dbus_interface_moc_clean:
165 compiler_dbus_adaptor_header_make_all:
166 compiler_dbus_adaptor_header_clean:
167 compiler_dbus_adaptor_moc_make_all:
168 compiler_dbus_adaptor_moc_clean:
169 compiler_rez_source_make_all:
170 compiler_rez_source_clean:
171 compiler_uic_make_all:
172 compiler_uic_clean:
173 compiler_yacc_decl_make_all:
174 compiler_yacc_decl_clean:
175 compiler_yacc_impl_make_all:
176 compiler_yacc_impl_clean:
177 compiler_lex_make_all:
178 compiler_lex_clean:
179 compiler_clean: compiler_moc_header_clean 
180
181 ####### Compile
182
183 debug/main.o: main.cpp 
184         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/main.o main.cpp
185
186 debug/testprog.o: testprog.cpp testprog.h
187         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/testprog.o testprog.cpp
188
189 debug/moc_testprog.o: debug/moc_testprog.cpp 
190         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug/moc_testprog.o debug/moc_testprog.cpp
191
192 ####### Install
193
194 install:   FORCE
195
196 uninstall:   FORCE
197
198 FORCE:
199