c8fabc8482a3389405bbe4bb5ff969404c915959
[photoenhancer] / src / filters / grey / Makefile
1 #############################################################################
2 # Makefile for building: grey
3 # Generated by qmake (2.01a) (Qt 4.7.0) on: Tue Nov 16 22:36:35 2010
4 # Project:  grey.pro
5 # Template: app
6 # Command: /usr/bin/qmake -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile grey.pro
7 #############################################################################
8
9 ####### Compiler, tools and options
10
11 CC            = gcc
12 CXX           = g++
13 DEFINES       = -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
14 CFLAGS        = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
15 CXXFLAGS      = -pipe -g -Wall -W -D_REENTRANT $(DEFINES)
16 INCPATH       = -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I.
17 LINK          = g++
18 LFLAGS        = 
19 LIBS          = $(SUBLIBS)  -L/usr/lib -lQtGui -lQtCore -lpthread 
20 AR            = ar cqs
21 RANLIB        = 
22 QMAKE         = /usr/bin/qmake
23 TAR           = tar -cf
24 COMPRESS      = gzip -9f
25 COPY          = cp -f
26 SED           = sed
27 COPY_FILE     = $(COPY)
28 COPY_DIR      = $(COPY) -r
29 STRIP         = strip
30 INSTALL_FILE  = install -m 644 -p
31 INSTALL_DIR   = $(COPY_DIR)
32 INSTALL_PROGRAM = install -m 755 -p
33 DEL_FILE      = rm -f
34 SYMLINK       = ln -f -s
35 DEL_DIR       = rmdir
36 MOVE          = mv -f
37 CHK_DIR_EXISTS= test -d
38 MKDIR         = mkdir -p
39
40 ####### Output directory
41
42 OBJECTS_DIR   = ./
43
44 ####### Files
45
46 SOURCES       = greyfilter.cpp 
47 OBJECTS       = greyfilter.o
48 DIST          = /usr/share/qt4/mkspecs/common/g++.conf \
49                 /usr/share/qt4/mkspecs/common/unix.conf \
50                 /usr/share/qt4/mkspecs/common/linux.conf \
51                 /usr/share/qt4/mkspecs/qconfig.pri \
52                 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
53                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
54                 /usr/share/qt4/mkspecs/features/qt_config.prf \
55                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
56                 /usr/share/qt4/mkspecs/features/default_pre.prf \
57                 /usr/share/qt4/mkspecs/features/debug.prf \
58                 /usr/share/qt4/mkspecs/features/default_post.prf \
59                 /usr/share/qt4/mkspecs/features/warn_on.prf \
60                 /usr/share/qt4/mkspecs/features/qt.prf \
61                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
62                 /usr/share/qt4/mkspecs/features/moc.prf \
63                 /usr/share/qt4/mkspecs/features/resources.prf \
64                 /usr/share/qt4/mkspecs/features/uic.prf \
65                 /usr/share/qt4/mkspecs/features/yacc.prf \
66                 /usr/share/qt4/mkspecs/features/lex.prf \
67                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
68                 grey.pro
69 QMAKE_TARGET  = grey
70 DESTDIR       = 
71 TARGET        = grey
72
73 first: all
74 ####### Implicit rules
75
76 .SUFFIXES: .o .c .cpp .cc .cxx .C
77
78 .cpp.o:
79         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
80
81 .cc.o:
82         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
83
84 .cxx.o:
85         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
86
87 .C.o:
88         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
89
90 .c.o:
91         $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
92
93 ####### Build rules
94
95 all: Makefile $(TARGET)
96
97 $(TARGET):  $(OBJECTS)  
98         $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
99
100 Makefile: grey.pro  /usr/share/qt4/mkspecs/linux-g++/qmake.conf /usr/share/qt4/mkspecs/common/g++.conf \
101                 /usr/share/qt4/mkspecs/common/unix.conf \
102                 /usr/share/qt4/mkspecs/common/linux.conf \
103                 /usr/share/qt4/mkspecs/qconfig.pri \
104                 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri \
105                 /usr/share/qt4/mkspecs/features/qt_functions.prf \
106                 /usr/share/qt4/mkspecs/features/qt_config.prf \
107                 /usr/share/qt4/mkspecs/features/exclusive_builds.prf \
108                 /usr/share/qt4/mkspecs/features/default_pre.prf \
109                 /usr/share/qt4/mkspecs/features/debug.prf \
110                 /usr/share/qt4/mkspecs/features/default_post.prf \
111                 /usr/share/qt4/mkspecs/features/warn_on.prf \
112                 /usr/share/qt4/mkspecs/features/qt.prf \
113                 /usr/share/qt4/mkspecs/features/unix/thread.prf \
114                 /usr/share/qt4/mkspecs/features/moc.prf \
115                 /usr/share/qt4/mkspecs/features/resources.prf \
116                 /usr/share/qt4/mkspecs/features/uic.prf \
117                 /usr/share/qt4/mkspecs/features/yacc.prf \
118                 /usr/share/qt4/mkspecs/features/lex.prf \
119                 /usr/share/qt4/mkspecs/features/include_source_dir.prf \
120                 /usr/lib/libQtGui.prl \
121                 /usr/lib/libQtCore.prl
122         $(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile grey.pro
123 /usr/share/qt4/mkspecs/common/g++.conf:
124 /usr/share/qt4/mkspecs/common/unix.conf:
125 /usr/share/qt4/mkspecs/common/linux.conf:
126 /usr/share/qt4/mkspecs/qconfig.pri:
127 /usr/share/qt4/mkspecs/modules/qt_webkit_version.pri:
128 /usr/share/qt4/mkspecs/features/qt_functions.prf:
129 /usr/share/qt4/mkspecs/features/qt_config.prf:
130 /usr/share/qt4/mkspecs/features/exclusive_builds.prf:
131 /usr/share/qt4/mkspecs/features/default_pre.prf:
132 /usr/share/qt4/mkspecs/features/debug.prf:
133 /usr/share/qt4/mkspecs/features/default_post.prf:
134 /usr/share/qt4/mkspecs/features/warn_on.prf:
135 /usr/share/qt4/mkspecs/features/qt.prf:
136 /usr/share/qt4/mkspecs/features/unix/thread.prf:
137 /usr/share/qt4/mkspecs/features/moc.prf:
138 /usr/share/qt4/mkspecs/features/resources.prf:
139 /usr/share/qt4/mkspecs/features/uic.prf:
140 /usr/share/qt4/mkspecs/features/yacc.prf:
141 /usr/share/qt4/mkspecs/features/lex.prf:
142 /usr/share/qt4/mkspecs/features/include_source_dir.prf:
143 /usr/lib/libQtGui.prl:
144 /usr/lib/libQtCore.prl:
145 qmake:  FORCE
146         @$(QMAKE) -spec /usr/share/qt4/mkspecs/linux-g++ CONFIG+=debug -o Makefile grey.pro
147
148 dist: 
149         @$(CHK_DIR_EXISTS) .tmp/grey1.0.0 || $(MKDIR) .tmp/grey1.0.0 
150         $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/grey1.0.0/ && $(COPY_FILE) --parents greyfilter.h .tmp/grey1.0.0/ && $(COPY_FILE) --parents greyfilter.cpp .tmp/grey1.0.0/ && (cd `dirname .tmp/grey1.0.0` && $(TAR) grey1.0.0.tar grey1.0.0 && $(COMPRESS) grey1.0.0.tar) && $(MOVE) `dirname .tmp/grey1.0.0`/grey1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/grey1.0.0
151
152
153 clean:compiler_clean 
154         -$(DEL_FILE) $(OBJECTS)
155         -$(DEL_FILE) *~ core *.core
156
157
158 ####### Sub-libraries
159
160 distclean: clean
161         -$(DEL_FILE) $(TARGET) 
162         -$(DEL_FILE) Makefile
163
164
165 check: first
166
167 mocclean: compiler_moc_header_clean compiler_moc_source_clean
168
169 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
170
171 compiler_moc_header_make_all:
172 compiler_moc_header_clean:
173 compiler_rcc_make_all:
174 compiler_rcc_clean:
175 compiler_image_collection_make_all: qmake_image_collection.cpp
176 compiler_image_collection_clean:
177         -$(DEL_FILE) qmake_image_collection.cpp
178 compiler_moc_source_make_all:
179 compiler_moc_source_clean:
180 compiler_uic_make_all:
181 compiler_uic_clean:
182 compiler_yacc_decl_make_all:
183 compiler_yacc_decl_clean:
184 compiler_yacc_impl_make_all:
185 compiler_yacc_impl_clean:
186 compiler_lex_make_all:
187 compiler_lex_clean:
188 compiler_clean: 
189
190 ####### Compile
191
192 greyfilter.o: greyfilter.cpp 
193         $(CXX) -c $(CXXFLAGS) $(INCPATH) -o greyfilter.o greyfilter.cpp
194
195 ####### Install
196
197 install:   FORCE
198
199 uninstall:   FORCE
200
201 FORCE:
202