source: src-qt4/pc-servicemanager/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@…>, 16 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.3 KB
Line 
1#############################################################################
2# Makefile for building: pc-servicemanager
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Wed Jan 16 10:34:05 2013
4# Project:  pc-servicemanager.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-servicemanager.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. -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 -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                progress.cpp \
48                servicemanager.cpp moc_progress.cpp \
49                moc_servicemanager.cpp \
50                qrc_servicemanager.cpp
51OBJECTS       = main.o \
52                progress.o \
53                servicemanager.o \
54                moc_progress.o \
55                moc_servicemanager.o \
56                qrc_servicemanager.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-servicemanager.pro
82QMAKE_TARGET  = pc-servicemanager
83DESTDIR       = 
84TARGET        = pc-servicemanager
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_servicemanager.h ui_progress.h $(OBJECTS) 
111        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
113Makefile: pc-servicemanager.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-servicemanager.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-servicemanager.pro
168
169dist:
170        @$(CHK_DIR_EXISTS) .tmp/pc-servicemanager1.0.0 || $(MKDIR) .tmp/pc-servicemanager1.0.0
171        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-servicemanager1.0.0/ && $(COPY_FILE) --parents progress.h servicemanager.h .tmp/pc-servicemanager1.0.0/ && $(COPY_FILE) --parents servicemanager.qrc .tmp/pc-servicemanager1.0.0/ && $(COPY_FILE) --parents main.cpp progress.cpp servicemanager.cpp .tmp/pc-servicemanager1.0.0/ && $(COPY_FILE) --parents servicemanager.ui progress.ui .tmp/pc-servicemanager1.0.0/ && $(COPY_FILE) --parents i18n/ServiceManager_af.ts i18n/ServiceManager_ar.ts i18n/ServiceManager_az.ts i18n/ServiceManager_bg.ts i18n/ServiceManager_bn.ts i18n/ServiceManager_bs.ts i18n/ServiceManager_ca.ts i18n/ServiceManager_cs.ts i18n/ServiceManager_cy.ts i18n/ServiceManager_da.ts i18n/ServiceManager_de.ts i18n/ServiceManager_el.ts i18n/ServiceManager_en_GB.ts i18n/ServiceManager_en_ZA.ts i18n/ServiceManager_es.ts i18n/ServiceManager_et.ts i18n/ServiceManager_eu.ts i18n/ServiceManager_fa.ts i18n/ServiceManager_fi.ts i18n/ServiceManager_fr.ts i18n/ServiceManager_fr_CA.ts i18n/ServiceManager_gl.ts i18n/ServiceManager_he.ts i18n/ServiceManager_hi.ts i18n/ServiceManager_hr.ts i18n/ServiceManager_hu.ts i18n/ServiceManager_id.ts i18n/ServiceManager_is.ts i18n/ServiceManager_it.ts i18n/ServiceManager_ja.ts i18n/ServiceManager_ka.ts i18n/ServiceManager_ko.ts i18n/ServiceManager_lt.ts i18n/ServiceManager_lv.ts i18n/ServiceManager_mk.ts i18n/ServiceManager_mn.ts i18n/ServiceManager_ms.ts i18n/ServiceManager_mt.ts i18n/ServiceManager_nb.ts i18n/ServiceManager_nl.ts i18n/ServiceManager_pa.ts i18n/ServiceManager_pl.ts i18n/ServiceManager_pt.ts i18n/ServiceManager_pt_BR.ts i18n/ServiceManager_ro.ts i18n/ServiceManager_ru.ts i18n/ServiceManager_sk.ts i18n/ServiceManager_sl.ts i18n/ServiceManager_sr.ts i18n/ServiceManager_sv.ts i18n/ServiceManager_sw.ts i18n/ServiceManager_ta.ts i18n/ServiceManager_tg.ts i18n/ServiceManager_th.ts i18n/ServiceManager_tr.ts i18n/ServiceManager_uk.ts i18n/ServiceManager_uz.ts i18n/ServiceManager_vi.ts i18n/ServiceManager_zh_CN.ts i18n/ServiceManager_zh_HK.ts i18n/ServiceManager_zh_TW.ts i18n/ServiceManager_zu.ts .tmp/pc-servicemanager1.0.0/ && (cd `dirname .tmp/pc-servicemanager1.0.0` && $(TAR) pc-servicemanager1.0.0.tar pc-servicemanager1.0.0 && $(COMPRESS) pc-servicemanager1.0.0.tar) && $(MOVE) `dirname .tmp/pc-servicemanager1.0.0`/pc-servicemanager1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-servicemanager1.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_progress.cpp moc_servicemanager.cpp
193compiler_moc_header_clean:
194        -$(DEL_FILE) moc_progress.cpp moc_servicemanager.cpp
195moc_progress.cpp: ui_progress.h \
196                progress.h
197        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) progress.h -o moc_progress.cpp
198
199moc_servicemanager.cpp: ui_servicemanager.h \
200                ui_progress.h \
201                progress.h \
202                servicemanager.h
203        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) servicemanager.h -o moc_servicemanager.cpp
204
205compiler_rcc_make_all: qrc_servicemanager.cpp
206compiler_rcc_clean:
207        -$(DEL_FILE) qrc_servicemanager.cpp
208qrc_servicemanager.cpp: servicemanager.qrc \
209                NewLogoSmall.png \
210                images/process-stop.png \
211                images/reload.png \
212                images/configure.png \
213                images/player_play.png
214        /usr/local/bin/rcc -name servicemanager servicemanager.qrc -o qrc_servicemanager.cpp
215
216compiler_image_collection_make_all: qmake_image_collection.cpp
217compiler_image_collection_clean:
218        -$(DEL_FILE) qmake_image_collection.cpp
219compiler_moc_source_make_all:
220compiler_moc_source_clean:
221compiler_uic_make_all: ui_servicemanager.h ui_progress.h
222compiler_uic_clean:
223        -$(DEL_FILE) ui_servicemanager.h ui_progress.h
224ui_servicemanager.h: servicemanager.ui
225        /usr/local/bin/uic-qt4 servicemanager.ui -o ui_servicemanager.h
226
227ui_progress.h: progress.ui
228        /usr/local/bin/uic-qt4 progress.ui -o ui_progress.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 servicemanager.h \
241                ui_servicemanager.h \
242                ui_progress.h \
243                progress.h \
244                ../config.h
245        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
246
247progress.o: progress.cpp ui_progress.h \
248                progress.h
249        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o progress.o progress.cpp
250
251servicemanager.o: servicemanager.cpp ui_servicemanager.h \
252                servicemanager.h \
253                ui_progress.h \
254                progress.h
255        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o servicemanager.o servicemanager.cpp
256
257moc_progress.o: moc_progress.cpp
258        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_progress.o moc_progress.cpp
259
260moc_servicemanager.o: moc_servicemanager.cpp
261        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_servicemanager.o moc_servicemanager.cpp
262
263qrc_servicemanager.o: qrc_servicemanager.cpp
264        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_servicemanager.o qrc_servicemanager.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.