# Makefile.am - makefile for WinPT # Copyright (C) 2005 g10 Code GmbH # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ## Process this file with automake to produce Makefile.in bin_PROGRAMS = PTD EXTRA_DIST = versioninfo.rc.in EXEEXT = .dll AM_CPPFLAGS = -I$(top_srcdir)/w32gpgme -I$(top_srcdir)/Include \ -I$(top_srcdir)/Gnupg \ -DWIN32 -D_WINDOWS -D_MBCS -D_USRDLL -DPTD_EXPORTS # -fstack-protector-all AM_CXXFLAGS = -fexceptions $(GPGME_CFLAGS) -shared # TODO: check if the options are available AM_LDFLAGS = -Wl,--nxcompat -Wl,--dynamicbase -mwindows PTD_SOURCES = \ PTD.def \ resource.rc \ PTD.cpp PTD_LDADD = $(srcdir)/PTD.def -L../Gnupg -lgnupg $(W32LIBS) resource.o: resource.rc versioninfo.rc .rc.o: $(WINDRES) -I $(srcdir) -I . `test -f '$<' || echo '$(srcdir)/'`$< $@