source: src-qt4/pc-netmanager/src/NetworkManager/Makefile @ 1f0939e

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 1f0939e was 1f0939e, checked in by Kris Moore <kris@…>, 18 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.9 KB
Line 
1#############################################################################
2# Makefile for building: pc-netmanager
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:06:32 2013
4# Project:  NetworkManager.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile NetworkManager.pro
7#############################################################################
8
9####### Compiler, tools and options
10
11CC            = gcc
12CXX           = g++
13DEFINES       = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_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/QtNetwork -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 -lQtNetwork -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                networkman.cpp \
48                dnslist.cpp moc_networkman.cpp \
49                moc_dnslist.cpp \
50                qrc_NetworkManager.cpp
51OBJECTS       = main.o \
52                networkman.o \
53                dnslist.o \
54                moc_networkman.o \
55                moc_dnslist.o \
56                qrc_NetworkManager.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                NetworkManager.pro
82QMAKE_TARGET  = pc-netmanager
83DESTDIR       = 
84TARGET        = pc-netmanager
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_networkman.h ui_dnslist.h $(OBJECTS) 
111        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
112
113Makefile: NetworkManager.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                /usr/local/lib/qt4/libQtNetwork.prl
140        $(QMAKE) -o Makefile NetworkManager.pro
141/usr/local/share/qt4/mkspecs/common/unix.conf:
142/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
143/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
144/usr/local/share/qt4/mkspecs/common/g++-base.conf:
145/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
146/usr/local/share/qt4/mkspecs/qconfig.pri:
147/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
148/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
149/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
150/usr/local/share/qt4/mkspecs/features/qt_config.prf:
151/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
152/usr/local/share/qt4/mkspecs/features/default_pre.prf:
153/usr/local/share/qt4/mkspecs/features/release.prf:
154/usr/local/share/qt4/mkspecs/features/default_post.prf:
155/usr/local/share/qt4/mkspecs/features/warn_on.prf:
156/usr/local/share/qt4/mkspecs/features/qt.prf:
157/usr/local/share/qt4/mkspecs/features/moc.prf:
158/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
159/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
160/usr/local/share/qt4/mkspecs/features/resources.prf:
161/usr/local/share/qt4/mkspecs/features/uic.prf:
162/usr/local/share/qt4/mkspecs/features/yacc.prf:
163/usr/local/share/qt4/mkspecs/features/lex.prf:
164/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
165/usr/local/lib/qt4/libQtGui.prl:
166/usr/local/lib/qt4/libQtCore.prl:
167/usr/local/lib/qt4/libQtNetwork.prl:
168qmake:  FORCE
169        @$(QMAKE) -o Makefile NetworkManager.pro
170
171dist:
172        @$(CHK_DIR_EXISTS) .tmp/pc-netmanager1.0.0 || $(MKDIR) .tmp/pc-netmanager1.0.0
173        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-netmanager1.0.0/ && $(COPY_FILE) --parents networkman.h dnslist.h .tmp/pc-netmanager1.0.0/ && $(COPY_FILE) --parents NetworkManager.qrc .tmp/pc-netmanager1.0.0/ && $(COPY_FILE) --parents main.cpp networkman.cpp dnslist.cpp .tmp/pc-netmanager1.0.0/ && $(COPY_FILE) --parents networkman.ui dnslist.ui .tmp/pc-netmanager1.0.0/ && $(COPY_FILE) --parents i18n/NetworkManager_af.ts i18n/NetworkManager_ar.ts i18n/NetworkManager_az.ts i18n/NetworkManager_bn.ts i18n/NetworkManager_bg.ts i18n/NetworkManager_bs.ts i18n/NetworkManager_ca.ts i18n/NetworkManager_cs.ts i18n/NetworkManager_cy.ts i18n/NetworkManager_da.ts i18n/NetworkManager_de.ts i18n/NetworkManager_el.ts i18n/NetworkManager_en_GB.ts i18n/NetworkManager_en_ZA.ts i18n/NetworkManager_es.ts i18n/NetworkManager_et.ts i18n/NetworkManager_eu.ts i18n/NetworkManager_fa.ts i18n/NetworkManager_fi.ts i18n/NetworkManager_fr.ts i18n/NetworkManager_fr_CA.ts i18n/NetworkManager_fur.ts i18n/NetworkManager_gl.ts i18n/NetworkManager_he.ts i18n/NetworkManager_hi.ts i18n/NetworkManager_hr.ts i18n/NetworkManager_hu.ts i18n/NetworkManager_id.ts i18n/NetworkManager_is.ts i18n/NetworkManager_it.ts i18n/NetworkManager_ja.ts i18n/NetworkManager_ka.ts i18n/NetworkManager_ko.ts i18n/NetworkManager_lt.ts i18n/NetworkManager_lv.ts i18n/NetworkManager_mk.ts i18n/NetworkManager_mn.ts i18n/NetworkManager_ms.ts i18n/NetworkManager_mt.ts i18n/NetworkManager_ne.ts i18n/NetworkManager_nb.ts i18n/NetworkManager_nl.ts i18n/NetworkManager_pa.ts i18n/NetworkManager_pl.ts i18n/NetworkManager_pt.ts i18n/NetworkManager_pt_BR.ts i18n/NetworkManager_ro.ts i18n/NetworkManager_ru.ts i18n/NetworkManager_sk.ts i18n/NetworkManager_sl.ts i18n/NetworkManager_sr.ts i18n/NetworkManager_sv.ts i18n/NetworkManager_sw.ts i18n/NetworkManager_ta.ts i18n/NetworkManager_tg.ts i18n/NetworkManager_th.ts i18n/NetworkManager_tr.ts i18n/NetworkManager_uk.ts i18n/NetworkManager_uz.ts i18n/NetworkManager_vi.ts i18n/NetworkManager_zh_CN.ts i18n/NetworkManager_zh_HK.ts i18n/NetworkManager_zh_TW.ts i18n/NetworkManager_zu.ts .tmp/pc-netmanager1.0.0/ && (cd `dirname .tmp/pc-netmanager1.0.0` && $(TAR) pc-netmanager1.0.0.tar pc-netmanager1.0.0 && $(COMPRESS) pc-netmanager1.0.0.tar) && $(MOVE) `dirname .tmp/pc-netmanager1.0.0`/pc-netmanager1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-netmanager1.0.0
174
175
176clean:compiler_clean
177        -$(DEL_FILE) $(OBJECTS)
178        -$(DEL_FILE) *~ core *.core
179
180
181####### Sub-libraries
182
183distclean: clean
184        -$(DEL_FILE) $(TARGET) 
185        -$(DEL_FILE) Makefile
186
187
188check: first
189
190mocclean: compiler_moc_header_clean compiler_moc_source_clean
191
192mocables: compiler_moc_header_make_all compiler_moc_source_make_all
193
194compiler_moc_header_make_all: moc_networkman.cpp moc_dnslist.cpp
195compiler_moc_header_clean:
196        -$(DEL_FILE) moc_networkman.cpp moc_dnslist.cpp
197moc_networkman.cpp: ui_networkman.h \
198                networkman.h
199        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) networkman.h -o moc_networkman.cpp
200
201moc_dnslist.cpp: dnslist.h
202        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) dnslist.h -o moc_dnslist.cpp
203
204compiler_rcc_make_all: qrc_NetworkManager.cpp
205compiler_rcc_clean:
206        -$(DEL_FILE) qrc_NetworkManager.cpp
207qrc_NetworkManager.cpp: NetworkManager.qrc \
208                file_broken.png \
209                connect_to_network.png \
210                network_local.png
211        /usr/local/bin/rcc -name NetworkManager NetworkManager.qrc -o qrc_NetworkManager.cpp
212
213compiler_image_collection_make_all: qmake_image_collection.cpp
214compiler_image_collection_clean:
215        -$(DEL_FILE) qmake_image_collection.cpp
216compiler_moc_source_make_all:
217compiler_moc_source_clean:
218compiler_uic_make_all: ui_networkman.h ui_dnslist.h
219compiler_uic_clean:
220        -$(DEL_FILE) ui_networkman.h ui_dnslist.h
221ui_networkman.h: networkman.ui
222        /usr/local/bin/uic-qt4 networkman.ui -o ui_networkman.h
223
224ui_dnslist.h: dnslist.ui
225        /usr/local/bin/uic-qt4 dnslist.ui -o ui_dnslist.h
226
227compiler_yacc_decl_make_all:
228compiler_yacc_decl_clean:
229compiler_yacc_impl_make_all:
230compiler_yacc_impl_clean:
231compiler_lex_make_all:
232compiler_lex_clean:
233compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
234
235####### Compile
236
237main.o: main.cpp networkman.h \
238                ui_networkman.h \
239                ../../../config.h
240        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
241
242networkman.o: networkman.cpp networkman.h \
243                ui_networkman.h \
244                ../../../config.h \
245                dnslist.h
246        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o networkman.o networkman.cpp
247
248dnslist.o: dnslist.cpp dnslist.h \
249                ui_dnslist.h
250        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o dnslist.o dnslist.cpp
251
252moc_networkman.o: moc_networkman.cpp
253        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_networkman.o moc_networkman.cpp
254
255moc_dnslist.o: moc_dnslist.cpp
256        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_dnslist.o moc_dnslist.cpp
257
258qrc_NetworkManager.o: qrc_NetworkManager.cpp
259        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_NetworkManager.o qrc_NetworkManager.cpp
260
261####### Install
262
263install_target: first FORCE
264        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
265        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
266
267uninstall_target:  FORCE
268        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
269        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
270
271
272install_dotrans: first FORCE
273        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
274        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
275
276
277install_cpres: first FORCE
278        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/
279        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-netmanager/src/NetworkManager/resources/umts_stick $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/
280
281
282uninstall_cpres:  FORCE
283        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/umts_stick
284        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/
285
286
287install_resperm: first FORCE
288        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/pc-netmanager/
289        chmod 755 /usr/local/share/pcbsd/pc-netmanager/umts_stick
290
291
292install:  install_target install_dotrans install_cpres install_resperm  FORCE
293
294uninstall: uninstall_target uninstall_cpres   FORCE
295
296FORCE:
297
Note: See TracBrowser for help on using the repository browser.