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

Annotation of /trunk/PTD/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 468 - (hide annotations)
Sun Jan 13 14:49:45 2013 UTC (12 years, 1 month ago) by twoaday
File size: 1186 byte(s)
2013-01-13  Timo Schulz  <twoaday@gmx.net>

        * Makefile.am: Add support for ASLR and DEP.
	

1 werner 46 # Makefile.am - 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 = PTD
15     EXTRA_DIST = versioninfo.rc.in
16     EXEEXT = .dll
17    
18 werner 62 AM_CPPFLAGS = -I$(top_srcdir)/w32gpgme -I$(top_srcdir)/Include \
19     -I$(top_srcdir)/Gnupg \
20 werner 46 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL -DPTD_EXPORTS
21 twoaday 385
22 twoaday 468
23 twoaday 435 # -fstack-protector-all
24 twoaday 468 AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) -shared
25 twoaday 385
26 twoaday 468 # TODO: check if the options are available
27     AM_LDFLAGS = -Wl,--nxcompat -Wl,--dynamicbase -mwindows
28 werner 46
29     PTD_SOURCES = \
30     PTD.def \
31     resource.rc \
32 twoaday 334 PTD.cpp
33 werner 46
34    
35 twoaday 334 PTD_LDADD = $(srcdir)/PTD.def -L../Gnupg -lgnupg $(W32LIBS)
36 werner 46
37 twoaday 334 resource.o: resource.rc versioninfo.rc
38    
39 werner 46 .rc.o:
40     $(WINDRES) -I $(srcdir) -I . `test -f '$<' || echo '$(srcdir)/'`$< $@

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26