source: src-qt4/pc-gdmconf/Makefile @ 7d97f4d

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 7d97f4d was 1f0939e, checked in by Kris Moore <kris@…>, 21 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.1 KB
Line 
1#############################################################################
2# Makefile for building: pc-gdmconf
3# Generated by qmake (2.01a) (Qt 4.8.3) on: Sat Jan 5 01:03:30 2013
4# Project:  pc-gdmconf.pro
5# Template: app
6# Command: /usr/local/bin/qmake-qt4 -o Makefile pc-gdmconf.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. -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 -lQtSolutions_SingleApplication-head -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                mainwindow.cpp \
48                confedit.cpp moc_mainwindow.cpp \
49                qrc_pc-gdmconf.cpp
50OBJECTS       = main.o \
51                mainwindow.o \
52                confedit.o \
53                moc_mainwindow.o \
54                qrc_pc-gdmconf.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/unix/gdb_dwarf_index.prf \
70                /usr/local/share/qt4/mkspecs/features/unix/thread.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/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                pc-gdmconf.pro
80QMAKE_TARGET  = pc-gdmconf
81DESTDIR       = 
82TARGET        = pc-gdmconf
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_mainwindow.h $(OBJECTS) 
109        $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
110
111Makefile: pc-gdmconf.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/unix/gdb_dwarf_index.prf \
126                /usr/local/share/qt4/mkspecs/features/unix/thread.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/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 pc-gdmconf.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/unix/gdb_dwarf_index.prf:
153/usr/local/share/qt4/mkspecs/features/unix/thread.prf:
154/usr/local/share/qt4/mkspecs/features/warn_on.prf:
155/usr/local/share/qt4/mkspecs/features/qt.prf:
156/usr/local/share/qt4/mkspecs/features/moc.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 pc-gdmconf.pro
166
167dist:
168        @$(CHK_DIR_EXISTS) .tmp/pc-gdmconf1.0.0 || $(MKDIR) .tmp/pc-gdmconf1.0.0
169        $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/pc-gdmconf1.0.0/ && $(COPY_FILE) --parents mainwindow.h confedit.h .tmp/pc-gdmconf1.0.0/ && $(COPY_FILE) --parents pc-gdmconf.qrc .tmp/pc-gdmconf1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp confedit.cpp .tmp/pc-gdmconf1.0.0/ && $(COPY_FILE) --parents mainwindow.ui .tmp/pc-gdmconf1.0.0/ && $(COPY_FILE) --parents i18n/pc-gdmconf_af.ts i18n/pc-gdmconf_ar.ts i18n/pc-gdmconf_az.ts i18n/pc-gdmconf_bg.ts i18n/pc-gdmconf_bn.ts i18n/pc-gdmconf_bs.ts i18n/pc-gdmconf_ca.ts i18n/pc-gdmconf_cs.ts i18n/pc-gdmconf_cy.ts i18n/pc-gdmconf_da.ts i18n/pc-gdmconf_de.ts i18n/pc-gdmconf_el.ts i18n/pc-gdmconf_es.ts i18n/pc-gdmconf_en_GB.ts i18n/pc-gdmconf_en_ZA.ts i18n/pc-gdmconf_et.ts i18n/pc-gdmconf_eu.ts i18n/pc-gdmconf_fa.ts i18n/pc-gdmconf_fi.ts i18n/pc-gdmconf_fr.ts i18n/pc-gdmconf_fr_CA.ts i18n/pc-gdmconf_fur.ts i18n/pc-gdmconf_gl.ts i18n/pc-gdmconf_he.ts i18n/pc-gdmconf_hi.ts i18n/pc-gdmconf_hr.ts i18n/pc-gdmconf_hu.ts i18n/pc-gdmconf_id.ts i18n/pc-gdmconf_is.ts i18n/pc-gdmconf_it.ts i18n/pc-gdmconf_ja.ts i18n/pc-gdmconf_ka.ts i18n/pc-gdmconf_ko.ts i18n/pc-gdmconf_lt.ts i18n/pc-gdmconf_lv.ts i18n/pc-gdmconf_mk.ts i18n/pc-gdmconf_mn.ts i18n/pc-gdmconf_ms.ts i18n/pc-gdmconf_mt.ts i18n/pc-gdmconf_nb.ts i18n/pc-gdmconf_ne.ts i18n/pc-gdmconf_nl.ts i18n/pc-gdmconf_pa.ts i18n/pc-gdmconf_pl.ts i18n/pc-gdmconf_pt.ts i18n/pc-gdmconf_pt_BR.ts i18n/pc-gdmconf_ro.ts i18n/pc-gdmconf_ru.ts i18n/pc-gdmconf_sk.ts i18n/pc-gdmconf_sl.ts i18n/pc-gdmconf_sr.ts i18n/pc-gdmconf_sv.ts i18n/pc-gdmconf_sw.ts i18n/pc-gdmconf_ta.ts i18n/pc-gdmconf_tg.ts i18n/pc-gdmconf_th.ts i18n/pc-gdmconf_tr.ts i18n/pc-gdmconf_uk.ts i18n/pc-gdmconf_uz.ts i18n/pc-gdmconf_vi.ts i18n/pc-gdmconf_zh_CN.ts i18n/pc-gdmconf_zh_HK.ts i18n/pc-gdmconf_zh_TW.ts i18n/pc-gdmconf_zu.ts .tmp/pc-gdmconf1.0.0/ && (cd `dirname .tmp/pc-gdmconf1.0.0` && $(TAR) pc-gdmconf1.0.0.tar pc-gdmconf1.0.0 && $(COMPRESS) pc-gdmconf1.0.0.tar) && $(MOVE) `dirname .tmp/pc-gdmconf1.0.0`/pc-gdmconf1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/pc-gdmconf1.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_mainwindow.cpp
191compiler_moc_header_clean:
192        -$(DEL_FILE) moc_mainwindow.cpp
193moc_mainwindow.cpp: confedit.h \
194                mainwindow.h
195        /usr/local/bin/moc-qt4 $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp
196
197compiler_rcc_make_all: qrc_pc-gdmconf.cpp
198compiler_rcc_clean:
199        -$(DEL_FILE) qrc_pc-gdmconf.cpp
200qrc_pc-gdmconf.cpp: pc-gdmconf.qrc \
201                pc-gdmconf.png
202        /usr/local/bin/rcc -name pc-gdmconf pc-gdmconf.qrc -o qrc_pc-gdmconf.cpp
203
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_mainwindow.h
210compiler_uic_clean:
211        -$(DEL_FILE) ui_mainwindow.h
212ui_mainwindow.h: mainwindow.ui
213        /usr/local/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.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_rcc_clean compiler_uic_clean
222
223####### Compile
224
225main.o: main.cpp mainwindow.h \
226                confedit.h \
227                ../config.h
228        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp
229
230mainwindow.o: mainwindow.cpp mainwindow.h \
231                confedit.h \
232                ui_mainwindow.h
233        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
234
235confedit.o: confedit.cpp confedit.h
236        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o confedit.o confedit.cpp
237
238moc_mainwindow.o: moc_mainwindow.cpp
239        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp
240
241qrc_pc-gdmconf.o: qrc_pc-gdmconf.cpp
242        $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_pc-gdmconf.o qrc_pc-gdmconf.cpp
243
244####### Install
245
246install_target: first FORCE
247        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/
248        -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
249
250uninstall_target:  FORCE
251        -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)"
252        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/
253
254
255install_dotrans: first FORCE
256        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/i18n/
257        cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm /usr/local/share/pcbsd/i18n/
258
259
260install_appicon: first FORCE
261        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
262        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-gdmconf/pc-gdmconf.png $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
263
264
265uninstall_appicon:  FORCE
266        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/pc-gdmconf.png
267        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/pcbsd/icons/
268
269
270install_desktop: first FORCE
271        @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/applications/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/applications/
272        -$(INSTALL_FILE) /usr/home/kris/source/pcbsd/current/src-qt4/pc-gdmconf/pcgdmconf.desktop $(INSTALL_ROOT)/usr/local/share/applications/
273
274
275uninstall_desktop:  FORCE
276        -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/applications/pcgdmconf.desktop
277        -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/applications/
278
279
280install:  install_target install_dotrans install_appicon install_desktop  FORCE
281
282uninstall: uninstall_target uninstall_appicon uninstall_desktop   FORCE
283
284FORCE:
285
Note: See TracBrowser for help on using the repository browser.