-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
125 lines (110 loc) · 2.75 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Engines
if ENABLE_ENGINE_IRC
PO_ENGINE_IRC = po-Engine-IRC
endif
if ENABLE_ENGINE_TWITTER
PO_ENGINE_TWITTER = po-Engine-Twitter
endif
# Frontends
if ENABLE_FRONTEND_GNOME
PO_FRONTEND_GNOME = po-Frontend-GNOME
endif
if ENABLE_FRONTEND_GNOME_IRC
PO_FRONTEND_GNOME_IRC = po-Frontend-GNOME-IRC
endif
ACLOCAL_AMFLAGS = -I .
EXTRA_DIST = install-sh \
expansions.m4 \
mono.m4 \
programs.m4 \
LICENSE \
README \
CREDITS \
PROFILING \
FEATURES \
BUGS \
TODO
PODIRS = po \
po-Engine \
$(PO_ENGINE_IRC) \
$(PO_ENGINE_TWITTER) \
po-Server \
po-Frontend \
$(PO_FRONTEND_GNOME) \
$(PO_FRONTEND_GNOME_IRC)
SUBDIRS = lib \
src \
$(PODIRS)
update-po:
for PODIR in $(PODIRS); do \
echo $$PODIR; \
$(MAKE) -C $$PODIR $@ | egrep -e '(:$$|messages)'; \
done
update-pot:
for PODIR in $(PODIRS); do \
echo $$PODIR; \
$(MAKE) -C $$PODIR check; \
done
mail-po: update-po
for PODIR in $(PODIRS); do \
echo $$PODIR; \
podebconf-report-po \
--deadline=+7days \
--notdebconf \
--package="Smuxi ($$PODIR)" \
--utf8 \
--from="Mirco Bauer <meebey@meebey.net>" \
--smtp=booster.qnetp.net \
--podir=$$PODIR; \
done
call-po: update-po
for PODIR in $(PODIRS); do \
echo $$PODIR; \
podebconf-report-po \
--deadline=+14days \
--notdebconf \
--package="Smuxi ($$PODIR)" \
--utf8 \
--from="Mirco Bauer <meebey@debian.org>" \
--smtp=booster.qnetp.net \
--podir=$$PODIR \
--call; \
done
LIB_DIR = $(top_builddir)/lib
WIN32_LIB_DIR = $(LIB_DIR)/win32
BUILD_DIR = $(top_builddir)/bin/$(PROFILE)
WIN32_BUILD_DIR = $(top_builddir)/bin-win32
WIN32_EXE_FILES = \
$(BUILD_DIR)/smuxi-frontend-gnome.exe \
$(BUILD_DIR)/smuxi-server.exe
WIN32_FILES = \
$(WIN32_EXE_FILES) \
$(LIB_DIR)/Meebey.SmartIrc4net.dll \
$(LIB_DIR)/Mono.Posix.dll \
$(LIB_DIR)/Nini.dll \
$(LIB_DIR)/log4net.dll \
$(WIN32_LIB_DIR)/MonoPosixHelper.dll \
$(WIN32_LIB_DIR)/zlib1.dll \
$(WIN32_LIB_DIR)/plink.exe \
$(WIN32_LIB_DIR)/fixedsys500c/Fixedsys500c.ttf \
$(BUILD_DIR)/smuxi-common.dll \
$(BUILD_DIR)/smuxi-engine.dll \
$(BUILD_DIR)/smuxi-engine-irc.dll \
$(BUILD_DIR)/smuxi-engine-twitter.dll \
$(BUILD_DIR)/smuxi-frontend-gnome-irc.dll \
$(BUILD_DIR)/smuxi-frontend.dll \
$(BUILD_DIR)/Twitterizer.Framework.dll \
$(WIN32_LIB_DIR)/smuxi-frontend-gnome.exe.config \
$(WIN32_LIB_DIR)/smuxi-server.exe.config
dist-win32:
mkdir -p $(WIN32_BUILD_DIR)
for FILE in $(WIN32_FILES); do \
cp $$FILE $(WIN32_BUILD_DIR); \
done
for FILE in $(WIN32_EXE_FILES); do \
wine ../releases/win32/build-env/CorFlags.exe /nologo /32BIT+ $(WIN32_BUILD_DIR)/$$(basename $$FILE); \
done
for PODIR in $(PODIRS); do \
$(MAKE) -C $$PODIR install itlocaledir=$(abs_top_builddir)/$(WIN32_BUILD_DIR)/locale; \
done
makensis $(top_srcdir)/src/smuxi-win32.nsis