1 |
werner |
46 |
# Makefile.am - makefile for WinPT |
2 |
|
|
# Copyright (C) 2005 g10 Code GmbH |
3 |
|
|
# |
4 |
|
|
# This file is free software; as a special exception the author gives |
5 |
|
|
# unlimited permission to copy and/or distribute it, with or without |
6 |
|
|
# modifications, as long as this notice is preserved. |
7 |
|
|
# |
8 |
|
|
# This program is distributed in the hope that it will be useful, but |
9 |
|
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the |
10 |
|
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
11 |
|
|
|
12 |
|
|
## Process this file with automake to produce Makefile.in |
13 |
|
|
|
14 |
|
|
bin_PROGRAMS = PTD |
15 |
|
|
EXTRA_DIST = versioninfo.rc.in |
16 |
|
|
EXEEXT = .dll |
17 |
|
|
|
18 |
werner |
62 |
AM_CPPFLAGS = -I$(top_srcdir)/w32gpgme -I$(top_srcdir)/Include \ |
19 |
|
|
-I$(top_srcdir)/Gnupg \ |
20 |
werner |
46 |
-DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL -DPTD_EXPORTS |
21 |
twoaday |
385 |
|
22 |
twoaday |
435 |
# -fstack-protector-all |
23 |
twoaday |
434 |
AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) -shared |
24 |
twoaday |
385 |
|
25 |
werner |
67 |
AM_LDFLAGS = -mwindows |
26 |
werner |
46 |
|
27 |
|
|
PTD_SOURCES = \ |
28 |
|
|
PTD.def \ |
29 |
|
|
resource.rc \ |
30 |
twoaday |
334 |
PTD.cpp |
31 |
werner |
46 |
|
32 |
|
|
|
33 |
twoaday |
334 |
PTD_LDADD = $(srcdir)/PTD.def -L../Gnupg -lgnupg $(W32LIBS) |
34 |
werner |
46 |
|
35 |
twoaday |
334 |
resource.o: resource.rc versioninfo.rc |
36 |
|
|
|
37 |
werner |
46 |
.rc.o: |
38 |
|
|
$(WINDRES) -I $(srcdir) -I . `test -f '$<' || echo '$(srcdir)/'`$< $@ |