tpsession initial import
[tpsession] / tpsession-0.1 / tests / smstest / qtc-gdbmacros / Makefile.Release
1 #############################################################################
2 # Makefile for building: libgdbmacros.1.0.0.dylib
3 # Generated by qmake (2.01a) (Qt 4.5.0) on: Mon Jan 25 15:05:35 2010
4 # Project:  gdbmacros.pro
5 # Template: lib
6 #############################################################################
7
8 ####### Compiler, tools and options
9
10 CC            = gcc
11 CXX           = g++
12 DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
13 CFLAGS        = -pipe -Os -Wall -W -fPIC $(DEFINES)
14 CXXFLAGS      = -pipe -Os -Wall -W -fPIC $(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/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -Irelease -I. -F/Library/Frameworks
16 LINK          = g++
17 LFLAGS        = -headerpad_max_install_names -single_module -dynamiclib -compatibility_version  1.0 -current_version    1.0.0 -install_name     libgdbmacros.1.dylib
18 LIBS          = $(SUBLIBS) -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework Carbon -framework AppKit -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   = release/
42
43 ####### Files
44
45 SOURCES       = gdbmacros.cpp 
46 OBJECTS       = release/gdbmacros.o
47 DIST          = /usr/local/Qt4.5/mkspecs/common/unix.conf \
48                 /usr/local/Qt4.5/mkspecs/common/mac.conf \
49                 /usr/local/Qt4.5/mkspecs/common/mac-g++.conf \
50                 /usr/local/Qt4.5/mkspecs/qconfig.pri \
51                 /usr/local/Qt4.5/mkspecs/features/qt_functions.prf \
52                 /usr/local/Qt4.5/mkspecs/features/qt_config.prf \
53                 /usr/local/Qt4.5/mkspecs/features/exclusive_builds.prf \
54                 /usr/local/Qt4.5/mkspecs/features/default_pre.prf \
55                 /usr/local/Qt4.5/mkspecs/features/mac/default_pre.prf \
56                 /usr/local/Qt4.5/mkspecs/features/release.prf \
57                 /usr/local/Qt4.5/mkspecs/features/debug_and_release.prf \
58                 /usr/local/Qt4.5/mkspecs/features/default_post.prf \
59                 /usr/local/Qt4.5/mkspecs/features/mac/default_post.prf \
60                 /usr/local/Qt4.5/mkspecs/features/mac/objective_c.prf \
61                 /usr/local/Qt4.5/mkspecs/features/build_pass.prf \
62                 /usr/local/Qt4.5/mkspecs/features/shared.prf \
63                 /usr/local/Qt4.5/mkspecs/features/dll.prf \
64                 /usr/local/Qt4.5/mkspecs/features/warn_on.prf \
65                 /usr/local/Qt4.5/mkspecs/features/qt.prf \
66                 /usr/local/Qt4.5/mkspecs/features/unix/thread.prf \
67                 /usr/local/Qt4.5/mkspecs/features/moc.prf \
68                 /usr/local/Qt4.5/mkspecs/features/mac/rez.prf \
69                 /usr/local/Qt4.5/mkspecs/features/mac/sdk.prf \
70                 /usr/local/Qt4.5/mkspecs/features/resources.prf \
71                 /usr/local/Qt4.5/mkspecs/features/uic.prf \
72                 /usr/local/Qt4.5/mkspecs/features/yacc.prf \
73                 /usr/local/Qt4.5/mkspecs/features/lex.prf \
74                 gdbmacros.pro
75 QMAKE_TARGET  = gdbmacros
76 DESTDIR       = 
77 TARGET        = libgdbmacros.1.0.0.dylib
78 TARGETA       = libgdbmacros.a
79 TARGETD       = libgdbmacros.1.0.0.dylib
80 TARGET0       = libgdbmacros.dylib
81 TARGET1       = libgdbmacros.1.dylib
82 TARGET2       = libgdbmacros.1.0.dylib
83
84 ####### Custom Compiler Variables
85 QMAKE_COMP_QMAKE_OBJECTIVE_CFLAGS = -pipe \
86                 -Os \
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.Release  $(TARGET)
114
115 $(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
116         -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
117         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
118         -ln -s $(TARGET) $(TARGET0)
119         -ln -s $(TARGET) $(TARGET1)
120         -ln -s $(TARGET) $(TARGET2)
121
122
123
124 staticlib: $(TARGETA)
125
126 $(TARGETA):  $(OBJECTS) $(OBJCOMP) 
127         -$(DEL_FILE) $(TARGETA) 
128         $(AR) $(TARGETA) $(OBJECTS)
129         $(RANLIB) $(TARGETA)
130
131 qmake:  FORCE
132         @$(QMAKE) -spec /usr/local/Qt4.5/mkspecs/macx-g++ -macx CONFIG+=debug_and_release -o Makefile.Release gdbmacros.pro
133
134 dist: 
135         @$(CHK_DIR_EXISTS) release/gdbmacros1.0.0 || $(MKDIR) release/gdbmacros1.0.0 
136         $(COPY_FILE) --parents $(SOURCES) $(DIST) release/gdbmacros1.0.0/ && $(COPY_FILE) --parents gdbmacros.cpp release/gdbmacros1.0.0/ && (cd `dirname release/gdbmacros1.0.0` && $(TAR) gdbmacros1.0.0.tar gdbmacros1.0.0 && $(COMPRESS) gdbmacros1.0.0.tar) && $(MOVE) `dirname release/gdbmacros1.0.0`/gdbmacros1.0.0.tar.gz . && $(DEL_FILE) -r release/gdbmacros1.0.0
137
138
139 clean:compiler_clean 
140         -$(DEL_FILE) $(OBJECTS)
141         -$(DEL_FILE) *~ core *.core
142
143
144 ####### Sub-libraries
145
146 distclean: clean
147         -$(DEL_FILE) $(TARGET) 
148         -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
149         -$(DEL_FILE) Makefile.Release
150
151
152 mocclean: compiler_moc_header_clean compiler_moc_source_clean
153
154 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
155
156 compiler_objective_c_make_all:
157 compiler_objective_c_clean:
158 compiler_moc_header_make_all:
159 compiler_moc_header_clean:
160 compiler_rcc_make_all:
161 compiler_rcc_clean:
162 compiler_image_collection_make_all: qmake_image_collection.cpp
163 compiler_image_collection_clean:
164         -$(DEL_FILE) qmake_image_collection.cpp
165 compiler_moc_source_make_all:
166 compiler_moc_source_clean:
167 compiler_rez_source_make_all:
168 compiler_rez_source_clean:
169 compiler_uic_make_all:
170 compiler_uic_clean:
171 compiler_yacc_decl_make_all:
172 compiler_yacc_decl_clean:
173 compiler_yacc_impl_make_all:
174 compiler_yacc_impl_clean:
175 compiler_lex_make_all:
176 compiler_lex_clean:
177 compiler_clean: 
178
179 ####### Compile
180
181 release/gdbmacros.o: gdbmacros.cpp 
182         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/gdbmacros.o gdbmacros.cpp
183
184 ####### Install
185
186 install:   FORCE
187
188 uninstall:   FORCE
189
190 FORCE:
191