source: src-qt4/pc-netmanager/src/NetworkTray/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: 11.1 KB
Line 
1#############################################################################
2# Makefile for building: pc-nettray
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Thu Feb 7 13:44:07 2013
4# Project:  NetworkTray.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile NetworkTray.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                NetworkTray.cpp \
48                netKey.cpp moc_NetworkTray.cpp \
49                moc_netKey.cpp
50OBJECTS       = main.o \
51                NetworkTray.o \
52                netKey.o \
53                moc_NetworkTray.o \
54                moc_netKey.o
55DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
56                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
57                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
58                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
59                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
60                /usr/local/share/qt4/mkspecs/qconfig.pri \
61                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
62                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
63                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
64                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
65                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
66                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
67                /usr/local/share/qt4/mkspecs/features/release.prf \
68                /usr/local/share/qt4/mkspecs/features/default_post.prf \
69                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
70                /usr/local/share/qt4/mkspecs/features/qt.prf \
71                /usr/local/share/qt4/mkspecs/features/moc.prf \
72                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
73                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
74                /usr/local/share/qt4/mkspecs/features/resources.prf \
75                /usr/local/share/qt4/mkspecs/features/uic.prf \
76                /usr/local/share/qt4/mkspecs/features/yacc.prf \
77                /usr/local/share/qt4/mkspecs/features/lex.prf \
78                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
79                NetworkTray.pro
80QMAKE_TARGET  = pc-nettray
81DESTDIR       = 
82TARGET        = pc-nettray
83
84first: all
85####### Implicit rules
86
87.SUFFIXES: .o .c .cpp .cc .cxx .C
88
89.cpp.o:
90        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
91
92.cc.o:
93        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
94
95.cxx.o:
96        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
97
98.C.o:
99        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
100
101.c.o:
102        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
103
104####### Build rules
105
106all: Makefile $(TARGET)
107
108$(TARGET): ui_netKey.h $(OBJECTS) 
109        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
110
111Makefile: NetworkTray.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
112                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
113                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
114                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
115                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
116                /usr/local/share/qt4/mkspecs/qconfig.pri \
117                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
118                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
119                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
120                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
121                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
122                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
123                /usr/local/share/qt4/mkspecs/features/release.prf \
124                /usr/local/share/qt4/mkspecs/features/default_post.prf \
125                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
126                /usr/local/share/qt4/mkspecs/features/qt.prf \
127                /usr/local/share/qt4/mkspecs/features/moc.prf \
128                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
129                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
130                /usr/local/share/qt4/mkspecs/features/resources.prf \
131                /usr/local/share/qt4/mkspecs/features/uic.prf \
132                /usr/local/share/qt4/mkspecs/features/yacc.prf \
133                /usr/local/share/qt4/mkspecs/features/lex.prf \
134                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
135                /usr/local/lib/qt4/libQtGui.prl \
136                /usr/local/lib/qt4/libQtCore.prl
137        $(QMAKE) -o Makefile NetworkTray.pro
138/usr/local/share/qt4/mkspecs/common/unix.conf:
139/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
140/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
141/usr/local/share/qt4/mkspecs/common/g++-base.conf:
142/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
143/usr/local/share/qt4/mkspecs/qconfig.pri:
144/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
145/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
146/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
147/usr/local/share/qt4/mkspecs/features/qt_config.prf:
148/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
149/usr/local/share/qt4/mkspecs/features/default_pre.prf:
150/usr/local/share/qt4/mkspecs/features/release.prf:
151/usr/local/share/qt4/mkspecs/features/default_post.prf:
152/usr/local/share/qt4/mkspecs/features/warn_on.prf:
153/usr/local/share/qt4/mkspecs/features/qt.prf:
154/usr/local/share/qt4/mkspecs/features/moc.prf:
155/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
156/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
157/usr/local/share/qt4/mkspecs/features/resources.prf:
158/usr/local/share/qt4/mkspecs/features/uic.prf:
159/usr/local/share/qt4/mkspecs/features/yacc.prf:
160/usr/local/share/qt4/mkspecs/features/lex.prf:
161/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
162/usr/local/lib/qt4/libQtGui.prl:
163/usr/local/lib/qt4/libQtCore.prl:
164qmake:  FORCE
165        @$(QMAKE) -o Makefile NetworkTray.pro
166
167dist:
168        @$(CHK_DIR_EXISTS) .tmp/pc-nettray1.0.0 || $(MKDIR) .tmp/pc-nettray1.0.0
169        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-nettray1.0.0/ && $(COPY_FILE) --parents NetworkTray.h netKey.h .tmp/pc-nettray1.0.0/ && $(COPY_FILE) --parents main.cpp NetworkTray.cpp netKey.cpp .tmp/pc-nettray1.0.0/ && $(COPY_FILE) --parents netKey.ui .tmp/pc-nettray1.0.0/ && $(COPY_FILE) --parents i18n/NetworkTray_af.ts i18n/NetworkTray_ar.ts i18n/NetworkTray_az.ts i18n/NetworkTray_bg.ts i18n/NetworkTray_bn.ts i18n/NetworkTray_bs.ts i18n/NetworkTray_ca.ts i18n/NetworkTray_cs.ts i18n/NetworkTray_cy.ts i18n/NetworkTray_da.ts i18n/NetworkTray_de.ts i18n/NetworkTray_el.ts i18n/NetworkTray_en_GB.ts i18n/NetworkTray_en_ZA.ts i18n/NetworkTray_es.ts i18n/NetworkTray_et.ts i18n/NetworkTray_eu.ts i18n/NetworkTray_fa.ts i18n/NetworkTray_fi.ts i18n/NetworkTray_fr.ts i18n/NetworkTray_fr_CA.ts i18n/NetworkTray_gl.ts i18n/NetworkTray_he.ts i18n/NetworkTray_hi.ts i18n/NetworkTray_hr.ts i18n/NetworkTray_hu.ts i18n/NetworkTray_id.ts i18n/NetworkTray_is.ts i18n/NetworkTray_it.ts i18n/NetworkTray_ja.ts i18n/NetworkTray_ka.ts i18n/NetworkTray_ko.ts i18n/NetworkTray_lt.ts i18n/NetworkTray_lv.ts i18n/NetworkTray_mk.ts i18n/NetworkTray_mn.ts i18n/NetworkTray_ms.ts i18n/NetworkTray_mt.ts i18n/NetworkTray_nb.ts i18n/NetworkTray_nl.ts i18n/NetworkTray_pa.ts i18n/NetworkTray_pl.ts i18n/NetworkTray_pt.ts i18n/NetworkTray_pt_BR.ts i18n/NetworkTray_ro.ts i18n/NetworkTray_ru.ts i18n/NetworkTray_sk.ts i18n/NetworkTray_sl.ts i18n/NetworkTray_sr.ts i18n/NetworkTray_sv.ts i18n/NetworkTray_sw.ts i18n/NetworkTray_ta.ts i18n/NetworkTray_tg.ts i18n/NetworkTray_th.ts i18n/NetworkTray_tr.ts i18n/NetworkTray_uk.ts i18n/NetworkTray_uz.ts i18n/NetworkTray_vi.ts i18n/NetworkTray_zh_CN.ts i18n/NetworkTray_zh_TW.ts i18n/NetworkTray_zu.ts .tmp/pc-nettray1.0.0/ && (cd `dirname .tmp/pc-nettray1.0.0` && $(TAR) pc-nettray1.0.0.tar pc-nettray1.0.0 && $(COMPRESS) pc-nettray1.0.0.tar) && $(MOVE) `dirname .tmp/pc-nettray1.0.0`/pc-nettray1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-nettray1.0.0
170
171
172clean:compiler_clean
173        -$(DEL_FILE) $(OBJECTS)
174        -$(DEL_FILE) *~ core *.core
175
176
177####### Sub-libraries
178
179distclean: clean
180        -$(DEL_FILE) $(TARGET) 
181        -$(DEL_FILE) Makefile
182
183
184check: first
185
186mocclean: compiler_moc_header_clean compiler_moc_source_clean
187
188mocables: compiler_moc_header_make_all compiler_moc_source_make_all
189
190compiler_moc_header_make_all: moc_NetworkTray.cpp moc_netKey.cpp
191compiler_moc_header_clean:
192        -$(DEL_FILE) moc_NetworkTray.cpp moc_netKey.cpp
193moc_NetworkTray.cpp: netKey.h \
194                ui_netKey.h \
195                NetworkTray.h
196        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) NetworkTray.h -o moc_NetworkTray.cpp
197
198moc_netKey.cpp: ui_netKey.h \
199                netKey.h
200        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) netKey.h -o moc_netKey.cpp
201
202compiler_rcc_make_all:
203compiler_rcc_clean:
204compiler_image_collection_make_all: qmake_image_collection.cpp
205compiler_image_collection_clean:
206        -$(DEL_FILE) qmake_image_collection.cpp
207compiler_moc_source_make_all:
208compiler_moc_source_clean:
209compiler_uic_make_all: ui_netKey.h
210compiler_uic_clean:
211        -$(DEL_FILE) ui_netKey.h
212ui_netKey.h: netKey.ui
213        /usr/local/bin/uic-qt4 netKey.ui -o ui_netKey.h
214
215compiler_yacc_decl_make_all:
216compiler_yacc_decl_clean:
217compiler_yacc_impl_make_all:
218compiler_yacc_impl_clean:
219compiler_lex_make_all:
220compiler_lex_clean:
221compiler_clean: compiler_moc_header_clean compiler_uic_clean
222
223####### Compile
224
225main.o: main.cpp NetworkTray.h \
226                netKey.h \
227                ui_netKey.h \
228                ../../../config.h
229        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
230
231NetworkTray.o: NetworkTray.cpp NetworkTray.h \
232                netKey.h \
233                ui_netKey.h \
234                ../../../config.h
235        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o NetworkTray.o NetworkTray.cpp
236
237netKey.o: netKey.cpp netKey.h \
238                ui_netKey.h
239        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o netKey.o netKey.cpp
240
241moc_NetworkTray.o: moc_NetworkTray.cpp
242        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_NetworkTray.o moc_NetworkTray.cpp
243
244moc_netKey.o: moc_netKey.cpp
245        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_netKey.o moc_netKey.cpp
246
247####### Install
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_target: first FORCE
255        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
256        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
257
258uninstall_target:  FORCE
259        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
260        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
261
262
263install:  install_dotrans install_target  FORCE
264
265uninstall: uninstall_target   FORCE
266
267FORCE:
268
Note: See TracBrowser for help on using the repository browser.