source: src-qt4/pc-mounttray/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.6 KB
Line 
1#############################################################################
2# Makefile for building: pc-mounttray
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:05:21 2013
4# Project:  pc-mounttray.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-mounttray.pro
7#############################################################################
8
9####### Compiler, tools and options
10
11CC            = gcc
12CXX           = g++
13DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_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/QtNetwork -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I../libpcbsd -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 -L../libpcbsd -lQtSolutions_SingleApplication-head -lpcbsd -lQtGui -L/usr/local/lib -L/usr/local/lib/qt4 -lQtNetwork -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                mountTray.cpp \
48                menuItem.cpp moc_mountTray.cpp \
49                moc_menuItem.cpp \
50                qrc_pc-mounttray.cpp
51OBJECTS       = main.o \
52                mountTray.o \
53                menuItem.o \
54                moc_mountTray.o \
55                moc_menuItem.o \
56                qrc_pc-mounttray.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-mounttray.pro
82QMAKE_TARGET  = pc-mounttray
83DESTDIR       = 
84TARGET        = pc-mounttray
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)$(OBJECTS) 
111        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
113Makefile: pc-mounttray.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                /usr/local/lib/qt4/libQtNetwork.prl
140        $(QMAKE) -o Makefile pc-mounttray.pro
141/usr/local/share/qt4/mkspecs/common/unix.conf:
142/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
143/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
144/usr/local/share/qt4/mkspecs/common/g++-base.conf:
145/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
146/usr/local/share/qt4/mkspecs/qconfig.pri:
147/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
148/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
149/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
150/usr/local/share/qt4/mkspecs/features/qt_config.prf:
151/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
152/usr/local/share/qt4/mkspecs/features/default_pre.prf:
153/usr/local/share/qt4/mkspecs/features/release.prf:
154/usr/local/share/qt4/mkspecs/features/default_post.prf:
155/usr/local/share/qt4/mkspecs/features/warn_on.prf:
156/usr/local/share/qt4/mkspecs/features/qt.prf:
157/usr/local/share/qt4/mkspecs/features/moc.prf:
158/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
159/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
160/usr/local/share/qt4/mkspecs/features/resources.prf:
161/usr/local/share/qt4/mkspecs/features/uic.prf:
162/usr/local/share/qt4/mkspecs/features/yacc.prf:
163/usr/local/share/qt4/mkspecs/features/lex.prf:
164/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
165/usr/local/lib/qt4/libQtGui.prl:
166/usr/local/lib/qt4/libQtCore.prl:
167/usr/local/lib/qt4/libQtNetwork.prl:
168qmake:  FORCE
169        @$(QMAKE) -o Makefile pc-mounttray.pro
170
171dist:
172        @$(CHK_DIR_EXISTS) .tmp/pc-mounttray1.0.0 || $(MKDIR) .tmp/pc-mounttray1.0.0
173        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-mounttray1.0.0/ && $(COPY_FILE) --parents mountTray.h menuItem.h .tmp/pc-mounttray1.0.0/ && $(COPY_FILE) --parents pc-mounttray.qrc .tmp/pc-mounttray1.0.0/ && $(COPY_FILE) --parents main.cpp mountTray.cpp menuItem.cpp .tmp/pc-mounttray1.0.0/ && $(COPY_FILE) --parents i18n/MountTray_af.ts i18n/MountTray_ar.ts i18n/MountTray_az.ts i18n/MountTray_bg.ts i18n/MountTray_bn.ts i18n/MountTray_bs.ts i18n/MountTray_ca.ts i18n/MountTray_cs.ts i18n/MountTray_cy.ts i18n/MountTray_da.ts i18n/MountTray_de.ts i18n/MountTray_el.ts i18n/MountTray_en_GB.ts i18n/MountTray_en_ZA.ts i18n/MountTray_es.ts i18n/MountTray_et.ts i18n/MountTray_eu.ts i18n/MountTray_fa.ts i18n/MountTray_fi.ts i18n/MountTray_fr.ts i18n/MountTray_fr_CA.ts i18n/MountTray_gl.ts i18n/MountTray_he.ts i18n/MountTray_hi.ts i18n/MountTray_hr.ts i18n/MountTray_hu.ts i18n/MountTray_id.ts i18n/MountTray_is.ts i18n/MountTray_it.ts i18n/MountTray_ja.ts i18n/MountTray_ka.ts i18n/MountTray_ko.ts i18n/MountTray_lt.ts i18n/MountTray_lv.ts i18n/MountTray_mk.ts i18n/MountTray_mn.ts i18n/MountTray_ms.ts i18n/MountTray_mt.ts i18n/MountTray_nb.ts i18n/MountTray_nl.ts i18n/MountTray_pa.ts i18n/MountTray_pl.ts i18n/MountTray_pt.ts i18n/MountTray_pt_BR.ts i18n/MountTray_ro.ts i18n/MountTray_ru.ts i18n/MountTray_sk.ts i18n/MountTray_sl.ts i18n/MountTray_sr.ts i18n/MountTray_sv.ts i18n/MountTray_sw.ts i18n/MountTray_ta.ts i18n/MountTray_tg.ts i18n/MountTray_th.ts i18n/MountTray_tr.ts i18n/MountTray_uk.ts i18n/MountTray_uz.ts i18n/MountTray_vi.ts i18n/MountTray_zh_CN.ts i18n/MountTray_zh_HK.ts i18n/MountTray_zh_TW.ts i18n/MountTray_zu.ts .tmp/pc-mounttray1.0.0/ && (cd `dirname .tmp/pc-mounttray1.0.0` && $(TAR) pc-mounttray1.0.0.tar pc-mounttray1.0.0 && $(COMPRESS) pc-mounttray1.0.0.tar) && $(MOVE) `dirname .tmp/pc-mounttray1.0.0`/pc-mounttray1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-mounttray1.0.0
174
175
176clean:compiler_clean
177        -$(DEL_FILE) $(OBJECTS)
178        -$(DEL_FILE) *~ core *.core
179
180
181####### Sub-libraries
182
183distclean: clean
184        -$(DEL_FILE) $(TARGET) 
185        -$(DEL_FILE) Makefile
186
187
188check: first
189
190mocclean: compiler_moc_header_clean compiler_moc_source_clean
191
192mocables: compiler_moc_header_make_all compiler_moc_source_make_all
193
194compiler_moc_header_make_all: moc_mountTray.cpp moc_menuItem.cpp
195compiler_moc_header_clean:
196        -$(DEL_FILE) moc_mountTray.cpp moc_menuItem.cpp
197moc_mountTray.cpp: menuItem.h \
198                mountTray.h
199        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) mountTray.h -o moc_mountTray.cpp
200
201moc_menuItem.cpp: menuItem.h
202        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) menuItem.h -o moc_menuItem.cpp
203
204compiler_rcc_make_all: qrc_pc-mounttray.cpp
205compiler_rcc_clean:
206        -$(DEL_FILE) qrc_pc-mounttray.cpp
207qrc_pc-mounttray.cpp: pc-mounttray.qrc \
208                icons/CDdevices.png \
209                icons/mount.png \
210                icons/eject.png \
211                icons/sdcard.png \
212                icons/musiccd.png \
213                icons/harddrive.png \
214                icons/usb.png \
215                icons/dvd.png \
216                icons/application-exit.png \
217                icons/folder.png \
218                icons/refresh.png \
219                icons/CDdevices-inactive.png
220        /usr/local/bin/rcc -name pc-mounttray pc-mounttray.qrc -o qrc_pc-mounttray.cpp
221
222compiler_image_collection_make_all: qmake_image_collection.cpp
223compiler_image_collection_clean:
224        -$(DEL_FILE) qmake_image_collection.cpp
225compiler_moc_source_make_all:
226compiler_moc_source_clean:
227compiler_uic_make_all:
228compiler_uic_clean:
229compiler_yacc_decl_make_all:
230compiler_yacc_decl_clean:
231compiler_yacc_impl_make_all:
232compiler_yacc_impl_clean:
233compiler_lex_make_all:
234compiler_lex_clean:
235compiler_clean: compiler_moc_header_clean compiler_rcc_clean
236
237####### Compile
238
239main.o: main.cpp mountTray.h \
240                menuItem.h \
241                ../config.h
242        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
243
244mountTray.o: mountTray.cpp mountTray.h \
245                menuItem.h
246        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mountTray.o mountTray.cpp
247
248menuItem.o: menuItem.cpp menuItem.h
249        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o menuItem.o menuItem.cpp
250
251moc_mountTray.o: moc_mountTray.cpp
252        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mountTray.o moc_mountTray.cpp
253
254moc_menuItem.o: moc_menuItem.cpp
255        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_menuItem.o moc_menuItem.cpp
256
257qrc_pc-mounttray.o: qrc_pc-mounttray.cpp
258        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_pc-mounttray.o qrc_pc-mounttray.cpp
259
260####### Install
261
262install_target: first FORCE
263        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
264        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
265
266uninstall_target:  FORCE
267        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
268        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
269
270
271install_dotrans: first FORCE
272        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
273        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
274
275
276install:  install_target install_dotrans  FORCE
277
278uninstall: uninstall_target   FORCE
279
280FORCE:
281
Note: See TracBrowser for help on using the repository browser.