/[winpt]/trunk/Src/Makefile.am
ViewVC logotype

Contents of /trunk/Src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 469 - (show annotations)
Sun Jan 13 14:50:05 2013 UTC (12 years, 1 month ago) by twoaday
File size: 3479 byte(s)
2013-01-13  Timo Schulz  <twoaday@gmx.net>

        * Makefile.am: Support for ASLR and DEP if possible. See
	Ticket #6410.
		

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 StringBuffer.h
16
17 AM_CPPFLAGS = -I$(top_srcdir)/Include \
18 -I$(top_srcdir)/Gnupg -I$(top_srcdir)/PTD \
19 -DWIN32 -D_WINDOWS -D_MBCS
20
21
22 # Stack protector sometimes causes crashes and this is disabled by now
23 # -fstack-protector-all
24 AM_CFLAGS = -fexceptions $(GPGME_CFLAGS)
25 AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS)
26
27 # To enable ASLR and DEP (data execution prevention) we use
28 # -Wl,--nxcompat -Wl,--dynamicbase
29 AM_LDFLAGS = -Wl,--nxcompat -Wl,--dynamicbase -mwindows
30
31
32 resource_files = \
33 resource.h \
34 WinPTRes.rc \
35 versioninfo.rc
36
37 dialog_files = \
38 wptAboutDlgs.cpp \
39 wptCardDlg.cpp \
40 wptClipDecryptDlg.cpp \
41 wptClipEditDlg.cpp \
42 wptClipEncryptDlg.cpp \
43 wptClipImportDlg.cpp \
44 wptClipSignDlg.cpp \
45 wptClipSignEncDlg.cpp \
46 wptClipVerifyDlg.cpp \
47 wptCommonDlg.cpp \
48 wptDateDlg.cpp \
49 wptFileManagerDlg.cpp \
50 wptFileSaveDlg.cpp \
51 wptFileStatDlg.cpp \
52 wptFileVerifyDlg.cpp \
53 wptFirstRunDlg.cpp \
54 wptGPGOptDlg.cpp \
55 wptGPGPrefsDlg.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 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 StringBuffer.cpp \
83 wptJPG.cpp \
84 wptBalloonPop.cpp \
85 wptCardManager.cpp \
86 wptCardPCSC.cpp \
87 wptCurrWnd.cpp \
88 wptErrors.cpp \
89 wptFileManager.cpp \
90 wptGPG.cpp \
91 wptGPGME.cpp \
92 wptGPGParser.cpp \
93 wptHotkey.cpp \
94 wptHTTP.cpp \
95 wptImagelist.cpp \
96 wptImportList.cpp \
97 wptKeylist.cpp \
98 wptKeyManager.cpp \
99 wptKeyserver.cpp \
100 wptListView.cpp \
101 wptMainProc.cpp \
102 wptMAPI.cpp \
103 wptNLS.cpp \
104 wptPassCache.cpp \
105 wptPassphraseCB.cpp \
106 wptRegistry.cpp \
107 wptSigList.cpp \
108 wptSymEnc.cpp \
109 wptTrayPop.cpp \
110 wptUTF8.cpp \
111 wptVerifyList.cpp \
112 wptW32API.cpp \
113 wptGPGUtil.cpp \
114 wptCardEdit.cpp \
115 wptCardEditCB.cpp \
116 wptKeyEdit.cpp \
117 wptKeyEditCB.cpp \
118 wptFileCBS.cpp \
119 wptKeyCache.cpp \
120 wptUtil.cpp \
121 wptClipboard.cpp \
122 wptGPGMEData.cpp \
123 wptGPGMEWrapper.cpp \
124 wptSafeEditCtrl.cpp \
125 wptMisc.c
126
127
128 WinPT_SOURCES = $(resource_files) $(dialog_files) $(code_files)
129 WinPT_LDADD = WinPTRes.o -L../Gnupg\
130 -lgnupg ../PTD/PTD.dll \
131 $(GPGME_LIBS) $(W32LIBS) \
132 -lcomctl32 -lkernel32 -luser32 -lcomdlg32 -ladvapi32 \
133 -lshell32 -lgdi32 -lversion -lole32 -loleaut32 \
134 -luuid -lssp
135
136 WinPTRes.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)/'`$< $@

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26