* acinclude.m4 (GNUPG_CHECK_VA_COPY): Assume no when cross-compiling.
[gpgme.git] / complus / Makefile.am
1 # Copyright (C) 2000 Werner Koch (dd9jn)
2 # Copyright (C) 2001 g10 Code GmbH
3
4 # This file is part of GPGME.
5
6 # GPGME is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # GPGME is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
20 ## Process this file with automake to produce Makefile.in
21
22 # Because there is no free IDL compiler for OLE, we have to distribute
23 # a binary typelibrary.  To generate a new one, copy the idl file to a
24 # system with an install MIDL and run the command
25 #   midl /nocpp gpgcom.idl
26 # Sorry, there is no other way yet.  
27 EXTRA_DIST = gpgcom.idl gpgcom.tlb gpgcom.rc vbtest.html vbtest.vbs README
28
29 # No need to install this because we are cross-compiling anyway.
30 noinst_PROGRAMS = gpgcom tgpgcom 
31
32 INCLUDES = -I$(top_srcdir)/jnlib
33 LDADD = ../gpgme/libgpgme.la -L ../jnlib -ljnlib -lole32 -loleaut32 
34 gpgcom_LDADD = gpgcom_res.o $(LDADD)
35
36 gpgcom_SOURCES = gpgcom.c main.h \
37                 debug.c utf8.c \
38                 igpgme.h igpgme.c
39
40 tgpgcom_SOURCES = tgpgcom.c\
41                 debug.c \
42                 igpgme.h 
43
44 #regtlb_SOURCES = regtlb.c 
45 #guidgen_SOURCES = guidgen.c 
46
47 gpgcom_res.o: gpgcom.rc
48         mingw32 windres $<  gpgcom_res.o
49