changed hardcoded path for testing
[wpcreator] / src / qtc-gdbmacros / Makefile.Release
1 #############################################################################
2 # Makefile for building: libgdbmacros.so.1.0.0
3 # Generated by qmake (2.01a) (Qt 4.5.0) on: Wed Nov 4 15:43:09 2009
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 -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
14 CXXFLAGS      = -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
15 INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Irelease -I.
16 LINK          = g++
17 LFLAGS        = -Wl,-O1 -shared -Wl,-soname,libgdbmacros.so.1
18 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread
19 AR            = ar cqs
20 RANLIB        = 
21 QMAKE         = /usr/bin/qmake-qt4
22 TAR           = tar -cf
23 COMPRESS      = gzip -9f
24 COPY          = cp -f
25 SED           = sed
26 COPY_FILE     = $(COPY)
27 COPY_DIR      = $(COPY) -r
28 INSTALL_FILE  = install -m 644 -p
29 INSTALL_DIR   = $(COPY_DIR)
30 INSTALL_PROGRAM = install -m 755 -p
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
38 ####### Output directory
39
40 OBJECTS_DIR   = release/
41
42 ####### Files
43
44 SOURCES       = gdbmacros.cpp 
45 OBJECTS       = release/gdbmacros.o
46 DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
47                 /usr/share/qt4/mkspecs/common/unix.conf \
48                 /usr/share/qt4/mkspecs/common/linux.conf \
49                 /usr/share/qt4/mkspecs/qconfig.pri \
50                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
51                 /usr/share/qt4/mkspecs/features/qt_config.prf \
52                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
53                 /usr/share/qt4/mkspecs/features/default_pre.prf \
54                 /usr/share/qt4/mkspecs/features/release.prf \
55                 /usr/share/qt4/mkspecs/features/debug_and_release.prf \
56                 /usr/share/qt4/mkspecs/features/default_post.prf \
57                 /usr/share/qt4/mkspecs/features/build_pass.prf \
58                 /usr/share/qt4/mkspecs/features/shared.prf \
59                 /usr/share/qt4/mkspecs/features/dll.prf \
60                 /usr/share/qt4/mkspecs/features/warn_on.prf \
61                 /usr/share/qt4/mkspecs/features/qt.prf \
62                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
63                 /usr/share/qt4/mkspecs/features/moc.prf \
64                 /usr/share/qt4/mkspecs/features/resources.prf \
65                 /usr/share/qt4/mkspecs/features/uic.prf \
66                 /usr/share/qt4/mkspecs/features/yacc.prf \
67                 /usr/share/qt4/mkspecs/features/lex.prf \
68                 gdbmacros.pro
69 QMAKE_TARGET  = gdbmacros
70 DESTDIR       = 
71 TARGET        = libgdbmacros.so.1.0.0
72 TARGETA       = libgdbmacros.a
73 TARGETD       = libgdbmacros.so.1.0.0
74 TARGET0       = libgdbmacros.so
75 TARGET1       = libgdbmacros.so.1
76 TARGET2       = libgdbmacros.so.1.0
77
78 first: all
79 ####### Implicit rules
80
81 .SUFFIXES: .o .c .cpp .cc .cxx .C
82
83 .cpp.o:
84         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
85
86 .cc.o:
87         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
88
89 .cxx.o:
90         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91
92 .C.o:
93         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94
95 .c.o:
96         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
97
98 ####### Build rules
99
100 all: Makefile.Release  $(TARGET)
101
102 $(TARGET):  $(OBJECTS) $(SUBLIBS) $(OBJCOMP)  
103         -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
104         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
105         -ln -s $(TARGET) $(TARGET0)
106         -ln -s $(TARGET) $(TARGET1)
107         -ln -s $(TARGET) $(TARGET2)
108
109
110
111 staticlib: $(TARGETA)
112
113 $(TARGETA):  $(OBJECTS) $(OBJCOMP) 
114         -$(DEL_FILE) $(TARGETA) 
115         $(AR) $(TARGETA) $(OBJECTS)
116
117 qmake:  FORCE
118         @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ -unix CONFIG+=debug_and_release CONFIG+=debug -o Makefile.Release gdbmacros.pro
119
120 dist: 
121         @$(CHK_DIR_EXISTS) release/gdbmacros1.0.0 || $(MKDIR) release/gdbmacros1.0.0 
122         $(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
123
124
125 clean:compiler_clean 
126         -$(DEL_FILE) $(OBJECTS)
127         -$(DEL_FILE) *~ core *.core
128
129
130 ####### Sub-libraries
131
132 distclean: clean
133         -$(DEL_FILE) $(TARGET) 
134         -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
135         -$(DEL_FILE) Makefile.Release
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_moc_header_make_all:
143 compiler_moc_header_clean:
144 compiler_rcc_make_all:
145 compiler_rcc_clean:
146 compiler_image_collection_make_all: qmake_image_collection.cpp
147 compiler_image_collection_clean:
148         -$(DEL_FILE) qmake_image_collection.cpp
149 compiler_moc_source_make_all:
150 compiler_moc_source_clean:
151 compiler_uic_make_all:
152 compiler_uic_clean:
153 compiler_yacc_decl_make_all:
154 compiler_yacc_decl_clean:
155 compiler_yacc_impl_make_all:
156 compiler_yacc_impl_clean:
157 compiler_lex_make_all:
158 compiler_lex_clean:
159 compiler_clean: 
160
161 ####### Compile
162
163 release/gdbmacros.o: gdbmacros.cpp 
164         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release/gdbmacros.o gdbmacros.cpp
165
166 ####### Install
167
168 install:   FORCE
169
170 uninstall:   FORCE
171
172 FORCE:
173