Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-11-27 16:05:54 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-11-27 16:05:54 +0300
commit8e4735df6c3c79ae01e631aea85729fce0264e47 (patch)
treec7080443282a44aef06f67c38e52d16d654e7983 /winsup/lsaauth/Makefile.in
parentc6caaa3429d1622d1f3b595a1a6c8ffbe59062c4 (diff)
Initial release of the Cygwin LSA authentication package.
* ChangeLog: New file. * Makefile.in: Ditto. * aclocal.m4: Ditto. * configure.in: Ditto. * configure: Ditto. Generated from configure.in. * cyglsa-config: Ditto. * cyglsa.c: Ditto. * cyglsa.din: Ditto. * cyglsa64.dll: Ditto. * make-64bit-version-with-visual-c.bat: Ditto. * mslsa.def: Ditto.
Diffstat (limited to 'winsup/lsaauth/Makefile.in')
-rw-r--r--winsup/lsaauth/Makefile.in85
1 files changed, 85 insertions, 0 deletions
diff --git a/winsup/lsaauth/Makefile.in b/winsup/lsaauth/Makefile.in
new file mode 100644
index 000000000..10965e0c2
--- /dev/null
+++ b/winsup/lsaauth/Makefile.in
@@ -0,0 +1,85 @@
+# Copyright (c) 2006, 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
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# A copy of the GNU General Public License can be found at
+# http://www.gnu.org/
+#
+# Written by Corinna Vinschen <vinschen@redhat.de>
+#
+# Makefile for Cygwin subauthentication DLL.
+
+SHELL := @SHELL@
+
+srcdir := @srcdir@
+VPATH := @srcdir@
+prefix := @prefix@
+exec_prefix := @exec_prefix@
+
+bindir := @bindir@
+etcdir := $(exec_prefix)/etc
+
+INSTALL := @INSTALL@
+INSTALL_PROGRAM := @INSTALL_PROGRAM@
+INSTALL_DATA := @INSTALL_DATA@
+
+CC := @CC@
+CC_FOR_TARGET := $(CC)
+
+CFLAGS := @CFLAGS@
+
+include $(srcdir)/../Makefile.common
+
+WIN32_COMMON := -mno-cygwin
+WIN32_INCLUDES := -I. -I$(srcdir) $(w32api_include) $(w32api_include)/ddk
+WIN32_CFLAGS := $(CFLAGS) $(WIN32_COMMON) $(WIN32_INCLUDES)
+WIN32_LDFLAGS := $(CFLAGS) $(WIN32_COMMON) -nostdlib -Wl,-shared
+
+LIBS := -ladvapi32 -lkernel32 -lntdll
+
+DLL := cyglsa.dll
+DEF_FILE:= cyglsa.def
+
+OBJ = cyglsa.o
+
+.SUFFIXES:
+.NOEXPORT:
+
+all: Makefile $(DLL)
+
+$(DEF_FILE): cyglsa.din config.status
+ $(SHELL) config.status
+
+$(DLL): $(OBJ) $(DEF_FILE)
+ifdef VERBOSE
+ $(CC) -s $(WIN32_LDFLAGS) -o $@ $(DEF_FILE) $(OBJ) $(LIBS)
+else
+ @echo $(CC) .. -o $@ $(OBJ)
+ @$(CC) -s $(WIN32_LDFLAGS) -o $@ $(DEF_FILE) $(OBJ) $(LIBS)
+endif
+
+.PHONY: all install clean realclean
+
+realclean: clean
+ rm -f Makefile config.cache
+
+clean:
+ rm -f *.o *.dll
+
+install: all
+ $(SHELL) $(updir1)/mkinstalldirs $(bindir)
+ $(INSTALL_PROGRAM) $(DLL) $(bindir)/$(DLL)
+ $(INSTALL_PROGRAM) $(srcdir)/cyglsa64.dll $(bindir)/cyglsa64.dll
+ $(INSTALL_PROGRAM) $(srcdir)/cyglsa-config $(bindir)/cyglsa-config
+
+%.o: %.c
+ifdef VERBOSE
+ $(CC) $(WIN32_CFLAGS) -c -o $@ $<
+else
+ @echo $(CC) -c $(CFLAGS) ... $(<F)
+ @$(CC) $(WIN32_CFLAGS) -c -o $@ $<
+endif
+