source: src-qt4/qsu/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: 10.5 KB
Line 
1#############################################################################
2# Makefile for building: qsu
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Thu Feb 7 13:44:07 2013
4# Project:  qsu.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile qsu.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 -Isrc -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 -lpam -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 = install -m 4711 -p -o root
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       = src/passwordpromptdialog.cpp \
47                src/main.c \
48                src/database.c \
49                src/strings_en.c \
50                src/conversation.cpp moc_passwordpromptdialog.cpp \
51                qrc_qsu.cpp
52OBJECTS       = passwordpromptdialog.o \
53                main.o \
54                database.o \
55                strings_en.o \
56                conversation.o \
57                moc_passwordpromptdialog.o \
58                qrc_qsu.o
59DIST          = /usr/local/share/qt4/mkspecs/common/unix.conf \
60                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
61                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
62                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
63                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
64                /usr/local/share/qt4/mkspecs/qconfig.pri \
65                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
66                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
67                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
68                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
69                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
70                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
71                /usr/local/share/qt4/mkspecs/features/release.prf \
72                /usr/local/share/qt4/mkspecs/features/default_post.prf \
73                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
74                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
75                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
76                /usr/local/share/qt4/mkspecs/features/qt.prf \
77                /usr/local/share/qt4/mkspecs/features/moc.prf \
78                /usr/local/share/qt4/mkspecs/features/resources.prf \
79                /usr/local/share/qt4/mkspecs/features/uic.prf \
80                /usr/local/share/qt4/mkspecs/features/yacc.prf \
81                /usr/local/share/qt4/mkspecs/features/lex.prf \
82                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
83                qsu.pro
84QMAKE_TARGET  = qsu
85DESTDIR       = 
86TARGET        = qsu
87
88first: all
89####### Implicit rules
90
91.SUFFIXES: .o .c .cpp .cc .cxx .C
92
93.cpp.o:
94        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
95
96.cc.o:
97        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
98
99.cxx.o:
100        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
101
102.C.o:
103        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
104
105.c.o:
106        $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
107
108####### Build rules
109
110all: Makefile $(TARGET)
111
112$(TARGET): ui_passwordpromptdialog.h $(OBJECTS) 
113        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
114
115Makefile: qsu.pro  /usr/local/share/qt4/mkspecs/freebsd-g++/qmake.conf /usr/local/share/qt4/mkspecs/common/unix.conf \
116                /usr/local/share/qt4/mkspecs/common/gcc-base.conf \
117                /usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf \
118                /usr/local/share/qt4/mkspecs/common/g++-base.conf \
119                /usr/local/share/qt4/mkspecs/common/g++-unix.conf \
120                /usr/local/share/qt4/mkspecs/qconfig.pri \
121                /usr/local/share/qt4/mkspecs/modules/qt_phonon.pri \
122                /usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri \
123                /usr/local/share/qt4/mkspecs/features/qt_functions.prf \
124                /usr/local/share/qt4/mkspecs/features/qt_config.prf \
125                /usr/local/share/qt4/mkspecs/features/exclusive_builds.prf \
126                /usr/local/share/qt4/mkspecs/features/default_pre.prf \
127                /usr/local/share/qt4/mkspecs/features/release.prf \
128                /usr/local/share/qt4/mkspecs/features/default_post.prf \
129                /usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \
130                /usr/local/share/qt4/mkspecs/features/unix/thread.prf \
131                /usr/local/share/qt4/mkspecs/features/warn_on.prf \
132                /usr/local/share/qt4/mkspecs/features/qt.prf \
133                /usr/local/share/qt4/mkspecs/features/moc.prf \
134                /usr/local/share/qt4/mkspecs/features/resources.prf \
135                /usr/local/share/qt4/mkspecs/features/uic.prf \
136                /usr/local/share/qt4/mkspecs/features/yacc.prf \
137                /usr/local/share/qt4/mkspecs/features/lex.prf \
138                /usr/local/share/qt4/mkspecs/features/include_source_dir.prf \
139                /usr/local/lib/qt4/libQtGui.prl \
140                /usr/local/lib/qt4/libQtCore.prl
141        $(QMAKE) -o Makefile qsu.pro
142/usr/local/share/qt4/mkspecs/common/unix.conf:
143/usr/local/share/qt4/mkspecs/common/gcc-base.conf:
144/usr/local/share/qt4/mkspecs/common/gcc-base-unix.conf:
145/usr/local/share/qt4/mkspecs/common/g++-base.conf:
146/usr/local/share/qt4/mkspecs/common/g++-unix.conf:
147/usr/local/share/qt4/mkspecs/qconfig.pri:
148/usr/local/share/qt4/mkspecs/modules/qt_phonon.pri:
149/usr/local/share/qt4/mkspecs/modules/qt_webkit_version.pri:
150/usr/local/share/qt4/mkspecs/features/qt_functions.prf:
151/usr/local/share/qt4/mkspecs/features/qt_config.prf:
152/usr/local/share/qt4/mkspecs/features/exclusive_builds.prf:
153/usr/local/share/qt4/mkspecs/features/default_pre.prf:
154/usr/local/share/qt4/mkspecs/features/release.prf:
155/usr/local/share/qt4/mkspecs/features/default_post.prf:
156/usr/local/share/qt4/mkspecs/features/unix/gdb_dwarf_index.prf:
157/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
158/usr/local/share/qt4/mkspecs/features/warn_on.prf:
159/usr/local/share/qt4/mkspecs/features/qt.prf:
160/usr/local/share/qt4/mkspecs/features/moc.prf:
161/usr/local/share/qt4/mkspecs/features/resources.prf:
162/usr/local/share/qt4/mkspecs/features/uic.prf:
163/usr/local/share/qt4/mkspecs/features/yacc.prf:
164/usr/local/share/qt4/mkspecs/features/lex.prf:
165/usr/local/share/qt4/mkspecs/features/include_source_dir.prf:
166/usr/local/lib/qt4/libQtGui.prl:
167/usr/local/lib/qt4/libQtCore.prl:
168qmake:  FORCE
169        @$(QMAKE) -o Makefile qsu.pro
170
171dist:
172        @$(CHK_DIR_EXISTS) .tmp/qsu1.0.0 || $(MKDIR) .tmp/qsu1.0.0
173        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/qsu1.0.0/ && $(COPY_FILE) --parents src/passwordpromptdialog.h src/database.h src/session.h .tmp/qsu1.0.0/ && $(COPY_FILE) --parents resources/qsu.qrc .tmp/qsu1.0.0/ && $(COPY_FILE) --parents src/passwordpromptdialog.cpp src/main.c src/database.c src/strings_en.c src/conversation.cpp .tmp/qsu1.0.0/ && $(COPY_FILE) --parents src/passwordpromptdialog.ui .tmp/qsu1.0.0/ && (cd `dirname .tmp/qsu1.0.0` && $(TAR) qsu1.0.0.tar qsu1.0.0 && $(COMPRESS) qsu1.0.0.tar) && $(MOVE) `dirname .tmp/qsu1.0.0`/qsu1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/qsu1.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_passwordpromptdialog.cpp
195compiler_moc_header_clean:
196        -$(DEL_FILE) moc_passwordpromptdialog.cpp
197moc_passwordpromptdialog.cpp: src/passwordpromptdialog.h
198        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) src/passwordpromptdialog.h -o moc_passwordpromptdialog.cpp
199
200compiler_rcc_make_all: qrc_qsu.cpp
201compiler_rcc_clean:
202        -$(DEL_FILE) qrc_qsu.cpp
203qrc_qsu.cpp: resources/qsu.qrc \
204                resources/icons/lock.png
205        /usr/local/bin/rcc -name qsu resources/qsu.qrc -o qrc_qsu.cpp
206
207compiler_image_collection_make_all: qmake_image_collection.cpp
208compiler_image_collection_clean:
209        -$(DEL_FILE) qmake_image_collection.cpp
210compiler_moc_source_make_all:
211compiler_moc_source_clean:
212compiler_uic_make_all: ui_passwordpromptdialog.h
213compiler_uic_clean:
214        -$(DEL_FILE) ui_passwordpromptdialog.h
215ui_passwordpromptdialog.h: src/passwordpromptdialog.ui
216        /usr/local/bin/uic-qt4 src/passwordpromptdialog.ui -o ui_passwordpromptdialog.h
217
218compiler_yacc_decl_make_all:
219compiler_yacc_decl_clean:
220compiler_yacc_impl_make_all:
221compiler_yacc_impl_clean:
222compiler_lex_make_all:
223compiler_lex_clean:
224compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
225
226####### Compile
227
228passwordpromptdialog.o: src/passwordpromptdialog.cpp src/passwordpromptdialog.h \
229                ui_passwordpromptdialog.h
230        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o passwordpromptdialog.o src/passwordpromptdialog.cpp
231
232main.o: src/main.c src/conversation.h \
233                src/database.h \
234                src/session.h \
235                src/strings.h \
236                src/global.h \
237                config.h
238        $(CC) -c $(CFLAGS) $(INCPATH) -o main.o src/main.c
239
240database.o: src/database.c src/database.h \
241                src/session.h \
242                src/strings.h \
243                src/global.h \
244                config.h
245        $(CC) -c $(CFLAGS) $(INCPATH) -o database.o src/database.c
246
247strings_en.o: src/strings_en.c src/strings.h
248        $(CC) -c $(CFLAGS) $(INCPATH) -o strings_en.o src/strings_en.c
249
250conversation.o: src/conversation.cpp src/conversation.h \
251                src/passwordpromptdialog.h \
252                src/session.h \
253                src/strings.h
254        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o conversation.o src/conversation.cpp
255
256moc_passwordpromptdialog.o: moc_passwordpromptdialog.cpp
257        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_passwordpromptdialog.o moc_passwordpromptdialog.cpp
258
259qrc_qsu.o: qrc_qsu.cpp
260        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_qsu.o qrc_qsu.cpp
261
262####### Install
263
264install_target: first FORCE
265        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
266        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
267
268uninstall_target:  FORCE
269        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
270        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
271
272
273install_prep: first FORCE
274        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/var/db/qsu/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/var/db/qsu/
275        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/qsu/build/.keep $(INSTALL_ROOT)/usr/local/var/db/qsu/
276
277
278uninstall_prep:  FORCE
279        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/var/db/qsu/.keep
280        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/var/db/qsu/
281
282
283install:  install_target install_prep  FORCE
284
285uninstall: uninstall_target uninstall_prep   FORCE
286
287FORCE:
288
Note: See TracBrowser for help on using the repository browser.