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