1 |
# 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 |
AM_CPPFLAGS = -I$(top_srcdir)/w32gpgme -I$(top_srcdir)/Include \ |
19 |
-I$(top_srcdir)/Gnupg \ |
20 |
-DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL -DPTD_EXPORTS |
21 |
AM_CFLAGS = -fexceptions $(GPGME_CFLAGS) -shared |
22 |
AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) -shared |
23 |
AM_LDFLAGS = -mwindows |
24 |
|
25 |
PTD_SOURCES = \ |
26 |
PTD.def \ |
27 |
resource.rc \ |
28 |
resource.h \ |
29 |
PTD.cpp \ |
30 |
wptFileDisk.cpp \ |
31 |
wptZIP.cpp wptZIP.h \ |
32 |
wptJPG.cpp wptJPG.h \ |
33 |
wptWipeFile.cpp |
34 |
|
35 |
PTD_LDADD = $(srcdir)/PTD.def -L../Gnupg -lgnupg $(W32LIBS) \ |
36 |
-lole32 -loleaut32 -luuid -lgdi32 |
37 |
|
38 |
resource.o: resource.rc resource.h |
39 |
|
40 |
.rc.o: |
41 |
$(WINDRES) -I $(srcdir) -I . `test -f '$<' || echo '$(srcdir)/'`$< $@ |
42 |
|
43 |
|
44 |
|
45 |
|