source: src-qt4/pc-systemupdatertray/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: 15.5 KB
Line 
1#############################################################################
2# Makefile for building: pc-systemupdatertray
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:15:43 2013
4# Project:  pc-systemupdatertray.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-systemupdatertray.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/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 -lQtSolutions_SingleApplication-head -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                UpdaterTray.cpp moc_UpdaterTray.cpp \
48                qrc_SystemUpdaterTray.cpp
49OBJECTS       = main.o \
50                UpdaterTray.o \
51                moc_UpdaterTray.o \
52                qrc_SystemUpdaterTray.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-systemupdatertray.pro
78QMAKE_TARGET  = pc-systemupdatertray
79DESTDIR       = 
80TARGET        = pc-systemupdatertray
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)$(OBJECTS) 
107        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
109Makefile: pc-systemupdatertray.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-systemupdatertray.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-systemupdatertray.pro
164
165dist:
166        @$(CHK_DIR_EXISTS) .tmp/pc-systemupdatertray1.0.0 || $(MKDIR) .tmp/pc-systemupdatertray1.0.0
167        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-systemupdatertray1.0.0/ && $(COPY_FILE) --parents UpdaterTray.h .tmp/pc-systemupdatertray1.0.0/ && $(COPY_FILE) --parents SystemUpdaterTray.qrc .tmp/pc-systemupdatertray1.0.0/ && $(COPY_FILE) --parents main.cpp UpdaterTray.cpp .tmp/pc-systemupdatertray1.0.0/ && $(COPY_FILE) --parents i18n/SystemUpdaterTray_af.ts i18n/SystemUpdaterTray_ar.ts i18n/SystemUpdaterTray_az.ts i18n/SystemUpdaterTray_bg.ts i18n/SystemUpdaterTray_bn.ts i18n/SystemUpdaterTray_bs.ts i18n/SystemUpdaterTray_ca.ts i18n/SystemUpdaterTray_cs.ts i18n/SystemUpdaterTray_cy.ts i18n/SystemUpdaterTray_da.ts i18n/SystemUpdaterTray_de.ts i18n/SystemUpdaterTray_el.ts i18n/SystemUpdaterTray_en_GB.ts i18n/SystemUpdaterTray_en_ZA.ts i18n/SystemUpdaterTray_es.ts i18n/SystemUpdaterTray_et.ts i18n/SystemUpdaterTray_eu.ts i18n/SystemUpdaterTray_fa.ts i18n/SystemUpdaterTray_fi.ts i18n/SystemUpdaterTray_fr.ts i18n/SystemUpdaterTray_fr_CA.ts i18n/SystemUpdaterTray_gl.ts i18n/SystemUpdaterTray_he.ts i18n/SystemUpdaterTray_hi.ts i18n/SystemUpdaterTray_hr.ts i18n/SystemUpdaterTray_hu.ts i18n/SystemUpdaterTray_id.ts i18n/SystemUpdaterTray_is.ts i18n/SystemUpdaterTray_it.ts i18n/SystemUpdaterTray_ja.ts i18n/SystemUpdaterTray_ka.ts i18n/SystemUpdaterTray_ko.ts i18n/SystemUpdaterTray_lt.ts i18n/SystemUpdaterTray_lv.ts i18n/SystemUpdaterTray_mk.ts i18n/SystemUpdaterTray_mn.ts i18n/SystemUpdaterTray_ms.ts i18n/SystemUpdaterTray_mt.ts i18n/SystemUpdaterTray_nb.ts i18n/SystemUpdaterTray_nl.ts i18n/SystemUpdaterTray_pa.ts i18n/SystemUpdaterTray_pl.ts i18n/SystemUpdaterTray_pt.ts i18n/SystemUpdaterTray_pt_BR.ts i18n/SystemUpdaterTray_ro.ts i18n/SystemUpdaterTray_ru.ts i18n/SystemUpdaterTray_sk.ts i18n/SystemUpdaterTray_sl.ts i18n/SystemUpdaterTray_sr.ts i18n/SystemUpdaterTray_sv.ts i18n/SystemUpdaterTray_sw.ts i18n/SystemUpdaterTray_ta.ts i18n/SystemUpdaterTray_tg.ts i18n/SystemUpdaterTray_th.ts i18n/SystemUpdaterTray_tr.ts i18n/SystemUpdaterTray_uk.ts i18n/SystemUpdaterTray_uz.ts i18n/SystemUpdaterTray_vi.ts i18n/SystemUpdaterTray_zh_CN.ts i18n/SystemUpdaterTray_zh_HK.ts i18n/SystemUpdaterTray_zh_TW.ts i18n/SystemUpdaterTray_zu.ts .tmp/pc-systemupdatertray1.0.0/ && (cd `dirname .tmp/pc-systemupdatertray1.0.0` && $(TAR) pc-systemupdatertray1.0.0.tar pc-systemupdatertray1.0.0 && $(COMPRESS) pc-systemupdatertray1.0.0.tar) && $(MOVE) `dirname .tmp/pc-systemupdatertray1.0.0`/pc-systemupdatertray1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-systemupdatertray1.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_UpdaterTray.cpp
189compiler_moc_header_clean:
190        -$(DEL_FILE) moc_UpdaterTray.cpp
191moc_UpdaterTray.cpp: UpdaterTray.h
192        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) UpdaterTray.h -o moc_UpdaterTray.cpp
193
194compiler_rcc_make_all: qrc_SystemUpdaterTray.cpp
195compiler_rcc_clean:
196        -$(DEL_FILE) qrc_SystemUpdaterTray.cpp
197qrc_SystemUpdaterTray.cpp: SystemUpdaterTray.qrc \
198                sysupdater.png \
199                folder.png
200        /usr/local/bin/rcc -name SystemUpdaterTray SystemUpdaterTray.qrc -o qrc_SystemUpdaterTray.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:
208compiler_uic_clean:
209compiler_yacc_decl_make_all:
210compiler_yacc_decl_clean:
211compiler_yacc_impl_make_all:
212compiler_yacc_impl_clean:
213compiler_lex_make_all:
214compiler_lex_clean:
215compiler_clean: compiler_moc_header_clean compiler_rcc_clean
216
217####### Compile
218
219main.o: main.cpp UpdaterTray.h \
220                ../config.h
221        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
222
223UpdaterTray.o: UpdaterTray.cpp UpdaterTray.h \
224                ../config.h
225        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o UpdaterTray.o UpdaterTray.cpp
226
227moc_UpdaterTray.o: moc_UpdaterTray.cpp
228        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_UpdaterTray.o moc_UpdaterTray.cpp
229
230qrc_SystemUpdaterTray.o: qrc_SystemUpdaterTray.cpp
231        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_SystemUpdaterTray.o qrc_SystemUpdaterTray.cpp
232
233####### Install
234
235install_target: first FORCE
236        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
237        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
238
239uninstall_target:  FORCE
240        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
241        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
242
243
244install_dotrans: first FORCE
245        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
246        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
247
248
249install_desktop: first FORCE
250        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/applications/
251        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/pcbsdpbu.desktop $(INSTALL_ROOT)/usr/local/share/applications/
252
253
254uninstall_desktop:  FORCE
255        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/applications/pcbsdpbu.desktop
256        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/applications/
257
258
259install_images: first FORCE
260        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
261        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/autoupdateinstalling.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
262        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/autoupdateready.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
263        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/connecterror.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
264        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/go-down.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
265        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/pbiupdates.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
266        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/restart.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
267        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/sysupdater.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
268        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/sysupdates.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
269        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/tmp.tar $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
270        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/updated.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
271        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/updating.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
272        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-systemupdatertray/images/working.png $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
273
274
275uninstall_images:  FORCE
276        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/autoupdateinstalling.png
277         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/autoupdateready.png
278         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/connecterror.png
279         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/go-down.png
280         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/pbiupdates.png
281         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/restart.png
282         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/sysupdater.png
283         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/sysupdates.png
284         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/tmp.tar
285         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/updated.png
286         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/updating.png
287         -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/working.png
288        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-systemupdatertray/images/
289
290
291install:  install_target install_dotrans install_desktop install_images  FORCE
292
293uninstall: uninstall_target uninstall_desktop uninstall_images   FORCE
294
295FORCE:
296
Note: See TracBrowser for help on using the repository browser.