source: src-qt4/pc-sounddetect/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: 9.5 KB
Line 
1#############################################################################
2# Makefile for building: pc-sounddetect
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:10:56 2013
4# Project:  pc-sounddetect.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-sounddetect.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/usr/local/include/libxml2 -I/usr/local/include/curl -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/usr/local/lib -lxml2 -lcurl -lutil -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       = parse_sound.c \
47                sound_detect.c
48OBJECTS       = parse_sound.o \
49                sound_detect.o
50DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
51                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
52                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
53                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
54                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
55                /usr/local/share/qt4/mkspecs/qconfig.pri \
56                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
57                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
58                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
59                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
60                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
61                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
62                /usr/local/share/qt4/mkspecs/features/release.prf \
63                /usr/local/share/qt4/mkspecs/features/default_post.prf \
64                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
65                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
66                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
67                /usr/local/share/qt4/mkspecs/features/qt.prf \
68                /usr/local/share/qt4/mkspecs/features/moc.prf \
69                /usr/local/share/qt4/mkspecs/features/resources.prf \
70                /usr/local/share/qt4/mkspecs/features/uic.prf \
71                /usr/local/share/qt4/mkspecs/features/yacc.prf \
72                /usr/local/share/qt4/mkspecs/features/lex.prf \
73                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
74                pc-sounddetect.pro
75QMAKE_TARGET  = pc-sounddetect
76DESTDIR       = 
77TARGET        = pc-sounddetect
78
79first: all
80####### Implicit rules
81
82.SUFFIXES: .o .c .cpp .cc .cxx .C
83
84.cpp.o:
85        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86
87.cc.o:
88        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90.cxx.o:
91        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
92
93.C.o:
94        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
95
96.c.o:
97        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
98
99####### Build rules
100
101all: Makefile $(TARGET)
102
103$(TARGET)$(OBJECTS) 
104        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
105
106Makefile: pc-sounddetect.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
107                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
108                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
109                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
110                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
111                /usr/local/share/qt4/mkspecs/qconfig.pri \
112                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
113                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
114                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
115                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
116                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
117                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
118                /usr/local/share/qt4/mkspecs/features/release.prf \
119                /usr/local/share/qt4/mkspecs/features/default_post.prf \
120                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
121                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
122                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
123                /usr/local/share/qt4/mkspecs/features/qt.prf \
124                /usr/local/share/qt4/mkspecs/features/moc.prf \
125                /usr/local/share/qt4/mkspecs/features/resources.prf \
126                /usr/local/share/qt4/mkspecs/features/uic.prf \
127                /usr/local/share/qt4/mkspecs/features/yacc.prf \
128                /usr/local/share/qt4/mkspecs/features/lex.prf \
129                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
130                /usr/local/lib/qt4/libQtGui.prl \
131                /usr/local/lib/qt4/libQtCore.prl
132        $(QMAKE) -o Makefile pc-sounddetect.pro
133/usr/local/share/qt4/mkspecs/common/unix.conf:
134/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
135/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
136/usr/local/share/qt4/mkspecs/common/g++-base.conf:
137/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
138/usr/local/share/qt4/mkspecs/qconfig.pri:
139/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
140/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
141/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
142/usr/local/share/qt4/mkspecs/features/qt_config.prf:
143/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
144/usr/local/share/qt4/mkspecs/features/default_pre.prf:
145/usr/local/share/qt4/mkspecs/features/release.prf:
146/usr/local/share/qt4/mkspecs/features/default_post.prf:
147/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
148/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
149/usr/local/share/qt4/mkspecs/features/warn_on.prf:
150/usr/local/share/qt4/mkspecs/features/qt.prf:
151/usr/local/share/qt4/mkspecs/features/moc.prf:
152/usr/local/share/qt4/mkspecs/features/resources.prf:
153/usr/local/share/qt4/mkspecs/features/uic.prf:
154/usr/local/share/qt4/mkspecs/features/yacc.prf:
155/usr/local/share/qt4/mkspecs/features/lex.prf:
156/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
157/usr/local/lib/qt4/libQtGui.prl:
158/usr/local/lib/qt4/libQtCore.prl:
159qmake:  FORCE
160        @$(QMAKE) -o Makefile pc-sounddetect.pro
161
162dist:
163        @$(CHK_DIR_EXISTS) .tmp/pc-sounddetect1.0.0 || $(MKDIR) .tmp/pc-sounddetect1.0.0
164        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-sounddetect1.0.0/ && $(COPY_FILE) --parents parse_sound.c sound_detect.c .tmp/pc-sounddetect1.0.0/ && (cd `dirname .tmp/pc-sounddetect1.0.0` && $(TAR) pc-sounddetect1.0.0.tar pc-sounddetect1.0.0 && $(COMPRESS) pc-sounddetect1.0.0.tar) && $(MOVE) `dirname .tmp/pc-sounddetect1.0.0`/pc-sounddetect1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-sounddetect1.0.0
165
166
167clean:compiler_clean
168        -$(DEL_FILE) $(OBJECTS)
169        -$(DEL_FILE) *~ core *.core
170
171
172####### Sub-libraries
173
174distclean: clean
175        -$(DEL_FILE) $(TARGET) 
176        -$(DEL_FILE) Makefile
177
178
179check: first
180
181mocclean: compiler_moc_header_clean compiler_moc_source_clean
182
183mocables: compiler_moc_header_make_all compiler_moc_source_make_all
184
185compiler_moc_header_make_all:
186compiler_moc_header_clean:
187compiler_rcc_make_all:
188compiler_rcc_clean:
189compiler_image_collection_make_all: qmake_image_collection.cpp
190compiler_image_collection_clean:
191        -$(DEL_FILE) qmake_image_collection.cpp
192compiler_moc_source_make_all:
193compiler_moc_source_clean:
194compiler_uic_make_all:
195compiler_uic_clean:
196compiler_yacc_decl_make_all:
197compiler_yacc_decl_clean:
198compiler_yacc_impl_make_all:
199compiler_yacc_impl_clean:
200compiler_lex_make_all:
201compiler_lex_clean:
202compiler_clean:
203
204####### Compile
205
206parse_sound.o: parse_sound.c
207        $(CC) -c $(CFLAGS) $(INCPATH) -o parse_sound.o parse_sound.c
208
209sound_detect.o: sound_detect.c
210        $(CC) -c $(CFLAGS) $(INCPATH) -o sound_detect.o sound_detect.c
211
212####### Install
213
214install_target: first FORCE
215        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
216        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
217
218uninstall_target:  FORCE
219        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
220        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
221
222
223install_chmod: first FORCE
224        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/etc/rc.d/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/etc/rc.d/
225        cd rc.d ; chmod 755 pc-sounddetect
226
227
228install_rcd: first FORCE
229        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/etc/rc.d/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/etc/rc.d/
230        -$(INSTALL_PROGRAM) /usr/home/kris/source/pcbsd/current/src-qt4/pc-sounddetect/rc.d/pc-sounddetect $(INSTALL_ROOT)/usr/local/etc/rc.d/
231
232
233uninstall_rcd:  FORCE
234        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/etc/rc.d/pc-sounddetect
235        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/etc/rc.d/
236
237
238install_xml: first FORCE
239        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-sounddetect/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-sounddetect/
240        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-sounddetect/xml/soundcards.xml $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-sounddetect/
241
242
243uninstall_xml:  FORCE
244        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-sounddetect/soundcards.xml
245        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-sounddetect/
246
247
248install:  install_target install_chmod install_rcd install_xml  FORCE
249
250uninstall: uninstall_target uninstall_rcd uninstall_xml   FORCE
251
252FORCE:
253
Note: See TracBrowser for help on using the repository browser.