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