source: src-qt4/pc-pfmanager/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: 14.4 KB
Line 
1#############################################################################
2# Makefile for building: pc-pfmanager
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:08:38 2013
4# Project:  pc-pfmanager.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-pfmanager.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. -Iconfig -I../libpcbsd -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       = config/packetfilter.cpp \
47                config/rcconfig.cpp \
48                pfmanagerdlg.cpp \
49                config/rule.cpp \
50                config/services.cpp \
51                config/interfaces.cpp \
52                pfaddlg.cpp \
53                taggedlistviewitem.cpp \
54                main.cpp moc_rcconfig.cpp \
55                moc_pfmanagerdlg.cpp \
56                moc_services.cpp \
57                moc_interfaces.cpp \
58                moc_pfaddlg.cpp \
59                qrc_pfmanager.cpp
60OBJECTS       = packetfilter.o \
61                rcconfig.o \
62                pfmanagerdlg.o \
63                rule.o \
64                services.o \
65                interfaces.o \
66                pfaddlg.o \
67                taggedlistviewitem.o \
68                main.o \
69                moc_rcconfig.o \
70                moc_pfmanagerdlg.o \
71                moc_services.o \
72                moc_interfaces.o \
73                moc_pfaddlg.o \
74                qrc_pfmanager.o
75DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
76                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
77                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
78                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
79                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
80                /usr/local/share/qt4/mkspecs/qconfig.pri \
81                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
82                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
83                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
84                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
85                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
86                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
87                /usr/local/share/qt4/mkspecs/features/release.prf \
88                /usr/local/share/qt4/mkspecs/features/default_post.prf \
89                /usr/local/share/qt4/mkspecs/features/dll.prf \
90                /usr/local/share/qt4/mkspecs/features/shared.prf \
91                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
92                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
93                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
94                /usr/local/share/qt4/mkspecs/features/qt.prf \
95                /usr/local/share/qt4/mkspecs/features/moc.prf \
96                /usr/local/share/qt4/mkspecs/features/resources.prf \
97                /usr/local/share/qt4/mkspecs/features/uic.prf \
98                /usr/local/share/qt4/mkspecs/features/yacc.prf \
99                /usr/local/share/qt4/mkspecs/features/lex.prf \
100                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
101                pc-pfmanager.pro
102QMAKE_TARGET  = pc-pfmanager
103DESTDIR       = 
104TARGET        = pc-pfmanager
105
106first: all
107####### Implicit rules
108
109.SUFFIXES: .o .c .cpp .cc .cxx .C
110
111.cpp.o:
112        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
113
114.cc.o:
115        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
116
117.cxx.o:
118        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
119
120.C.o:
121        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
122
123.c.o:
124        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
125
126####### Build rules
127
128all: Makefile $(TARGET)
129
130$(TARGET): ui_mainwindow.h ui_adddlg.h $(OBJECTS) 
131        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
132
133Makefile: pc-pfmanager.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /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/dll.prf \
148                /usr/local/share/qt4/mkspecs/features/shared.prf \
149                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
150                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
151                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
152                /usr/local/share/qt4/mkspecs/features/qt.prf \
153                /usr/local/share/qt4/mkspecs/features/moc.prf \
154                /usr/local/share/qt4/mkspecs/features/resources.prf \
155                /usr/local/share/qt4/mkspecs/features/uic.prf \
156                /usr/local/share/qt4/mkspecs/features/yacc.prf \
157                /usr/local/share/qt4/mkspecs/features/lex.prf \
158                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
159                /usr/local/lib/qt4/libQtGui.prl \
160                /usr/local/lib/qt4/libQtCore.prl
161        $(QMAKE) -o Makefile pc-pfmanager.pro
162/usr/local/share/qt4/mkspecs/common/unix.conf:
163/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
164/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
165/usr/local/share/qt4/mkspecs/common/g++-base.conf:
166/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
167/usr/local/share/qt4/mkspecs/qconfig.pri:
168/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
169/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
170/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
171/usr/local/share/qt4/mkspecs/features/qt_config.prf:
172/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
173/usr/local/share/qt4/mkspecs/features/default_pre.prf:
174/usr/local/share/qt4/mkspecs/features/release.prf:
175/usr/local/share/qt4/mkspecs/features/default_post.prf:
176/usr/local/share/qt4/mkspecs/features/dll.prf:
177/usr/local/share/qt4/mkspecs/features/shared.prf:
178/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
179/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
180/usr/local/share/qt4/mkspecs/features/warn_on.prf:
181/usr/local/share/qt4/mkspecs/features/qt.prf:
182/usr/local/share/qt4/mkspecs/features/moc.prf:
183/usr/local/share/qt4/mkspecs/features/resources.prf:
184/usr/local/share/qt4/mkspecs/features/uic.prf:
185/usr/local/share/qt4/mkspecs/features/yacc.prf:
186/usr/local/share/qt4/mkspecs/features/lex.prf:
187/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
188/usr/local/lib/qt4/libQtGui.prl:
189/usr/local/lib/qt4/libQtCore.prl:
190qmake:  FORCE
191        @$(QMAKE) -o Makefile pc-pfmanager.pro
192
193dist:
194        @$(CHK_DIR_EXISTS) .tmp/pc-pfmanager1.0.0 || $(MKDIR) .tmp/pc-pfmanager1.0.0
195        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-pfmanager1.0.0/ && $(COPY_FILE) --parents config/packetfilter.hpp config/rcconfig.hpp pfmanagerdlg.hpp config/rule.hpp config/services.hpp config/interfaces.hpp pfaddlg.hpp taggedlistviewitem.hpp .tmp/pc-pfmanager1.0.0/ && $(COPY_FILE) --parents pfmanager.qrc .tmp/pc-pfmanager1.0.0/ && $(COPY_FILE) --parents config/packetfilter.cpp config/rcconfig.cpp pfmanagerdlg.cpp config/rule.cpp config/services.cpp config/interfaces.cpp pfaddlg.cpp taggedlistviewitem.cpp main.cpp .tmp/pc-pfmanager1.0.0/ && $(COPY_FILE) --parents mainwindow.ui adddlg.ui .tmp/pc-pfmanager1.0.0/ && $(COPY_FILE) --parents i18n/PFManager_af.ts i18n/PFManager_ar.ts i18n/PFManager_az.ts i18n/PFManager_bg.ts i18n/PFManager_bn.ts i18n/PFManager_bs.ts i18n/PFManager_ca.ts i18n/PFManager_cs.ts i18n/PFManager_cy.ts i18n/PFManager_da.ts i18n/PFManager_de.ts i18n/PFManager_el.ts i18n/PFManager_en_GB.ts i18n/PFManager_en_ZA.ts i18n/PFManager_es.ts i18n/PFManager_et.ts i18n/PFManager_eu.ts i18n/PFManager_fa.ts i18n/PFManager_fi.ts i18n/PFManager_fr.ts i18n/PFManager_fr_CA.ts i18n/PFManager_gl.ts i18n/PFManager_he.ts i18n/PFManager_hi.ts i18n/PFManager_hr.ts i18n/PFManager_hu.ts i18n/PFManager_id.ts i18n/PFManager_is.ts i18n/PFManager_it.ts i18n/PFManager_ja.ts i18n/PFManager_ka.ts i18n/PFManager_ko.ts i18n/PFManager_lt.ts i18n/PFManager_lv.ts i18n/PFManager_mk.ts i18n/PFManager_mn.ts i18n/PFManager_ms.ts i18n/PFManager_mt.ts i18n/PFManager_nb.ts i18n/PFManager_nl.ts i18n/PFManager_pa.ts i18n/PFManager_pl.ts i18n/PFManager_pt.ts i18n/PFManager_pt_BR.ts i18n/PFManager_ro.ts i18n/PFManager_ru.ts i18n/PFManager_sk.ts i18n/PFManager_sl.ts i18n/PFManager_sr.ts i18n/PFManager_sv.ts i18n/PFManager_sw.ts i18n/PFManager_ta.ts i18n/PFManager_tg.ts i18n/PFManager_th.ts i18n/PFManager_tr.ts i18n/PFManager_uk.ts i18n/PFManager_uz.ts i18n/PFManager_vi.ts i18n/PFManager_zh_CN.ts i18n/PFManager_zh_HK.ts i18n/PFManager_zh_TW.ts i18n/PFManager_zu.ts .tmp/pc-pfmanager1.0.0/ && (cd `dirname .tmp/pc-pfmanager1.0.0` && $(TAR) pc-pfmanager1.0.0.tar pc-pfmanager1.0.0 && $(COMPRESS) pc-pfmanager1.0.0.tar) && $(MOVE) `dirname .tmp/pc-pfmanager1.0.0`/pc-pfmanager1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-pfmanager1.0.0
196
197
198clean:compiler_clean
199        -$(DEL_FILE) $(OBJECTS)
200        -$(DEL_FILE) *~ core *.core
201
202
203####### Sub-libraries
204
205distclean: clean
206        -$(DEL_FILE) $(TARGET) 
207        -$(DEL_FILE) Makefile
208
209
210check: first
211
212mocclean: compiler_moc_header_clean compiler_moc_source_clean
213
214mocables: compiler_moc_header_make_all compiler_moc_source_make_all
215
216compiler_moc_header_make_all: moc_rcconfig.cpp moc_pfmanagerdlg.cpp moc_services.cpp moc_interfaces.cpp moc_pfaddlg.cpp
217compiler_moc_header_clean:
218        -$(DEL_FILE) moc_rcconfig.cpp moc_pfmanagerdlg.cpp moc_services.cpp moc_interfaces.cpp moc_pfaddlg.cpp
219moc_rcconfig.cpp: config/rcconfig.hpp
220        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) config/rcconfig.hpp -o moc_rcconfig.cpp
221
222moc_pfmanagerdlg.cpp: ui_mainwindow.h \
223                config/packetfilter.hpp \
224                config/rule.hpp \
225                pfmanagerdlg.hpp
226        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) pfmanagerdlg.hpp -o moc_pfmanagerdlg.cpp
227
228moc_services.cpp: config/services.hpp
229        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) config/services.hpp -o moc_services.cpp
230
231moc_interfaces.cpp: config/interfaces.hpp
232        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) config/interfaces.hpp -o moc_interfaces.cpp
233
234moc_pfaddlg.cpp: ui_adddlg.h \
235                config/rule.hpp \
236                pfaddlg.hpp
237        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) pfaddlg.hpp -o moc_pfaddlg.cpp
238
239compiler_rcc_make_all: qrc_pfmanager.cpp
240compiler_rcc_clean:
241        -$(DEL_FILE) qrc_pfmanager.cpp
242qrc_pfmanager.cpp: pfmanager.qrc \
243                NewLogoSmall.png
244        /usr/local/bin/rcc -name pfmanager pfmanager.qrc -o qrc_pfmanager.cpp
245
246compiler_image_collection_make_all: qmake_image_collection.cpp
247compiler_image_collection_clean:
248        -$(DEL_FILE) qmake_image_collection.cpp
249compiler_moc_source_make_all:
250compiler_moc_source_clean:
251compiler_uic_make_all: ui_mainwindow.h ui_adddlg.h
252compiler_uic_clean:
253        -$(DEL_FILE) ui_mainwindow.h ui_adddlg.h
254ui_mainwindow.h: mainwindow.ui
255        /usr/local/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h
256
257ui_adddlg.h: adddlg.ui
258        /usr/local/bin/uic-qt4 adddlg.ui -o ui_adddlg.h
259
260compiler_yacc_decl_make_all:
261compiler_yacc_decl_clean:
262compiler_yacc_impl_make_all:
263compiler_yacc_impl_clean:
264compiler_lex_make_all:
265compiler_lex_clean:
266compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
267
268####### Compile
269
270packetfilter.o: config/packetfilter.cpp config/packetfilter.hpp \
271                config/rule.hpp \
272                config/services.hpp \
273                config/rcconfig.hpp
274        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o packetfilter.o config/packetfilter.cpp
275
276rcconfig.o: config/rcconfig.cpp config/rcconfig.hpp
277        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o rcconfig.o config/rcconfig.cpp
278
279pfmanagerdlg.o: pfmanagerdlg.cpp pfmanagerdlg.hpp \
280                ui_mainwindow.h \
281                config/packetfilter.hpp \
282                config/rule.hpp \
283                config/interfaces.hpp \
284                pfaddlg.hpp \
285                ui_adddlg.h \
286                taggedlistviewitem.hpp
287        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o pfmanagerdlg.o pfmanagerdlg.cpp
288
289rule.o: config/rule.cpp config/rule.hpp
290        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o rule.o config/rule.cpp
291
292services.o: config/services.cpp config/services.hpp
293        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o services.o config/services.cpp
294
295interfaces.o: config/interfaces.cpp config/interfaces.hpp
296        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o interfaces.o config/interfaces.cpp
297
298pfaddlg.o: pfaddlg.cpp pfaddlg.hpp \
299                ui_adddlg.h \
300                config/rule.hpp \
301                config/services.hpp \
302                config/interfaces.hpp
303        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o pfaddlg.o pfaddlg.cpp
304
305taggedlistviewitem.o: taggedlistviewitem.cpp taggedlistviewitem.hpp
306        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o taggedlistviewitem.o taggedlistviewitem.cpp
307
308main.o: main.cpp pfmanagerdlg.hpp \
309                ui_mainwindow.h \
310                config/packetfilter.hpp \
311                config/rule.hpp \
312                ../config.h
313        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
314
315moc_rcconfig.o: moc_rcconfig.cpp
316        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_rcconfig.o moc_rcconfig.cpp
317
318moc_pfmanagerdlg.o: moc_pfmanagerdlg.cpp
319        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_pfmanagerdlg.o moc_pfmanagerdlg.cpp
320
321moc_services.o: moc_services.cpp
322        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_services.o moc_services.cpp
323
324moc_interfaces.o: moc_interfaces.cpp
325        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_interfaces.o moc_interfaces.cpp
326
327moc_pfaddlg.o: moc_pfaddlg.cpp
328        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_pfaddlg.o moc_pfaddlg.cpp
329
330qrc_pfmanager.o: qrc_pfmanager.cpp
331        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_pfmanager.o qrc_pfmanager.cpp
332
333####### Install
334
335install_target: first FORCE
336        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
337        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
338
339uninstall_target:  FORCE
340        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
341        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
342
343
344install_dotrans: first FORCE
345        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
346        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
347
348
349install:  install_target install_dotrans  FORCE
350
351uninstall: uninstall_target   FORCE
352
353FORCE:
354
Note: See TracBrowser for help on using the repository browser.