1 |
werner |
36 |
# Makefile.am - main 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 = WinPT KeyManagerExe |
15 |
|
|
EXTRA_DIST = versioninfo.rc.in |
16 |
|
|
|
17 |
|
|
AM_CPPFLAGS = -I../w32gpgme -I../Include -I../Gnupg -I../PTD \ |
18 |
|
|
-DWIN32 -D_WINDOWS -D_MBCS |
19 |
|
|
AM_CFLAGS = -fexceptions $(GPGME_CFLAGS) |
20 |
|
|
AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) |
21 |
|
|
|
22 |
|
|
resource_files = \ |
23 |
|
|
resource.h |
24 |
|
|
Safe.ico \ |
25 |
|
|
Sign.ico \ |
26 |
|
|
WinPT-en.rc \ |
27 |
|
|
winpt2.ico \ |
28 |
|
|
winpt_km.bmp |
29 |
|
|
|
30 |
|
|
dialog_files = \ |
31 |
|
|
wptAboutDlgs.cpp \ |
32 |
|
|
wptCardDlg.cpp \ |
33 |
|
|
wptClipDecryptDlg.cpp \ |
34 |
|
|
wptClipEditDlg.cpp \ |
35 |
|
|
wptClipEncryptDlg.cpp \ |
36 |
|
|
wptClipImportDlg.cpp \ |
37 |
|
|
wptClipSignDlg.cpp \ |
38 |
|
|
wptClipSignEncDlg.cpp \ |
39 |
|
|
wptClipVerifyDlg.cpp \ |
40 |
|
|
wptCommonDlg.cpp \ |
41 |
|
|
wptDateDlg.cpp \ |
42 |
|
|
wptFileManagerDlg.cpp \ |
43 |
|
|
wptFileSaveDlg.cpp \ |
44 |
|
|
wptFileStatDlg.cpp \ |
45 |
|
|
wptFileVerifyDlg.cpp \ |
46 |
|
|
wptFirstRunDlg.cpp \ |
47 |
|
|
wptGPGOptDlg.cpp \ |
48 |
|
|
wptGPGPrefsDlg.cpp \ |
49 |
|
|
wptGroupsDlg.cpp \ |
50 |
|
|
wptKeyCacheDlg.cpp \ |
51 |
|
|
wptKeyEditDlgs.cpp \ |
52 |
|
|
wptKeyEditOwnertrustDlg.cpp \ |
53 |
|
|
wptKeyeditSetPrefDlg.cpp \ |
54 |
|
|
wptKeygenCBDlg.cpp \ |
55 |
|
|
wptKeygenDlg.cpp \ |
56 |
|
|
wptKeyImportStatusDlg.cpp \ |
57 |
|
|
wptKeyManagerDlg.cpp \ |
58 |
|
|
wptKeyPropsDlg.cpp \ |
59 |
|
|
wptKeyRevokeDlg.cpp \ |
60 |
|
|
wptKeyRevokersDlg.cpp \ |
61 |
|
|
wptKeyserverDlg.cpp \ |
62 |
|
|
wptKeyserverSearchDlg.cpp \ |
63 |
|
|
wptKeysigDlg.cpp \ |
64 |
|
|
wptKeysignDlg.cpp \ |
65 |
|
|
wptKeyTrustPathDlg.cpp \ |
66 |
|
|
wptMDSumDlg.cpp \ |
67 |
|
|
wptOwnertrustDlg.cpp \ |
68 |
|
|
wptPassphraseDlg.cpp \ |
69 |
|
|
wptPINDlg.cpp \ |
70 |
|
|
wptPreferencesDlg.cpp \ |
71 |
|
|
wptProgressDlg.cpp \ |
72 |
|
|
wptProxySettingsDlg.cpp \ |
73 |
|
|
wptTextInputDlg.cpp |
74 |
|
|
|
75 |
|
|
code_files = |
76 |
|
|
WinPT.cpp \ |
77 |
|
|
wptCardManager.cpp \ |
78 |
|
|
wptCardPCSC.c \ |
79 |
|
|
wptCryptdisk.cpp \ |
80 |
|
|
wptCurrWnd.cpp \ |
81 |
|
|
wptErrors.cpp \ |
82 |
|
|
wptFileManager.cpp \ |
83 |
|
|
wptGPG.cpp \ |
84 |
|
|
wptGPGME.cpp \ |
85 |
|
|
wptGPGParser.cpp \ |
86 |
|
|
wptHotkey.cpp \ |
87 |
|
|
wptHTTP.c \ |
88 |
|
|
wptImagelist.cpp \ |
89 |
|
|
wptImportList.cpp \ |
90 |
|
|
wptKeylist.cpp \ |
91 |
|
|
wptKeyManager.cpp \ |
92 |
|
|
wptKeyserver.cpp \ |
93 |
|
|
wptListView.cpp \ |
94 |
|
|
wptMainProc.cpp \ |
95 |
|
|
wptMAPI.cpp \ |
96 |
|
|
wptNLS.c \ |
97 |
|
|
wptPassCache.cpp \ |
98 |
|
|
wptPassphraseCB.cpp \ |
99 |
|
|
wptRegistry.cpp \ |
100 |
|
|
wptSigList.cpp \ |
101 |
|
|
wptSymEnc.cpp \ |
102 |
|
|
wptTrayPop.cpp \ |
103 |
|
|
wptUTF8.cpp \ |
104 |
|
|
wptVerifyList.cpp \ |
105 |
|
|
wptW32API.cpp |
106 |
|
|
|
107 |
|
|
|
108 |
|
|
WinPT_SOURCES = $(resource_files) $(dialog_files) $(code_files) |
109 |
|
|
|
110 |
werner |
47 |
WinPT_LDADD = $(GPGME_LIBS) -L../PTD -L../w32gpgme -L../Gnupg\ |
111 |
|
|
-lPTD -lw32gpgme -lgnupg $(W32LIBS) \ |
112 |
werner |
36 |
-lcomctl32 -lkernel32 -luser32 -lcomdlg32 -ladvapi32 \ |
113 |
|
|
-lshell32 -lgdi32 |
114 |
|
|
|
115 |
|
|
KeyManagerExe_SOURCES = KeyManagerExe.cpp |
116 |
|
|
|
117 |
|
|
|
118 |
|
|
resource.o: resource.rc versioninfo.rc gpgol-rsrcs.rc olflange-rsrcs.rc |
119 |
|
|
|
120 |
|
|
.rc.o: |
121 |
|
|
$(WINDRES) -I $(srcdir) -I . `test -f '$<' || echo '$(srcdir)/'`$< $@ |
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|