Fix serious typo.
[autotroll.git] / build-aux / autotroll.mk
blob45d6cf36c66a27f93dff6fec08b32cafe68e8a74
1 # Makerules.
2 # This file is part of AutoTroll.
3 # Copyright (C) 2006, 2007, 2009, 2010 Benoit Sigoure.
5 # AutoTroll is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18 # USA.
20 # In addition, as a special exception, the copyright holders of AutoTroll
21 # give you unlimited permission to copy, distribute and modify the configure
22 # scripts that are the output of Autoconf when processing the macros of
23 # AutoTroll. You need not follow the terms of the GNU General Public License
24 # when using or distributing such scripts, even though portions of the text of
25 # AutoTroll appear in them. The GNU General Public License (GPL) does govern
26 # all other use of the material that constitutes AutoTroll.
28 # This special exception to the GPL applies to versions of AutoTroll
29 # released by the copyright holders of AutoTroll. Note that people who make
30 # modified versions of AutoTroll are not obligated to grant this special
31 # exception for their modified versions; it is their choice whether to do so.
32 # The GNU General Public License gives permission to release a modified version
33 # without this exception; this exception also makes it possible to release a
34 # modified version which carries forward this exception.
36 # ------------- #
37 # DOCUMENTATION #
38 # ------------- #
40 # See autotroll.m4 :)
43 SUFFIXES = .moc.cpp .moc.cc .moc.cxx .moc.C .h .hh .hpp \
44 .ui .ui.h .ui.hh .ui.hpp \
45 .qrc .qrc.cpp .qrc.cc .qrc.cxx .qrc.C
47 # --- #
48 # MOC #
49 # --- #
51 .hpp.moc.cpp:
52 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
53 .hh.moc.cpp:
54 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
55 .h.moc.cpp:
56 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
58 .hpp.moc.cc:
59 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
60 .hh.moc.cc:
61 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
62 .h.moc.cc:
63 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
65 .hpp.moc.cxx:
66 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
67 .hh.moc.cxx:
68 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
69 .h.moc.cxx:
70 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
72 .hpp.moc.C:
73 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
74 .hh.moc.C:
75 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
76 .h.moc.C:
77 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
79 # --- #
80 # UIC #
81 # --- #
83 .ui.ui.hpp:
84 $(UIC) $< -o $@
86 .ui.ui.hh:
87 $(UIC) $< -o $@
89 .ui.ui.h:
90 $(UIC) $< -o $@
92 # --- #
93 # RCC #
94 # --- #
96 .qrc.qrc.cpp:
97 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
99 .qrc.qrc.cc:
100 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
102 .qrc.qrc.cxx:
103 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
105 .qrc.qrc.C:
106 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
108 DISTCLEANFILES = $(BUILT_SOURCES)