1 |
5 |
maiden |
#############################################################################
|
2 |
|
|
# Makefile for building: regger
|
3 |
|
|
# Generated by qmake (2.01a) (Qt 4.8.1) on: Fri May 18 10:16:57 2012
|
4 |
|
|
# Project: regger.pro
|
5 |
|
|
# Template: app
|
6 |
|
|
# Command: /usr/bin/qmake -o Makefile regger.pro
|
7 |
|
|
#############################################################################
|
8 |
|
|
|
9 |
|
|
####### Compiler, tools and options
|
10 |
|
|
|
11 |
|
|
CC = gcc
|
12 |
|
|
CXX = g++
|
13 |
|
|
DEFINES = -DQT_WEBKIT
|
14 |
|
|
CFLAGS = -m64 -pipe -O2 -Wall -W $(DEFINES)
|
15 |
|
|
CXXFLAGS = -m64 -pipe -O2 -Wall -W $(DEFINES)
|
16 |
|
|
INCPATH = -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
|
17 |
|
|
LINK = g++
|
18 |
|
|
LFLAGS = -m64 -Wl,-O1
|
19 |
|
|
LIBS = $(SUBLIBS)
|
20 |
|
|
AR = ar cqs
|
21 |
|
|
RANLIB =
|
22 |
|
|
QMAKE = /usr/bin/qmake
|
23 |
|
|
TAR = tar -cf
|
24 |
|
|
COMPRESS = gzip -9f
|
25 |
|
|
COPY = cp -f
|
26 |
|
|
SED = sed
|
27 |
|
|
COPY_FILE = $(COPY)
|
28 |
|
|
COPY_DIR = $(COPY) -r
|
29 |
|
|
STRIP = strip
|
30 |
|
|
INSTALL_FILE = install -m 644 -p
|
31 |
|
|
INSTALL_DIR = $(COPY_DIR)
|
32 |
|
|
INSTALL_PROGRAM = install -m 755 -p
|
33 |
|
|
DEL_FILE = rm -f
|
34 |
|
|
SYMLINK = ln -f -s
|
35 |
|
|
DEL_DIR = rmdir
|
36 |
|
|
MOVE = mv -f
|
37 |
|
|
CHK_DIR_EXISTS= test -d
|
38 |
|
|
MKDIR = mkdir -p
|
39 |
|
|
|
40 |
|
|
####### Output directory
|
41 |
|
|
|
42 |
|
|
OBJECTS_DIR = ./
|
43 |
|
|
|
44 |
|
|
####### Files
|
45 |
|
|
|
46 |
|
|
SOURCES = main.cpp \
|
47 |
|
|
regger.cpp \
|
48 |
|
|
test.c
|
49 |
|
|
OBJECTS = main.o \
|
50 |
|
|
regger.o \
|
51 |
|
|
test.o
|
52 |
|
|
DIST = /usr/share/qt4/mkspecs/common/unix.conf \
|
53 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
54 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
55 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
56 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
57 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
58 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
59 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
60 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
61 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
62 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
63 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
64 |
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
65 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
66 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
67 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
68 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
69 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
70 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
71 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
72 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf \
|
73 |
|
|
regger.pro
|
74 |
|
|
QMAKE_TARGET = regger
|
75 |
|
|
DESTDIR =
|
76 |
|
|
TARGET = regger
|
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 $(TARGET)
|
101 |
|
|
|
102 |
|
|
$(TARGET): $(OBJECTS)
|
103 |
|
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
104 |
|
|
|
105 |
|
|
Makefile: regger.pro /usr/share/qt4/mkspecs/linux-g++-64/qmake.conf /usr/share/qt4/mkspecs/common/unix.conf \
|
106 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf \
|
107 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf \
|
108 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf \
|
109 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf \
|
110 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf \
|
111 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri \
|
112 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
|
113 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf \
|
114 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf \
|
115 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf \
|
116 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf \
|
117 |
|
|
/usr/share/qt4/mkspecs/features/release.prf \
|
118 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf \
|
119 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
|
120 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf \
|
121 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf \
|
122 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf \
|
123 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf \
|
124 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf \
|
125 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf
|
126 |
|
|
$(QMAKE) -o Makefile regger.pro
|
127 |
|
|
/usr/share/qt4/mkspecs/common/unix.conf:
|
128 |
|
|
/usr/share/qt4/mkspecs/common/linux.conf:
|
129 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base.conf:
|
130 |
|
|
/usr/share/qt4/mkspecs/common/gcc-base-unix.conf:
|
131 |
|
|
/usr/share/qt4/mkspecs/common/g++-base.conf:
|
132 |
|
|
/usr/share/qt4/mkspecs/common/g++-unix.conf:
|
133 |
|
|
/usr/share/qt4/mkspecs/qconfig.pri:
|
134 |
|
|
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
|
135 |
|
|
/usr/share/qt4/mkspecs/features/qt_functions.prf:
|
136 |
|
|
/usr/share/qt4/mkspecs/features/qt_config.prf:
|
137 |
|
|
/usr/share/qt4/mkspecs/features/exclusive_builds.prf:
|
138 |
|
|
/usr/share/qt4/mkspecs/features/default_pre.prf:
|
139 |
|
|
/usr/share/qt4/mkspecs/features/release.prf:
|
140 |
|
|
/usr/share/qt4/mkspecs/features/default_post.prf:
|
141 |
|
|
/usr/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
|
142 |
|
|
/usr/share/qt4/mkspecs/features/warn_on.prf:
|
143 |
|
|
/usr/share/qt4/mkspecs/features/resources.prf:
|
144 |
|
|
/usr/share/qt4/mkspecs/features/uic.prf:
|
145 |
|
|
/usr/share/qt4/mkspecs/features/yacc.prf:
|
146 |
|
|
/usr/share/qt4/mkspecs/features/lex.prf:
|
147 |
|
|
/usr/share/qt4/mkspecs/features/include_source_dir.prf:
|
148 |
|
|
qmake: FORCE
|
149 |
|
|
@$(QMAKE) -o Makefile regger.pro
|
150 |
|
|
|
151 |
|
|
dist:
|
152 |
|
|
@$(CHK_DIR_EXISTS) .tmp/regger1.0.0 || $(MKDIR) .tmp/regger1.0.0
|
153 |
|
|
$(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/regger1.0.0/ && (cd `dirname .tmp/regger1.0.0` && $(TAR) regger1.0.0.tar regger1.0.0 && $(COMPRESS) regger1.0.0.tar) && $(MOVE) `dirname .tmp/regger1.0.0`/regger1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/regger1.0.0
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
clean:compiler_clean
|
157 |
|
|
-$(DEL_FILE) $(OBJECTS)
|
158 |
|
|
-$(DEL_FILE) *~ core *.core
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
####### Sub-libraries
|
162 |
|
|
|
163 |
|
|
distclean: clean
|
164 |
|
|
-$(DEL_FILE) $(TARGET)
|
165 |
|
|
-$(DEL_FILE) Makefile
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
check: first
|
169 |
|
|
|
170 |
|
|
compiler_rcc_make_all:
|
171 |
|
|
compiler_rcc_clean:
|
172 |
|
|
compiler_uic_make_all:
|
173 |
|
|
compiler_uic_clean:
|
174 |
|
|
compiler_image_collection_make_all: qmake_image_collection.cpp
|
175 |
|
|
compiler_image_collection_clean:
|
176 |
|
|
-$(DEL_FILE) qmake_image_collection.cpp
|
177 |
|
|
compiler_yacc_decl_make_all:
|
178 |
|
|
compiler_yacc_decl_clean:
|
179 |
|
|
compiler_yacc_impl_make_all:
|
180 |
|
|
compiler_yacc_impl_clean:
|
181 |
|
|
compiler_lex_make_all:
|
182 |
|
|
compiler_lex_clean:
|
183 |
|
|
compiler_clean:
|
184 |
|
|
|
185 |
|
|
####### Compile
|
186 |
|
|
|
187 |
|
|
main.o: main.cpp regger.h
|
188 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
|
189 |
|
|
|
190 |
|
|
regger.o: regger.cpp regger.h
|
191 |
|
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o regger.o regger.cpp
|
192 |
|
|
|
193 |
|
|
test.o: test.c
|
194 |
|
|
$(CC) -c $(CFLAGS) $(INCPATH) -o test.o test.c
|
195 |
|
|
|
196 |
|
|
####### Install
|
197 |
|
|
|
198 |
|
|
install: FORCE
|
199 |
|
|
|
200 |
|
|
uninstall: FORCE
|
201 |
|
|
|
202 |
|
|
FORCE:
|
203 |
|
|
|