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

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 1f0939e was 1f0939e, checked in by Kris Moore <kris@…>, 21 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.3 KB
Line 
1#############################################################################
2# Makefile for building: pc-bluetoothmanager
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 00:57:31 2013
4# Project:  pc-bluetoothmanager.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-bluetoothmanager.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 -lpcbsd -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                btmaingui.cpp moc_btmaingui.cpp
48OBJECTS       = main.o \
49                btmaingui.o \
50                moc_btmaingui.o
51DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
52                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
53                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
54                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
55                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
56                /usr/local/share/qt4/mkspecs/qconfig.pri \
57                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
58                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
59                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
60                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
61                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
62                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
63                /usr/local/share/qt4/mkspecs/features/release.prf \
64                /usr/local/share/qt4/mkspecs/features/default_post.prf \
65                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
66                /usr/local/share/qt4/mkspecs/features/unix/thread.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/resources.prf \
71                /usr/local/share/qt4/mkspecs/features/uic.prf \
72                /usr/local/share/qt4/mkspecs/features/yacc.prf \
73                /usr/local/share/qt4/mkspecs/features/lex.prf \
74                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
75                pc-bluetoothmanager.pro
76QMAKE_TARGET  = pc-bluetoothmanager
77DESTDIR       = 
78TARGET        = pc-bluetoothmanager
79
80first: all
81####### Implicit rules
82
83.SUFFIXES: .o .c .cpp .cc .cxx .C
84
85.cpp.o:
86        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
87
88.cc.o:
89        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
90
91.cxx.o:
92        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
93
94.C.o:
95        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
96
97.c.o:
98        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
99
100####### Build rules
101
102all: Makefile $(TARGET)
103
104$(TARGET): ui_btmaingui.h $(OBJECTS) 
105        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
106
107Makefile: pc-bluetoothmanager.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
108                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
109                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
110                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
111                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
112                /usr/local/share/qt4/mkspecs/qconfig.pri \
113                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
114                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
115                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
116                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
117                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
118                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
119                /usr/local/share/qt4/mkspecs/features/release.prf \
120                /usr/local/share/qt4/mkspecs/features/default_post.prf \
121                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
122                /usr/local/share/qt4/mkspecs/features/unix/thread.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/resources.prf \
127                /usr/local/share/qt4/mkspecs/features/uic.prf \
128                /usr/local/share/qt4/mkspecs/features/yacc.prf \
129                /usr/local/share/qt4/mkspecs/features/lex.prf \
130                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
131                /usr/local/lib/qt4/libQtGui.prl \
132                /usr/local/lib/qt4/libQtCore.prl
133        $(QMAKE) -o Makefile pc-bluetoothmanager.pro
134/usr/local/share/qt4/mkspecs/common/unix.conf:
135/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
136/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
137/usr/local/share/qt4/mkspecs/common/g++-base.conf:
138/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
139/usr/local/share/qt4/mkspecs/qconfig.pri:
140/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
141/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
142/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
143/usr/local/share/qt4/mkspecs/features/qt_config.prf:
144/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
145/usr/local/share/qt4/mkspecs/features/default_pre.prf:
146/usr/local/share/qt4/mkspecs/features/release.prf:
147/usr/local/share/qt4/mkspecs/features/default_post.prf:
148/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
149/usr/local/share/qt4/mkspecs/features/unix/thread.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/resources.prf:
154/usr/local/share/qt4/mkspecs/features/uic.prf:
155/usr/local/share/qt4/mkspecs/features/yacc.prf:
156/usr/local/share/qt4/mkspecs/features/lex.prf:
157/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
158/usr/local/lib/qt4/libQtGui.prl:
159/usr/local/lib/qt4/libQtCore.prl:
160qmake:  FORCE
161        @$(QMAKE) -o Makefile pc-bluetoothmanager.pro
162
163dist:
164        @$(CHK_DIR_EXISTS) .tmp/pc-bluetoothmanager1.0.0 || $(MKDIR) .tmp/pc-bluetoothmanager1.0.0
165        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-bluetoothmanager1.0.0/ && $(COPY_FILE) --parents btmaingui.h .tmp/pc-bluetoothmanager1.0.0/ && $(COPY_FILE) --parents main.cpp btmaingui.cpp .tmp/pc-bluetoothmanager1.0.0/ && $(COPY_FILE) --parents btmaingui.ui .tmp/pc-bluetoothmanager1.0.0/ && $(COPY_FILE) --parents i18n/pc-bluetoothmanager_af.ts i18n/pc-bluetoothmanager_ar.ts i18n/pc-bluetoothmanager_az.ts i18n/pc-bluetoothmanager_bg.ts i18n/pc-bluetoothmanager_bn.ts i18n/pc-bluetoothmanager_bs.ts i18n/pc-bluetoothmanager_ca.ts i18n/pc-bluetoothmanager_cs.ts i18n/pc-bluetoothmanager_cy.ts i18n/pc-bluetoothmanager_da.ts i18n/pc-bluetoothmanager_de.ts i18n/pc-bluetoothmanager_el.ts i18n/pc-bluetoothmanager_en_GB.ts i18n/pc-bluetoothmanager_en_ZA.ts i18n/pc-bluetoothmanager_es.ts i18n/pc-bluetoothmanager_et.ts i18n/pc-bluetoothmanager_eu.ts i18n/pc-bluetoothmanager_fa.ts i18n/pc-bluetoothmanager_fi.ts i18n/pc-bluetoothmanager_fr.ts i18n/pc-bluetoothmanager_fr_CA.ts i18n/pc-bluetoothmanager_gl.ts i18n/pc-bluetoothmanager_he.ts i18n/pc-bluetoothmanager_hi.ts i18n/pc-bluetoothmanager_hr.ts i18n/pc-bluetoothmanager_hu.ts i18n/pc-bluetoothmanager_id.ts i18n/pc-bluetoothmanager_is.ts i18n/pc-bluetoothmanager_it.ts i18n/pc-bluetoothmanager_ja.ts i18n/pc-bluetoothmanager_ka.ts i18n/pc-bluetoothmanager_ko.ts i18n/pc-bluetoothmanager_lt.ts i18n/pc-bluetoothmanager_lv.ts i18n/pc-bluetoothmanager_mk.ts i18n/pc-bluetoothmanager_mn.ts i18n/pc-bluetoothmanager_ms.ts i18n/pc-bluetoothmanager_mt.ts i18n/pc-bluetoothmanager_nb.ts i18n/pc-bluetoothmanager_nl.ts i18n/pc-bluetoothmanager_pa.ts i18n/pc-bluetoothmanager_pl.ts i18n/pc-bluetoothmanager_pt.ts i18n/pc-bluetoothmanager_pt_BR.ts i18n/pc-bluetoothmanager_ro.ts i18n/pc-bluetoothmanager_ru.ts i18n/pc-bluetoothmanager_sk.ts i18n/pc-bluetoothmanager_sl.ts i18n/pc-bluetoothmanager_sr.ts i18n/pc-bluetoothmanager_sv.ts i18n/pc-bluetoothmanager_sw.ts i18n/pc-bluetoothmanager_ta.ts i18n/pc-bluetoothmanager_tg.ts i18n/pc-bluetoothmanager_th.ts i18n/pc-bluetoothmanager_tr.ts i18n/pc-bluetoothmanager_uk.ts i18n/pc-bluetoothmanager_uz.ts i18n/pc-bluetoothmanager_vi.ts i18n/pc-bluetoothmanager_zh_CN.ts i18n/pc-bluetoothmanager_zh_HK.ts i18n/pc-bluetoothmanager_zh_TW.ts i18n/pc-bluetoothmanager_zu.ts .tmp/pc-bluetoothmanager1.0.0/ && (cd `dirname .tmp/pc-bluetoothmanager1.0.0` && $(TAR) pc-bluetoothmanager1.0.0.tar pc-bluetoothmanager1.0.0 && $(COMPRESS) pc-bluetoothmanager1.0.0.tar) && $(MOVE) `dirname .tmp/pc-bluetoothmanager1.0.0`/pc-bluetoothmanager1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-bluetoothmanager1.0.0
166
167
168clean:compiler_clean
169        -$(DEL_FILE) $(OBJECTS)
170        -$(DEL_FILE) *~ core *.core
171
172
173####### Sub-libraries
174
175distclean: clean
176        -$(DEL_FILE) $(TARGET) 
177        -$(DEL_FILE) Makefile
178
179
180check: first
181
182mocclean: compiler_moc_header_clean compiler_moc_source_clean
183
184mocables: compiler_moc_header_make_all compiler_moc_source_make_all
185
186compiler_moc_header_make_all: moc_btmaingui.cpp
187compiler_moc_header_clean:
188        -$(DEL_FILE) moc_btmaingui.cpp
189moc_btmaingui.cpp: btmaingui.h
190        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) btmaingui.h -o moc_btmaingui.cpp
191
192compiler_rcc_make_all:
193compiler_rcc_clean:
194compiler_image_collection_make_all: qmake_image_collection.cpp
195compiler_image_collection_clean:
196        -$(DEL_FILE) qmake_image_collection.cpp
197compiler_moc_source_make_all:
198compiler_moc_source_clean:
199compiler_uic_make_all: ui_btmaingui.h
200compiler_uic_clean:
201        -$(DEL_FILE) ui_btmaingui.h
202ui_btmaingui.h: btmaingui.ui
203        /usr/local/bin/uic-qt4 btmaingui.ui -o ui_btmaingui.h
204
205compiler_yacc_decl_make_all:
206compiler_yacc_decl_clean:
207compiler_yacc_impl_make_all:
208compiler_yacc_impl_clean:
209compiler_lex_make_all:
210compiler_lex_clean:
211compiler_clean: compiler_moc_header_clean compiler_uic_clean
212
213####### Compile
214
215main.o: main.cpp btmaingui.h \
216                ../config.h
217        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
218
219btmaingui.o: btmaingui.cpp btmaingui.h \
220                ui_btmaingui.h
221        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o btmaingui.o btmaingui.cpp
222
223moc_btmaingui.o: moc_btmaingui.cpp
224        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_btmaingui.o moc_btmaingui.cpp
225
226####### Install
227
228install_target: first FORCE
229        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
230        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
231
232uninstall_target:  FORCE
233        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
234        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
235
236
237install_dotrans: first FORCE
238        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
239        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
240
241
242install:  install_target install_dotrans  FORCE
243
244uninstall: uninstall_target   FORCE
245
246FORCE:
247
Note: See TracBrowser for help on using the repository browser.