Add a serial to autotroll.m4 and log it.
[autotroll.git] / build-aux / autotroll.mk
blob077b575bd7b34eca5335e1e0e6968f57714466bb
1 # Makerules.
2 # This file is part of AutoTroll.
3 # Copyright (C) 2006 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 \
44 .ui .ui.h .ui.hh \
45 .qrc .qrc.cpp .qrc.cc .qrc.cxx .qrc.C
47 # --- #
48 # MOC #
49 # --- #
51 .hh.moc.cpp:
52 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
53 .h.moc.cpp:
54 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
56 .hh.moc.cc:
57 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
58 .h.moc.cc:
59 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
61 .hh.moc.cxx:
62 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
63 .h.moc.cxx:
64 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
66 .hh.moc.C:
67 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
68 .h.moc.C:
69 $(MOC) $(QT_CPPFLAGS) $(EXTRA_CPPFLAGS) $< -o $@
71 # --- #
72 # UIC #
73 # --- #
75 .ui.ui.hh:
76 $(UIC) $< -o $@
78 .ui.ui.h:
79 $(UIC) $< -o $@
81 # --- #
82 # RCC #
83 # --- #
85 .qrc.qrc.cpp:
86 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
88 .qrc.qrc.cc:
89 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
91 .qrc.qrc.cxx:
92 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
94 .qrc.qrc.C:
95 $(RCC) -name `echo "$<" | sed 's|^.*/\(.*\)\.qrc$$|\1|'` $< -o $@
97 DISTCLEANFILES = $(BUILT_SOURCES)