source: src-qt4/pc-soundconfig/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@…>, 20 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.1 KB
Line 
1#############################################################################
2# Makefile for building: pc-soundconfig
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:10:17 2013
4# Project:  pc-soundconfig.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-soundconfig.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 -lpcbsd -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                snddialog.cpp moc_snddialog.cpp \
48                qrc_SoundConfig.cpp
49OBJECTS       = main.o \
50                snddialog.o \
51                moc_snddialog.o \
52                qrc_SoundConfig.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-soundconfig.pro
78QMAKE_TARGET  = pc-soundconfig
79DESTDIR       = 
80TARGET        = pc-soundconfig
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_snddialog.h $(OBJECTS) 
107        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
108
109Makefile: pc-soundconfig.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-soundconfig.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-soundconfig.pro
164
165dist:
166        @$(CHK_DIR_EXISTS) .tmp/pc-soundconfig1.0.0 || $(MKDIR) .tmp/pc-soundconfig1.0.0
167        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-soundconfig1.0.0/ && $(COPY_FILE) --parents snddialog.h .tmp/pc-soundconfig1.0.0/ && $(COPY_FILE) --parents SoundConfig.qrc .tmp/pc-soundconfig1.0.0/ && $(COPY_FILE) --parents main.cpp snddialog.cpp .tmp/pc-soundconfig1.0.0/ && $(COPY_FILE) --parents snddialog.ui .tmp/pc-soundconfig1.0.0/ && $(COPY_FILE) --parents i18n/SoundConfig_af.ts i18n/SoundConfig_ar.ts i18n/SoundConfig_az.ts i18n/SoundConfig_bg.ts i18n/SoundConfig_bn.ts i18n/SoundConfig_bs.ts i18n/SoundConfig_ca.ts i18n/SoundConfig_cs.ts i18n/SoundConfig_cy.ts i18n/SoundConfig_da.ts i18n/SoundConfig_de.ts i18n/SoundConfig_el.ts i18n/SoundConfig_en_GB.ts i18n/SoundConfig_en_ZA.ts i18n/SoundConfig_es.ts i18n/SoundConfig_et.ts i18n/SoundConfig_eu.ts i18n/SoundConfig_fa.ts i18n/SoundConfig_fi.ts i18n/SoundConfig_fr.ts i18n/SoundConfig_fr_CA.ts i18n/SoundConfig_gl.ts i18n/SoundConfig_he.ts i18n/SoundConfig_hi.ts i18n/SoundConfig_hr.ts i18n/SoundConfig_hu.ts i18n/SoundConfig_id.ts i18n/SoundConfig_is.ts i18n/SoundConfig_it.ts i18n/SoundConfig_ja.ts i18n/SoundConfig_ka.ts i18n/SoundConfig_ko.ts i18n/SoundConfig_lt.ts i18n/SoundConfig_lv.ts i18n/SoundConfig_mk.ts i18n/SoundConfig_mn.ts i18n/SoundConfig_ms.ts i18n/SoundConfig_mt.ts i18n/SoundConfig_nb.ts i18n/SoundConfig_nl.ts i18n/SoundConfig_pa.ts i18n/SoundConfig_pl.ts i18n/SoundConfig_pt.ts i18n/SoundConfig_pt_BR.ts i18n/SoundConfig_ro.ts i18n/SoundConfig_ru.ts i18n/SoundConfig_sk.ts i18n/SoundConfig_sl.ts i18n/SoundConfig_sr.ts i18n/SoundConfig_sv.ts i18n/SoundConfig_sw.ts i18n/SoundConfig_ta.ts i18n/SoundConfig_tg.ts i18n/SoundConfig_th.ts i18n/SoundConfig_tr.ts i18n/SoundConfig_uk.ts i18n/SoundConfig_uz.ts i18n/SoundConfig_vi.ts i18n/SoundConfig_zh_CN.ts i18n/SoundConfig_zh_HK.ts i18n/SoundConfig_zh_TW.ts i18n/SoundConfig_zu.ts .tmp/pc-soundconfig1.0.0/ && (cd `dirname .tmp/pc-soundconfig1.0.0` && $(TAR) pc-soundconfig1.0.0.tar pc-soundconfig1.0.0 && $(COMPRESS) pc-soundconfig1.0.0.tar) && $(MOVE) `dirname .tmp/pc-soundconfig1.0.0`/pc-soundconfig1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-soundconfig1.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_snddialog.cpp
189compiler_moc_header_clean:
190        -$(DEL_FILE) moc_snddialog.cpp
191moc_snddialog.cpp: ui_snddialog.h \
192                snddialog.h
193        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) snddialog.h -o moc_snddialog.cpp
194
195compiler_rcc_make_all: qrc_SoundConfig.cpp
196compiler_rcc_clean:
197        -$(DEL_FILE) qrc_SoundConfig.cpp
198qrc_SoundConfig.cpp: SoundConfig.qrc \
199                sound.png
200        /usr/local/bin/rcc -name SoundConfig SoundConfig.qrc -o qrc_SoundConfig.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_snddialog.h
208compiler_uic_clean:
209        -$(DEL_FILE) ui_snddialog.h
210ui_snddialog.h: snddialog.ui
211        /usr/local/bin/uic-qt4 snddialog.ui -o ui_snddialog.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 snddialog.h \
224                ui_snddialog.h \
225                ../config.h
226        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
227
228snddialog.o: snddialog.cpp snddialog.h \
229                ui_snddialog.h
230        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o snddialog.o snddialog.cpp
231
232moc_snddialog.o: moc_snddialog.cpp
233        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_snddialog.o moc_snddialog.cpp
234
235qrc_SoundConfig.o: qrc_SoundConfig.cpp
236        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_SoundConfig.o qrc_SoundConfig.cpp
237
238####### Install
239
240install_target: first FORCE
241        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
242        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
243
244uninstall_target:  FORCE
245        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
246        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
247
248
249install_dotrans: first FORCE
250        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
251        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
252
253
254install:  install_target install_dotrans  FORCE
255
256uninstall: uninstall_target   FORCE
257
258FORCE:
259
Note: See TracBrowser for help on using the repository browser.