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