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

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1f0939e was 1f0939e, checked in by Kris Moore <kris@…>, 17 months ago
  • Initial merge of code from PC-BSD SVN repo for my private (pre-release) hacking
  • Property mode set to 100644
File size: 11.0 KB
Line 
1#############################################################################
2# Makefile for building: pc-updategui
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Wed Jan 30 15:02:44 2013
4# Project:  pc-updategui.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-updategui.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../libpcbsd -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 -L../libpcbsd -L/usr/local/lib -lpcbsd -lQtSolutions_SingleApplication-head -lQtGui -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                mainWin.cpp moc_mainWin.cpp \
48                qrc_pc-updategui.cpp
49OBJECTS       = main.o \
50                mainWin.o \
51                moc_mainWin.o \
52                qrc_pc-updategui.o
53DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
54                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
55                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
56                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
57                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
58                /usr/local/share/qt4/mkspecs/qconfig.pri \
59                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
60                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
61                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
62                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
63                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
64                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
65                /usr/local/share/qt4/mkspecs/features/release.prf \
66                /usr/local/share/qt4/mkspecs/features/default_post.prf \
67                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
68                /usr/local/share/qt4/mkspecs/features/qt.prf \
69                /usr/local/share/qt4/mkspecs/features/moc.prf \
70                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
71                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
72                /usr/local/share/qt4/mkspecs/features/resources.prf \
73                /usr/local/share/qt4/mkspecs/features/uic.prf \
74                /usr/local/share/qt4/mkspecs/features/yacc.prf \
75                /usr/local/share/qt4/mkspecs/features/lex.prf \
76                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
77                pc-updategui.pro
78QMAKE_TARGET  = pc-updategui
79DESTDIR       = 
80TARGET        = pc-updategui
81
82first: all
83####### Implicit rules
84
85.SUFFIXES: .o .c .cpp .cc .cxx .C
86
87.cpp.o:
88        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90.cc.o:
91        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
93.cxx.o:
94        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
95
96.C.o:
97        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
99.c.o:
100        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
101
102####### Build rules
103
104all: Makefile $(TARGET)
105
106$(TARGET): ui_mainWin.h $(OBJECTS) 
107        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
109Makefile: pc-updategui.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
110                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
111                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
112                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
113                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
114                /usr/local/share/qt4/mkspecs/qconfig.pri \
115                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
116                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
117                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
118                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
119                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
120                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
121                /usr/local/share/qt4/mkspecs/features/release.prf \
122                /usr/local/share/qt4/mkspecs/features/default_post.prf \
123                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
124                /usr/local/share/qt4/mkspecs/features/qt.prf \
125                /usr/local/share/qt4/mkspecs/features/moc.prf \
126                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
127                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
128                /usr/local/share/qt4/mkspecs/features/resources.prf \
129                /usr/local/share/qt4/mkspecs/features/uic.prf \
130                /usr/local/share/qt4/mkspecs/features/yacc.prf \
131                /usr/local/share/qt4/mkspecs/features/lex.prf \
132                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
133                /usr/local/lib/qt4/libQtGui.prl \
134                /usr/local/lib/qt4/libQtCore.prl
135        $(QMAKE) -o Makefile pc-updategui.pro
136/usr/local/share/qt4/mkspecs/common/unix.conf:
137/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
138/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
139/usr/local/share/qt4/mkspecs/common/g++-base.conf:
140/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
141/usr/local/share/qt4/mkspecs/qconfig.pri:
142/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
143/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
144/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
145/usr/local/share/qt4/mkspecs/features/qt_config.prf:
146/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
147/usr/local/share/qt4/mkspecs/features/default_pre.prf:
148/usr/local/share/qt4/mkspecs/features/release.prf:
149/usr/local/share/qt4/mkspecs/features/default_post.prf:
150/usr/local/share/qt4/mkspecs/features/warn_on.prf:
151/usr/local/share/qt4/mkspecs/features/qt.prf:
152/usr/local/share/qt4/mkspecs/features/moc.prf:
153/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
154/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
155/usr/local/share/qt4/mkspecs/features/resources.prf:
156/usr/local/share/qt4/mkspecs/features/uic.prf:
157/usr/local/share/qt4/mkspecs/features/yacc.prf:
158/usr/local/share/qt4/mkspecs/features/lex.prf:
159/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
160/usr/local/lib/qt4/libQtGui.prl:
161/usr/local/lib/qt4/libQtCore.prl:
162qmake:  FORCE
163        @$(QMAKE) -o Makefile pc-updategui.pro
164
165dist:
166        @$(CHK_DIR_EXISTS) .tmp/pc-updategui1.0.0 || $(MKDIR) .tmp/pc-updategui1.0.0
167        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-updategui1.0.0/ && $(COPY_FILE) --parents mainWin.h .tmp/pc-updategui1.0.0/ && $(COPY_FILE) --parents pc-updategui.qrc .tmp/pc-updategui1.0.0/ && $(COPY_FILE) --parents main.cpp mainWin.cpp .tmp/pc-updategui1.0.0/ && $(COPY_FILE) --parents mainWin.ui .tmp/pc-updategui1.0.0/ && $(COPY_FILE) --parents i18n/UpdateGui_af.ts i18n/UpdateGui_ar.ts i18n/UpdateGui_az.ts i18n/UpdateGui_bg.ts i18n/UpdateGui_bn.ts i18n/UpdateGui_bs.ts i18n/UpdateGui_ca.ts i18n/UpdateGui_cs.ts i18n/UpdateGui_cy.ts i18n/UpdateGui_da.ts i18n/UpdateGui_de.ts i18n/UpdateGui_el.ts i18n/UpdateGui_en_GB.ts i18n/UpdateGui_en_ZA.ts i18n/UpdateGui_es.ts i18n/UpdateGui_et.ts i18n/UpdateGui_eu.ts i18n/UpdateGui_fa.ts i18n/UpdateGui_fi.ts i18n/UpdateGui_fr.ts i18n/UpdateGui_fr_CA.ts i18n/UpdateGui_gl.ts i18n/UpdateGui_he.ts i18n/UpdateGui_hi.ts i18n/UpdateGui_hr.ts i18n/UpdateGui_hu.ts i18n/UpdateGui_id.ts i18n/UpdateGui_is.ts i18n/UpdateGui_it.ts i18n/UpdateGui_ja.ts i18n/UpdateGui_ka.ts i18n/UpdateGui_ko.ts i18n/UpdateGui_lt.ts i18n/UpdateGui_lv.ts i18n/UpdateGui_mk.ts i18n/UpdateGui_mn.ts i18n/UpdateGui_ms.ts i18n/UpdateGui_mt.ts i18n/UpdateGui_nb.ts i18n/UpdateGui_nl.ts i18n/UpdateGui_pa.ts i18n/UpdateGui_pl.ts i18n/UpdateGui_pt.ts i18n/UpdateGui_pt_BR.ts i18n/UpdateGui_ro.ts i18n/UpdateGui_ru.ts i18n/UpdateGui_sk.ts i18n/UpdateGui_sl.ts i18n/UpdateGui_sr.ts i18n/UpdateGui_sv.ts i18n/UpdateGui_sw.ts i18n/UpdateGui_ta.ts i18n/UpdateGui_tg.ts i18n/UpdateGui_th.ts i18n/UpdateGui_tr.ts i18n/UpdateGui_uk.ts i18n/UpdateGui_uz.ts i18n/UpdateGui_vi.ts i18n/UpdateGui_zh_CN.ts i18n/UpdateGui_zh_HK.ts i18n/UpdateGui_zh_TW.ts i18n/UpdateGui_zu.ts .tmp/pc-updategui1.0.0/ && (cd `dirname .tmp/pc-updategui1.0.0` && $(TAR) pc-updategui1.0.0.tar pc-updategui1.0.0 && $(COMPRESS) pc-updategui1.0.0.tar) && $(MOVE) `dirname .tmp/pc-updategui1.0.0`/pc-updategui1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-updategui1.0.0
168
169
170clean:compiler_clean
171        -$(DEL_FILE) $(OBJECTS)
172        -$(DEL_FILE) *~ core *.core
173
174
175####### Sub-libraries
176
177distclean: clean
178        -$(DEL_FILE) $(TARGET) 
179        -$(DEL_FILE) Makefile
180
181
182check: first
183
184mocclean: compiler_moc_header_clean compiler_moc_source_clean
185
186mocables: compiler_moc_header_make_all compiler_moc_source_make_all
187
188compiler_moc_header_make_all: moc_mainWin.cpp
189compiler_moc_header_clean:
190        -$(DEL_FILE) moc_mainWin.cpp
191moc_mainWin.cpp: ui_mainWin.h \
192                ../config.h \
193                mainWin.h
194        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) mainWin.h -o moc_mainWin.cpp
195
196compiler_rcc_make_all: qrc_pc-updategui.cpp
197compiler_rcc_clean:
198        -$(DEL_FILE) qrc_pc-updategui.cpp
199qrc_pc-updategui.cpp: pc-updategui.qrc \
200                view-refresh.png \
201                images/warning.png \
202                images/current-item.png
203        /usr/local/bin/rcc -name pc-updategui pc-updategui.qrc -o qrc_pc-updategui.cpp
204
205compiler_image_collection_make_all: qmake_image_collection.cpp
206compiler_image_collection_clean:
207        -$(DEL_FILE) qmake_image_collection.cpp
208compiler_moc_source_make_all:
209compiler_moc_source_clean:
210compiler_uic_make_all: ui_mainWin.h
211compiler_uic_clean:
212        -$(DEL_FILE) ui_mainWin.h
213ui_mainWin.h: mainWin.ui
214        /usr/local/bin/uic-qt4 mainWin.ui -o ui_mainWin.h
215
216compiler_yacc_decl_make_all:
217compiler_yacc_decl_clean:
218compiler_yacc_impl_make_all:
219compiler_yacc_impl_clean:
220compiler_lex_make_all:
221compiler_lex_clean:
222compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
223
224####### Compile
225
226main.o: main.cpp mainWin.h \
227                ui_mainWin.h \
228                ../config.h
229        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
230
231mainWin.o: mainWin.cpp mainWin.h \
232                ui_mainWin.h \
233                ../config.h
234        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainWin.o mainWin.cpp
235
236moc_mainWin.o: moc_mainWin.cpp
237        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainWin.o moc_mainWin.cpp
238
239qrc_pc-updategui.o: qrc_pc-updategui.cpp
240        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_pc-updategui.o qrc_pc-updategui.cpp
241
242####### Install
243
244install_target: first FORCE
245        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
246        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
247
248uninstall_target:  FORCE
249        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
250        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
251
252
253install_dotrans: first FORCE
254        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
255        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
256
257
258install:  install_target install_dotrans  FORCE
259
260uninstall: uninstall_target   FORCE
261
262FORCE:
263
Note: See TracBrowser for help on using the repository browser.