~vcs-imports/workrave/main

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
# Process this file with automake to produce Makefile.in
#
# Copyright (C) 2001, 2002, 2003, 2004, 2005 Rob Caelers & Raymond Penners
#
# $Id: Makefile.am,v 1.25 2005/10/26 18:51:23 rcaelers Exp $
#

MAINTAINERCLEANFILES = 	\
		aclocal.m4 config.h.in configure stamp-h.in \
		Makefile.in \
		install-sh missing mkinstalldirs config.cache \
		config.log config.status \
		config.guess config.sub depcomp ltmain.sh \
		build-stamp intltool-update.in intltool-update \
		intltool-merge.in intltool-merge \
		intltool-extract.in intltool-extract workrave.spec \
		compile AUTHORS.txt COPYING.txt ChangeLog.txt \
		NEWS.txt README.txt

SUBDIRS = 	m4 po backend common frontend 
DIST_SUBDIRS =  $(SUBDIRS) intl

EXTRA_DIST = 	config.rpath  \
		config.xml \
		autogen.sh \
		autogenwin32.sh \
		autogencross.sh \
		depcomp \
		workrave.spec.in \
		workrave.spec \
		intltool-extract.in intltool-merge.in intltool-update.in

WIN32_NMAKE=wineconsole ~/.wine/fake_windows/Program\ Files/Microsoft\ Visual\ C++\ Toolkit\ 2003/bin/nmake.exe

noinst_PROGRAMS =

if PLATFORM_WIN32
dist_pkgdata_DATA = README.txt NEWS.txt AUTHORS.txt COPYING.txt ChangeLog.txt
endif

ACLOCAL_AMFLAGS = -I m4

unix2dos = perl -e 'while (<>) { s/$$/\r/; print; }'

README.txt: README
	$(unix2dos) <$^ >$@

NEWS.txt: NEWS
	$(unix2dos) <$^ >$@

AUTHORS.txt: AUTHORS
	$(unix2dos) <$^ >$@

ChangeLog.txt: ChangeLog
	$(unix2dos) <$^ >$@

COPYING.txt: COPYING
	$(unix2dos) <$^ >$@


win32:
	( . build/vcvars32.sh; \
          cd common/win32/harpoon/src; \
	  ${WIN32_NMAKE} /f harpoon.mak CFG="harpoon - Win32 Release"; \
	  cd ../../../.. \
          cd frontend/win32/applet/src; \
          ${WIN32_NMAKE} /f Applet.mak CFG="Applet - Win32 Release"; \
	  cd ../../../.. \
	)