source: src-qt4/pc-crashhandler/Makefile @ 1f0939e

9.1-release9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 1f0939e was 1f0939e, checked in by Kris Moore <kris@…>, 12 months ago
  • Initial merge of code from PC-BSD SVN repo for my private (pre-release) hacking
  • Property mode set to 100644
File size: 12.1 KB
Line 
1#############################################################################
2# Makefile for building: pbi-crashhandler-gui
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Thu Feb 7 13:44:06 2013
4# Project:  pc-crashhandler.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-crashhandler.pro
7#############################################################################
8
9####### Compiler, tools and options
10
11CC            = gcc
12CXX           = g++
13DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14CFLAGS        = -pipe -O2 -Wall -W $(DEFINES)
15CXXFLAGS      = -pipe -O2 -Wall -W $(DEFINES)
16INCPATH       = -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/local/include -I. -I. -I/usr/local/include/qt4 -I/usr/local/include
17LINK          = g++
18LFLAGS        = -Wl,-O1 -pthread -Wl,-rpath,/usr/local/lib/qt4
19LIBS          = $(SUBLIBS)  -L/usr/local/lib/qt4 -L/usr/local/lib -lQtGui -L/usr/local/lib -L/usr/local/lib/qt4 -lQtCore
20AR            = ar cqs
21RANLIB        = 
22QMAKE         = /usr/local/bin/qmake-qt4
23TAR           = tar -cf
24COMPRESS      = gzip -9f
25COPY          = cp -f
26SED           = sed
27COPY_FILE     = $(COPY)
28COPY_DIR      = $(COPY) -R
29STRIP         = 
30INSTALL_FILE  = $(COPY_FILE)
31INSTALL_DIR   = $(COPY_DIR)
32INSTALL_PROGRAM = $(COPY_FILE)
33DEL_FILE      = rm -f
34SYMLINK       = ln -f -s
35DEL_DIR       = rmdir
36MOVE          = mv -f
37CHK_DIR_EXISTS= test -d
38MKDIR         = mkdir -p
39
40####### Output directory
41
42OBJECTS_DIR   = ./
43
44####### Files
45
46SOURCES       = main.cpp \
47                crashhandler.cpp \
48                details.cpp moc_crashhandler.cpp \
49                moc_details.cpp \
50                qrc_CrashHandler.cpp
51OBJECTS       = main.o \
52                crashhandler.o \
53                details.o \
54                moc_crashhandler.o \
55                moc_details.o \
56                qrc_CrashHandler.o
57DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
58                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
59                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
60                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
61                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
62                /usr/local/share/qt4/mkspecs/qconfig.pri \
63                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
64                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
65                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
66                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
67                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
68                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
69                /usr/local/share/qt4/mkspecs/features/release.prf \
70                /usr/local/share/qt4/mkspecs/features/default_post.prf \
71                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
72                /usr/local/share/qt4/mkspecs/features/qt.prf \
73                /usr/local/share/qt4/mkspecs/features/moc.prf \
74                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
75                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
76                /usr/local/share/qt4/mkspecs/features/resources.prf \
77                /usr/local/share/qt4/mkspecs/features/uic.prf \
78                /usr/local/share/qt4/mkspecs/features/yacc.prf \
79                /usr/local/share/qt4/mkspecs/features/lex.prf \
80                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
81                pc-crashhandler.pro
82QMAKE_TARGET  = pbi-crashhandler-gui
83DESTDIR       = 
84TARGET        = pbi-crashhandler-gui
85
86first: all
87####### Implicit rules
88
89.SUFFIXES: .o .c .cpp .cc .cxx .C
90
91.cpp.o:
92        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
93
94.cc.o:
95        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
96
97.cxx.o:
98        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
99
100.C.o:
101        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
102
103.c.o:
104        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
105
106####### Build rules
107
108all: Makefile $(TARGET)
109
110$(TARGET): ui_crashhandler.h ui_details.h $(OBJECTS) 
111        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
113Makefile: pc-crashhandler.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
114                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
115                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
116                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
117                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
118                /usr/local/share/qt4/mkspecs/qconfig.pri \
119                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
120                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
121                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
122                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
123                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
124                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
125                /usr/local/share/qt4/mkspecs/features/release.prf \
126                /usr/local/share/qt4/mkspecs/features/default_post.prf \
127                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
128                /usr/local/share/qt4/mkspecs/features/qt.prf \
129                /usr/local/share/qt4/mkspecs/features/moc.prf \
130                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
131                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
132                /usr/local/share/qt4/mkspecs/features/resources.prf \
133                /usr/local/share/qt4/mkspecs/features/uic.prf \
134                /usr/local/share/qt4/mkspecs/features/yacc.prf \
135                /usr/local/share/qt4/mkspecs/features/lex.prf \
136                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
137                /usr/local/lib/qt4/libQtGui.prl \
138                /usr/local/lib/qt4/libQtCore.prl
139        $(QMAKE) -o Makefile pc-crashhandler.pro
140/usr/local/share/qt4/mkspecs/common/unix.conf:
141/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
142/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
143/usr/local/share/qt4/mkspecs/common/g++-base.conf:
144/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
145/usr/local/share/qt4/mkspecs/qconfig.pri:
146/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
147/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
148/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
149/usr/local/share/qt4/mkspecs/features/qt_config.prf:
150/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
151/usr/local/share/qt4/mkspecs/features/default_pre.prf:
152/usr/local/share/qt4/mkspecs/features/release.prf:
153/usr/local/share/qt4/mkspecs/features/default_post.prf:
154/usr/local/share/qt4/mkspecs/features/warn_on.prf:
155/usr/local/share/qt4/mkspecs/features/qt.prf:
156/usr/local/share/qt4/mkspecs/features/moc.prf:
157/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
158/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
159/usr/local/share/qt4/mkspecs/features/resources.prf:
160/usr/local/share/qt4/mkspecs/features/uic.prf:
161/usr/local/share/qt4/mkspecs/features/yacc.prf:
162/usr/local/share/qt4/mkspecs/features/lex.prf:
163/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
164/usr/local/lib/qt4/libQtGui.prl:
165/usr/local/lib/qt4/libQtCore.prl:
166qmake:  FORCE
167        @$(QMAKE) -o Makefile pc-crashhandler.pro
168
169dist:
170        @$(CHK_DIR_EXISTS) .tmp/pbi-crashhandler-gui1.0.0 || $(MKDIR) .tmp/pbi-crashhandler-gui1.0.0
171        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pbi-crashhandler-gui1.0.0/ && $(COPY_FILE) --parents crashhandler.h details.h .tmp/pbi-crashhandler-gui1.0.0/ && $(COPY_FILE) --parents CrashHandler.qrc .tmp/pbi-crashhandler-gui1.0.0/ && $(COPY_FILE) --parents main.cpp crashhandler.cpp details.cpp .tmp/pbi-crashhandler-gui1.0.0/ && $(COPY_FILE) --parents crashhandler.ui details.ui .tmp/pbi-crashhandler-gui1.0.0/ && $(COPY_FILE) --parents i18n/CrashHandler_en.ts i18n/CrashHandler_af.ts i18n/CrashHandler_ar.ts i18n/CrashHandler_az.ts i18n/CrashHandler_bg.ts i18n/CrashHandler_bn.ts i18n/CrashHandler_bs.ts i18n/CrashHandler_ca.ts i18n/CrashHandler_cs.ts i18n/CrashHandler_cy.ts i18n/CrashHandler_da.ts i18n/CrashHandler_de.ts i18n/CrashHandler_el.ts i18n/CrashHandler_en_GB.ts i18n/CrashHandler_en_ZA.ts i18n/CrashHandler_es.ts i18n/CrashHandler_et.ts i18n/CrashHandler_eu.ts i18n/CrashHandler_fa.ts i18n/CrashHandler_fi.ts i18n/CrashHandler_fr.ts i18n/CrashHandler_fr_CA.ts i18n/CrashHandler_fur.ts i18n/CrashHandler_gl.ts i18n/CrashHandler_he.ts i18n/CrashHandler_hi.ts i18n/CrashHandler_hr.ts i18n/CrashHandler_hu.ts i18n/CrashHandler_id.ts i18n/CrashHandler_is.ts i18n/CrashHandler_it.ts i18n/CrashHandler_ja.ts i18n/CrashHandler_ka.ts i18n/CrashHandler_ko.ts i18n/CrashHandler_lt.ts i18n/CrashHandler_lv.ts i18n/CrashHandler_mk.ts i18n/CrashHandler_mn.ts i18n/CrashHandler_ms.ts i18n/CrashHandler_mt.ts i18n/CrashHandler_nb.ts i18n/CrashHandler_ne.ts i18n/CrashHandler_nl.ts i18n/CrashHandler_pa.ts i18n/CrashHandler_pl.ts i18n/CrashHandler_pt.ts i18n/CrashHandler_pt_BR.ts i18n/CrashHandler_ro.ts i18n/CrashHandler_ru.ts i18n/CrashHandler_sk.ts i18n/CrashHandler_sl.ts i18n/CrashHandler_sr.ts i18n/CrashHandler_sv.ts i18n/CrashHandler_sw.ts i18n/CrashHandler_ta.ts i18n/CrashHandler_tg.ts i18n/CrashHandler_th.ts i18n/CrashHandler_tr.ts i18n/CrashHandler_uk.ts i18n/CrashHandler_uz.ts i18n/CrashHandler_vi.ts i18n/CrashHandler_zh_CN.ts i18n/CrashHandler_zh_HK.ts i18n/CrashHandler_zh_TW.ts i18n/CrashHandler_zu.ts .tmp/pbi-crashhandler-gui1.0.0/ && (cd `dirname .tmp/pbi-crashhandler-gui1.0.0` && $(TAR) pbi-crashhandler-gui1.0.0.tar pbi-crashhandler-gui1.0.0 && $(COMPRESS) pbi-crashhandler-gui1.0.0.tar) && $(MOVE) `dirname .tmp/pbi-crashhandler-gui1.0.0`/pbi-crashhandler-gui1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pbi-crashhandler-gui1.0.0
172
173
174clean:compiler_clean
175        -$(DEL_FILE) $(OBJECTS)
176        -$(DEL_FILE) *~ core *.core
177
178
179####### Sub-libraries
180
181distclean: clean
182        -$(DEL_FILE) $(TARGET) 
183        -$(DEL_FILE) Makefile
184
185
186check: first
187
188mocclean: compiler_moc_header_clean compiler_moc_source_clean
189
190mocables: compiler_moc_header_make_all compiler_moc_source_make_all
191
192compiler_moc_header_make_all: moc_crashhandler.cpp moc_details.cpp
193compiler_moc_header_clean:
194        -$(DEL_FILE) moc_crashhandler.cpp moc_details.cpp
195moc_crashhandler.cpp: ui_crashhandler.h \
196                details.h \
197                ui_details.h \
198                crashhandler.h
199        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) crashhandler.h -o moc_crashhandler.cpp
200
201moc_details.cpp: ui_details.h \
202                details.h
203        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) details.h -o moc_details.cpp
204
205compiler_rcc_make_all: qrc_CrashHandler.cpp
206compiler_rcc_clean:
207        -$(DEL_FILE) qrc_CrashHandler.cpp
208qrc_CrashHandler.cpp: CrashHandler.qrc \
209                large_icon.png \
210                save.png \
211                small_icon.png
212        /usr/local/bin/rcc -name CrashHandler CrashHandler.qrc -o qrc_CrashHandler.cpp
213
214compiler_image_collection_make_all: qmake_image_collection.cpp
215compiler_image_collection_clean:
216        -$(DEL_FILE) qmake_image_collection.cpp
217compiler_moc_source_make_all:
218compiler_moc_source_clean:
219compiler_uic_make_all: ui_crashhandler.h ui_details.h
220compiler_uic_clean:
221        -$(DEL_FILE) ui_crashhandler.h ui_details.h
222ui_crashhandler.h: crashhandler.ui \
223                details.h \
224                ui_details.h
225        /usr/local/bin/uic-qt4 crashhandler.ui -o ui_crashhandler.h
226
227ui_details.h: details.ui
228        /usr/local/bin/uic-qt4 details.ui -o ui_details.h
229
230compiler_yacc_decl_make_all:
231compiler_yacc_decl_clean:
232compiler_yacc_impl_make_all:
233compiler_yacc_impl_clean:
234compiler_lex_make_all:
235compiler_lex_clean:
236compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
237
238####### Compile
239
240main.o: main.cpp crashhandler.h \
241                ui_crashhandler.h \
242                details.h \
243                ui_details.h \
244                ../config.h
245        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
246
247crashhandler.o: crashhandler.cpp crashhandler.h \
248                ui_crashhandler.h \
249                details.h \
250                ui_details.h
251        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o crashhandler.o crashhandler.cpp
252
253details.o: details.cpp details.h \
254                ui_details.h
255        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o details.o details.cpp
256
257moc_crashhandler.o: moc_crashhandler.cpp
258        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_crashhandler.o moc_crashhandler.cpp
259
260moc_details.o: moc_details.cpp
261        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_details.o moc_details.cpp
262
263qrc_CrashHandler.o: qrc_CrashHandler.cpp
264        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_CrashHandler.o qrc_CrashHandler.cpp
265
266####### Install
267
268install_target: first FORCE
269        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
270        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
271
272uninstall_target:  FORCE
273        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
274        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
275
276
277install_dotrans: first FORCE
278        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
279        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
280
281
282install:  install_target install_dotrans  FORCE
283
284uninstall: uninstall_target   FORCE
285
286FORCE:
287
Note: See TracBrowser for help on using the repository browser.