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

Contents of /trunk/PTD/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 468 - (show 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 # 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 AM_CPPFLAGS = -I$(top_srcdir)/w32gpgme -I$(top_srcdir)/Include \
19 -I$(top_srcdir)/Gnupg \
20 -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL -DPTD_EXPORTS
21
22
23 # -fstack-protector-all
24 AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) -shared
25
26 # TODO: check if the options are available
27 AM_LDFLAGS = -Wl,--nxcompat -Wl,--dynamicbase -mwindows
28
29 PTD_SOURCES = \
30 PTD.def \
31 resource.rc \
32 PTD.cpp
33
34
35 PTD_LDADD = $(srcdir)/PTD.def -L../Gnupg -lgnupg $(W32LIBS)
36
37 resource.o: resource.rc versioninfo.rc
38
39 .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