-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
103 lines (87 loc) · 2.78 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = check-news dist-bzip2 nostdinc subdir-objects
lib_src = lib/log.c
bin_PROGRAMS = hamfax
hamfax_SOURCES = \
src/Config.cpp src/Config.hpp\
src/CorrectDialog.cpp src/CorrectDialog.hpp\
src/DisplayLevel.cpp src/DisplayLevel.hpp\
src/FaxImage.cpp src/FaxImage.hpp\
src/FaxWindow.cpp src/FaxWindow.hpp\
src/HelpDialog.cpp src/HelpDialog.hpp\
src/ImageWidget.cpp src/ImageWidget.hpp\
src/OptionsDialog.cpp src/OptionsDialog.hpp\
src/ReceiveDialog.cpp src/ReceiveDialog.hpp\
src/Spectrum.cpp src/Spectrum.hpp\
src/TransmitDialog.cpp src/TransmitDialog.hpp\
src/ToolTipFilter.cpp src/ToolTipFilter.hpp\
\
src/FaxDemodulator.cpp src/FaxDemodulator.hpp\
src/FaxModulator.cpp src/FaxModulator.hpp\
src/FaxReceiver.cpp src/FaxReceiver.hpp\
src/FaxTransmitter.cpp src/FaxTransmitter.hpp\
src/PTC.cpp src/PTC.hpp\
src/File.cpp src/File.hpp\
src/Sound.cpp src/Sound.hpp\
src/PTT.cpp src/PTT.hpp\
\
src/Error.hpp src/Error.cpp\
src/FirFilter.hpp\
src/LookUpTable.hpp\
src/hamfax.cpp\
$(lib_src)
LIBS+=@Qt4_LIBS@
hamfax_CXXFLAGS = @Qt4_CFLAGS@ -Wall
hamfax_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" -Iinclude/
nodist_hamfax_SOURCES = \
src/moc_Config.cpp\
src/moc_CorrectDialog.cpp\
src/moc_DisplayLevel.cpp\
src/moc_FaxImage.cpp\
src/moc_FaxWindow.cpp\
src/moc_HelpDialog.cpp\
src/moc_ImageWidget.cpp\
src/moc_OptionsDialog.cpp\
src/moc_ReceiveDialog.cpp\
src/moc_Spectrum.cpp\
src/moc_TransmitDialog.cpp\
src/moc_FaxDemodulator.cpp\
src/moc_FaxModulator.cpp\
src/moc_FaxReceiver.cpp\
src/moc_FaxTransmitter.cpp\
src/moc_PTC.cpp\
src/moc_File.cpp\
src/moc_Sound.cpp\
src/moc_ToolTipFilter.cpp\
src/moc_PTT.cpp
moc_%.cpp: %.hpp
moc $< -o $@
if USE_LRELEASE
TRANSLATION = po/hamfax_de.qm po/hamfax_fr.qm
# helper target for updating translation files
lupdate: $(hamfax_SOURCES)
lupdate $(hamfax_SOURCES) -ts po/hamfax_de.ts
lupdate $(hamfax_SOURCES) -ts po/hamfax_fr.ts
endif
pkgdata_DATA = doc/hamfax.html $(TRANSLATION)
EXTRA_DIST = po/hamfax_de.qm po/hamfax_de.ts po/hamfax_fr.qm po/hamfax_fr.ts \
doc/hamfax.html data/hamfax.desktop data/hamfax.svg
applicationsdir=$(datadir)/applications
applications_DATA=data/hamfax.desktop
iconsdir=$(datadir)/icons
icons_DATA=data/hamfax.svg
dist_man_MANS=doc/hamfax.1
.ts.qm:
$(LRELEASE) $< -qm $@
# create ChangeLog file from git log
dist-hook: ChangeLog
git log --pretty=short --abbrev-commit > $(distdir)/ChangeLog
## disabled until there is only one doc either html or xml
#.xml.html:
# xmlto html-nochunks -o doc $<
#
#.xml.pdf:
# xmlto pdf --extensions -o doc $<
#
#.xml.txt:
# xmlto txt -o doc $<