diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-04-23 13:44:36 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-04-23 13:44:36 +0400 |
commit | 61522196c71593da09572fce9af9e0d7dad61bc3 (patch) | |
tree | 9bf74facd67974fa2f780d6ce68b14eb7a94e371 /winsup/lsaauth/Makefile.in | |
parent | 1875ee55d31d3673059373c8f9837bf98f93c713 (diff) |
* Merge in cygwin-64bit-branch.
Diffstat (limited to 'winsup/lsaauth/Makefile.in')
-rw-r--r-- | winsup/lsaauth/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/winsup/lsaauth/Makefile.in b/winsup/lsaauth/Makefile.in index 8fbb2a45a..162e5aa0c 100644 --- a/winsup/lsaauth/Makefile.in +++ b/winsup/lsaauth/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (c) 2006, 2008, 2009, 2011, 2012 Red Hat, Inc. +# Copyright (c) 2006, 2008, 2009, 2011, 2012, 2013 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -36,6 +36,8 @@ CFLAGS := @CFLAGS@ include $(srcdir)/../Makefile.common +target_cpu:=@target_cpu@ + WIN32_INCLUDES := -I. -I$(srcdir) WIN32_CFLAGS := $(CFLAGS) $(WIN32_INCLUDES) WIN32_LDFLAGS := $(CFLAGS) -nostdlib -Wl,-shared @@ -46,9 +48,11 @@ WIN32_LDFLAGS := $(CFLAGS) -nostdlib -Wl,-shared # not recognized by LSA. LIBS := -ladvapi32 -lkernel32 -lntdll +ifneq ($(target_cpu),x86_64) DLL32 := cyglsa.dll DEF32 := cyglsa.def OBJ32 := cyglsa.o +endif DLL64 := cyglsa64.dll DEF64 := cyglsa64.def @@ -84,6 +88,8 @@ clean: install: all /bin/mkdir -p $(DESTDIR)$(bindir) +ifneq ($(target_cpu),x86_64) $(INSTALL_PROGRAM) $(DLL32) $(DESTDIR)$(bindir)/$(DLL32) +endif $(INSTALL_PROGRAM) $(DLL64) $(DESTDIR)$(bindir)/$(DLL64) $(INSTALL_PROGRAM) $(srcdir)/cyglsa-config $(DESTDIR)$(bindir)/cyglsa-config |