source: src-qt4/about-gui/Makefile @ 1f0939e

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2
Last change on this file since 1f0939e was 1f0939e, checked in by Kris Moore <kris@…>, 15 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.8 KB
Line 
1#############################################################################
2# Makefile for building: about-gui
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 00:52:44 2013
4# Project:  about-gui.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile about-gui.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                mainwindow.cpp moc_mainwindow.cpp \
48                qrc_about-gui.cpp
49OBJECTS       = main.o \
50                mainwindow.o \
51                moc_mainwindow.o \
52                qrc_about-gui.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/unix/gdb_dwarf_index.prf \
68                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
69                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
70                /usr/local/share/qt4/mkspecs/features/qt.prf \
71                /usr/local/share/qt4/mkspecs/features/moc.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                about-gui.pro
78QMAKE_TARGET  = about-gui
79DESTDIR       = 
80TARGET        = about-gui
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_mainwindow.h $(OBJECTS) 
107        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
109Makefile: about-gui.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/unix/gdb_dwarf_index.prf \
124                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
125                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
126                /usr/local/share/qt4/mkspecs/features/qt.prf \
127                /usr/local/share/qt4/mkspecs/features/moc.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 about-gui.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/unix/gdb_dwarf_index.prf:
151/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
152/usr/local/share/qt4/mkspecs/features/warn_on.prf:
153/usr/local/share/qt4/mkspecs/features/qt.prf:
154/usr/local/share/qt4/mkspecs/features/moc.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 about-gui.pro
164
165dist:
166        @$(CHK_DIR_EXISTS) .tmp/about-gui1.0.0 || $(MKDIR) .tmp/about-gui1.0.0
167        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/about-gui1.0.0/ && $(COPY_FILE) --parents mainwindow.h .tmp/about-gui1.0.0/ && $(COPY_FILE) --parents about-gui.qrc .tmp/about-gui1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp .tmp/about-gui1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/about-gui1.0.0/ && $(COPY_FILE) --parents i18n/AboutGui_af.ts i18n/AboutGui_ar.ts i18n/AboutGui_az.ts i18n/AboutGui_bg.ts i18n/AboutGui_bn.ts i18n/AboutGui_bs.ts i18n/AboutGui_ca.ts i18n/AboutGui_cs.ts i18n/AboutGui_cy.ts i18n/AboutGui_da.ts i18n/AboutGui_de.ts i18n/AboutGui_el.ts i18n/AboutGui_en_GB.ts i18n/AboutGui_en_ZA.ts i18n/AboutGui_es.ts i18n/AboutGui_et.ts i18n/AboutGui_eu.ts i18n/AboutGui_fa.ts i18n/AboutGui_fi.ts i18n/AboutGui_fr.ts i18n/AboutGui_fr_CA.ts i18n/AboutGui_fur.ts i18n/AboutGui_gl.ts i18n/AboutGui_he.ts i18n/AboutGui_hi.ts i18n/AboutGui_hr.ts i18n/AboutGui_hu.ts i18n/AboutGui_id.ts i18n/AboutGui_is.ts i18n/AboutGui_it.ts i18n/AboutGui_ja.ts i18n/AboutGui_ka.ts i18n/AboutGui_ko.ts i18n/AboutGui_lt.ts i18n/AboutGui_lv.ts i18n/AboutGui_mk.ts i18n/AboutGui_mn.ts i18n/AboutGui_ms.ts i18n/AboutGui_mt.ts i18n/AboutGui_nb.ts i18n/AboutGui_ne.ts i18n/AboutGui_nl.ts i18n/AboutGui_pa.ts i18n/AboutGui_pl.ts i18n/AboutGui_pt.ts i18n/AboutGui_pt_BR.ts i18n/AboutGui_ro.ts i18n/AboutGui_ru.ts i18n/AboutGui_sk.ts i18n/AboutGui_sl.ts i18n/AboutGui_sr.ts i18n/AboutGui_sv.ts i18n/AboutGui_sw.ts i18n/AboutGui_ta.ts i18n/AboutGui_tg.ts i18n/AboutGui_th.ts i18n/AboutGui_tr.ts i18n/AboutGui_uk.ts i18n/AboutGui_uz.ts i18n/AboutGui_vi.ts i18n/AboutGui_zh_CN.ts i18n/AboutGui_zh_HK.ts i18n/AboutGui_zh_TW.ts i18n/AboutGui_zu.ts .tmp/about-gui1.0.0/ && (cd `dirname .tmp/about-gui1.0.0` && $(TAR) about-gui1.0.0.tar about-gui1.0.0 && $(COMPRESS) about-gui1.0.0.tar) && $(MOVE) `dirname .tmp/about-gui1.0.0`/about-gui1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/about-gui1.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_mainwindow.cpp
189compiler_moc_header_clean:
190        -$(DEL_FILE) moc_mainwindow.cpp
191moc_mainwindow.cpp: mainwindow.h
192        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
193
194compiler_rcc_make_all: qrc_about-gui.cpp
195compiler_rcc_clean:
196        -$(DEL_FILE) qrc_about-gui.cpp
197qrc_about-gui.cpp: about-gui.qrc \
198                about.png \
199                logo.png
200        /usr/local/bin/rcc -name about-gui about-gui.qrc -o qrc_about-gui.cpp
201
202compiler_image_collection_make_all: qmake_image_collection.cpp
203compiler_image_collection_clean:
204        -$(DEL_FILE) qmake_image_collection.cpp
205compiler_moc_source_make_all:
206compiler_moc_source_clean:
207compiler_uic_make_all: ui_mainwindow.h
208compiler_uic_clean:
209        -$(DEL_FILE) ui_mainwindow.h
210ui_mainwindow.h: mainwindow.ui
211        /usr/local/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
212
213compiler_yacc_decl_make_all:
214compiler_yacc_decl_clean:
215compiler_yacc_impl_make_all:
216compiler_yacc_impl_clean:
217compiler_lex_make_all:
218compiler_lex_clean:
219compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
220
221####### Compile
222
223main.o: main.cpp mainwindow.h \
224                ../config.h
225        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
226
227mainwindow.o: mainwindow.cpp mainwindow.h \
228                ui_mainwindow.h
229        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
230
231moc_mainwindow.o: moc_mainwindow.cpp
232        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
233
234qrc_about-gui.o: qrc_about-gui.cpp
235        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_about-gui.o qrc_about-gui.cpp
236
237####### Install
238
239install_target: first FORCE
240        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
241        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
242
243uninstall_target:  FORCE
244        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
245        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
246
247
248install_icons: first FORCE
249        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
250        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/about-gui/about.png $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
251
252
253uninstall_icons:  FORCE
254        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/about.png
255        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
256
257
258install_desktop: first FORCE
259        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/applications/
260        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/about-gui/about.desktop $(INSTALL_ROOT)/usr/local/share/applications/
261
262
263uninstall_desktop:  FORCE
264        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/applications/about.desktop
265        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/applications/
266
267
268install_dotrans: first FORCE
269        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
270        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
271
272
273install:  install_target install_icons install_desktop install_dotrans  FORCE
274
275uninstall: uninstall_target uninstall_icons uninstall_desktop   FORCE
276
277FORCE:
278
Note: See TracBrowser for help on using the repository browser.