Made changes necessary to build the client on windows using cygwin.
This commit is contained in:
parent
c99e319a3a
commit
d8332983a7
@ -1,113 +1,241 @@
|
|||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006 Novell, Inc. All Rights Reserved.
|
* Copyright (C) 2006 Novell, Inc. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
* License as published by the Free Software Foundation; version 2.1
|
* License as published by the Free Software Foundation; version 2.1
|
||||||
* of the License.
|
* of the License.
|
||||||
*
|
*
|
||||||
* This library is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* Library Lesser General Public License for more details.
|
* Library Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, Novell, Inc.
|
* License along with this library; if not, Novell, Inc.
|
||||||
*
|
*
|
||||||
* To contact Novell about this file by physical or electronic mail,
|
* To contact Novell about this file by physical or electronic mail,
|
||||||
* you may find current contact information at www.novell.com.
|
* you may find current contact information at www.novell.com.
|
||||||
*
|
*
|
||||||
* Author: Juan Carlos Luciani <jluciani@novell.com>
|
* Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
*
|
*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
*
|
*
|
||||||
* README for auth_token
|
* README for auth_token
|
||||||
*
|
*
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
INTRODUCTION
|
INTRODUCTION
|
||||||
|
|
||||||
CASA-auth-token is an authentication token infrastructure with support for multiple
|
CASA-auth-token is an authentication token infrastructure with support for multiple
|
||||||
authentication mechanisms with an emphasis on providing a scalable single
|
authentication mechanisms with an emphasis on providing a scalable single
|
||||||
sign-on solution.
|
sign-on solution.
|
||||||
|
|
||||||
A key feature of auth_token is that its authentication tokens contain identity
|
A key feature of auth_token is that its authentication tokens contain identity
|
||||||
information about the entity being authenticated. This information is made available
|
information about the entity being authenticated. This information is made available
|
||||||
to the consuming services. The amount of information contained in the tokens is
|
to the consuming services. The amount of information contained in the tokens is
|
||||||
configured on a per-service basis. Because of this feature, we say that CASA-auth-token
|
configured on a per-service basis. Because of this feature, we say that CASA-auth-token
|
||||||
projects an "Authenticated Identity".
|
projects an "Authenticated Identity".
|
||||||
|
|
||||||
ARCHITECTURE COMPONENTS
|
ARCHITECTURE COMPONENTS
|
||||||
|
|
||||||
The infrastructure provided by auth_token consists of client and server components.
|
The infrastructure provided by auth_token consists of client and server components.
|
||||||
|
|
||||||
The client components of auth_token consists of a Client Engine, Get Authentication
|
The client components of auth_token consists of a Client Engine, Get Authentication
|
||||||
Token API, Authentication Token Cache, and Authentication Mechanism plug-ins.
|
Token API, Authentication Token Cache, and Authentication Mechanism plug-ins.
|
||||||
|
|
||||||
The server components of auth_token consists of an Authentication Token Service, a
|
The server components of auth_token consists of an Authentication Token Service, a
|
||||||
Verify Authentication Token API, a JAAS module, a PAM module, and an Apache Authentication
|
Verify Authentication Token API, a JAAS module, a PAM module, and an Apache Authentication
|
||||||
Provider module. The Authentication Token Service makes use of Authentication Mechanism
|
Provider module. The Authentication Token Service makes use of Authentication Mechanism
|
||||||
plug-ins, an Identity Data Store Abstraction Layer, and of Identity Token Providers.
|
plug-ins, an Identity Data Store Abstraction Layer, and of Identity Token Providers.
|
||||||
|
|
||||||
SECURITY FEATURES AND DATA FLOW
|
SECURITY FEATURES AND DATA FLOW
|
||||||
|
|
||||||
Communications between the Client Engine and the Authentication Token Service (ATS)
|
Communications between the Client Engine and the Authentication Token Service (ATS)
|
||||||
occur over HTTPS. When a client desires to obtain an Authentication Token to access
|
occur over HTTPS. When a client desires to obtain an Authentication Token to access
|
||||||
a particular service it contacts an ATS which then proceeds to inform the client about
|
a particular service it contacts an ATS which then proceeds to inform the client about
|
||||||
the Authentication Policy configured for the service. The policy contains information
|
the Authentication Policy configured for the service. The policy contains information
|
||||||
about authentication mechanisms supported as well as information about the types of
|
about authentication mechanisms supported as well as information about the types of
|
||||||
credentials that the client can utilize to authenticate to the ATS. Once the client
|
credentials that the client can utilize to authenticate to the ATS. Once the client
|
||||||
receives the Authentication Policy, it then decides what authentication mechanism to
|
receives the Authentication Policy, it then decides what authentication mechanism to
|
||||||
utilize to authenticate to the ATS based on the available authentication mechanisms
|
utilize to authenticate to the ATS based on the available authentication mechanisms
|
||||||
plug-ins as well as the available credentials. During the authentication process, the
|
plug-ins as well as the available credentials. During the authentication process, the
|
||||||
ATS associates an identity with the entity being authenticated. The result of this
|
ATS associates an identity with the entity being authenticated. The result of this
|
||||||
resolution is saved in a Session Token which is then sent to the client where it is
|
resolution is saved in a Session Token which is then sent to the client where it is
|
||||||
cached. Once the client is authenticated to the ATS, it then requests Authentication
|
cached. Once the client is authenticated to the ATS, it then requests Authentication
|
||||||
Tokens from it using the obtained Session Token. When an ATS receives a request for
|
Tokens from it using the obtained Session Token. When an ATS receives a request for
|
||||||
an Authentication Token, it then verifies the validity of the received Session Token
|
an Authentication Token, it then verifies the validity of the received Session Token
|
||||||
and then it creates the appropriate Identity Token for the target service which it then
|
and then it creates the appropriate Identity Token for the target service which it then
|
||||||
embeds within the Authentication Token. The identity information contained in the
|
embeds within the Authentication Token. The identity information contained in the
|
||||||
Identity Token as well as the type of Identity Token utilized depends on what is
|
Identity Token as well as the type of Identity Token utilized depends on what is
|
||||||
configured for the tatget service.
|
configured for the tatget service.
|
||||||
|
|
||||||
Session Tokens and Authentication Tokens are signed by the issuing ATS using Signing
|
Session Tokens and Authentication Tokens are signed by the issuing ATS using Signing
|
||||||
Certificates. Session Tokens and Authentication Tokens have a Lifetime Value associated
|
Certificates. Session Tokens and Authentication Tokens have a Lifetime Value associated
|
||||||
with them. Token verification involves verifying the token signatures, verifying that
|
with them. Token verification involves verifying the token signatures, verifying that
|
||||||
the tokens where signed by a trusted entity, and verifying that the token lifetime has
|
the tokens where signed by a trusted entity, and verifying that the token lifetime has
|
||||||
not been exceeeded.
|
not been exceeeded.
|
||||||
|
|
||||||
The auth_token client/service protocol allows for the authentication of the client entity.
|
The auth_token client/service protocol allows for the authentication of the client entity.
|
||||||
auth_token relies in the server authentication mechanisms of SSL to verify the identity
|
auth_token relies in the server authentication mechanisms of SSL to verify the identity
|
||||||
of the ATS.
|
of the ATS.
|
||||||
|
|
||||||
IMPLEMENTATION STRATEGY AND CURRENT STATUS
|
IMPLEMENTATION STRATEGY AND CURRENT STATUS
|
||||||
|
|
||||||
auth_token is currently under development and is not ready to be used in production.
|
auth_token is currently under development and is not ready to be used in production.
|
||||||
The implementation strategy has been to first complete the framework with all of its
|
The implementation strategy has been to first complete the framework with all of its
|
||||||
modules, APIs, and packaging to allow application writters to start developing to it.
|
modules, APIs, and packaging to allow application writters to start developing to it.
|
||||||
Once this is done, then the implementation focus will switch to completing the plumbing.
|
Once this is done, then the implementation focus will switch to completing the plumbing.
|
||||||
|
|
||||||
As of this time, a lot of the framework has been completed and there are sample
|
As of this time, a lot of the framework has been completed and there are sample
|
||||||
applications that can be utilized to exercise it. For a more complete picture of where
|
applications that can be utilized to exercise it. For a more complete picture of where
|
||||||
we are, look at the various TODO lists present in the child folders.
|
we are, look at the various TODO lists present in the child folders.
|
||||||
|
|
||||||
The schedule for completing auth_token is agressive.
|
The schedule for completing auth_token is agressive.
|
||||||
|
|
||||||
SECURITY CONSIDERATIONS
|
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON WINDOWS
|
||||||
|
|
||||||
CASA Authentication Tokens when compromised can be used to either impersonate
|
- Install Visual Studio .NET 2003
|
||||||
a user or to obtain identity information about the user. Because of this it is
|
- Install Windows Platform SDK for Windows Server 2003 SP1
|
||||||
important that the tokens be secured by applications making use of them. It is
|
- Register the platform sdk with VS - Start/All Programs/Windows Platform SDK for Windows Server 2003 SP1/Visual Studio Registration/Register PSDK Directories with Visual Studio
|
||||||
recommended that the tokens be transmitted using SSL.
|
- Install Cygwin - See instructions below.
|
||||||
|
- Extract Expat-2.0.0.zip in casa source directory parent
|
||||||
|
- Install Casa
|
||||||
|
|
||||||
|
Download and start cygwin install:
|
||||||
|
Browse to http://sources.redhat.com/cygwin/
|
||||||
|
|
||||||
|
Click on "Install or update now!" or "Install Cygwin now"
|
||||||
|
|
||||||
|
Cygwin Setup:
|
||||||
|
Next
|
||||||
|
|
||||||
|
Cygwin Setup - Choose Installation Type:
|
||||||
|
Install from Internet
|
||||||
|
Next
|
||||||
|
|
||||||
|
Cygwin Setup - Choose Installation Directory:
|
||||||
|
Root Directory: C:\cygwin
|
||||||
|
Install For: "All Users"
|
||||||
|
|
||||||
|
Default Text File Type: DOS
|
||||||
|
|
||||||
|
Cygwin Setup - Select Local Package Directory:
|
||||||
|
Local Package Directory: C:\cygwin-packages
|
||||||
|
|
||||||
|
Cygwin Setup - Select Connection Type:
|
||||||
|
Direct Connection
|
||||||
|
|
||||||
|
Choose A Download Site:
|
||||||
|
ftp://ftp.nas.nasa.gov
|
||||||
|
|
||||||
|
Cywin Setup - Select Packages:
|
||||||
|
Base:
|
||||||
|
defaults
|
||||||
|
|
||||||
|
Devel:
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
make
|
||||||
|
pkgconfig
|
||||||
|
cvs
|
||||||
|
gcc
|
||||||
|
gcc-g++
|
||||||
|
|
||||||
|
Editors:
|
||||||
|
vim (optional)
|
||||||
|
|
||||||
|
Net:
|
||||||
|
openssh
|
||||||
|
openssl
|
||||||
|
|
||||||
|
Text:
|
||||||
|
more
|
||||||
|
|
||||||
|
Utils:
|
||||||
|
clear (optional)
|
||||||
|
|
||||||
|
Cygwin Setup - Create Icons:
|
||||||
|
Finish
|
||||||
|
|
||||||
|
Edit cygwin.bat (c:\cygwin\cygwin.bat) to add a call to
|
||||||
|
%VS71COMNTOOLS%\vsvars32.bat (see example below). This sets up the
|
||||||
|
Visual Studio tools in Cygwin.
|
||||||
|
|
||||||
|
Sample cygwin.bat:
|
||||||
|
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
call "%VS71COMNTOOLS%\vsvars32.bat" > NUL
|
||||||
|
|
||||||
|
C:
|
||||||
|
chdir C:\cygwin\bin
|
||||||
|
|
||||||
|
bash --login -i
|
||||||
|
|
||||||
|
|
||||||
|
REQUIREMENTS FOR BUILDING THE SOFTWARE PACKAGE ON LINUX
|
||||||
|
|
||||||
|
Install latest mono and mono-devel RPM - Obtain RPMs from
|
||||||
|
www.go-mono.org.
|
||||||
|
|
||||||
|
|
||||||
|
BUILDING THE SOFTWARE PACKAGE
|
||||||
|
|
||||||
|
Windows: Start at Step 1.
|
||||||
|
Linux: Skip to Step 2.
|
||||||
|
|
||||||
|
1. Run cygwin.bat to start up Cygwin.
|
||||||
|
|
||||||
|
2. Generate autotools files:
|
||||||
|
./autogen.sh --prefix=/<install_dir> [--enable-debug]
|
||||||
|
(<install_dir> is some writable directory where 'make install' will
|
||||||
|
install files for testing.
|
||||||
|
|
||||||
|
3. To reconfigure later, or to configure software that came from a source
|
||||||
|
distribution (.tar.gz) file, use configure.
|
||||||
|
./configure --prefix/<install_dir> [--enable-debug]
|
||||||
|
(run ./configure --help for more options)
|
||||||
|
|
||||||
|
4. Select your make target, here are a few interesting ones:
|
||||||
|
|
||||||
|
make [all] - build product files (package files not included)
|
||||||
|
|
||||||
|
make clean - clean up files built by 'make all'
|
||||||
|
|
||||||
|
make package - build product and package files
|
||||||
|
|
||||||
|
make package-clean - clean up package files
|
||||||
|
|
||||||
|
make install - install product files to <install_dir> specified by
|
||||||
|
--prefix during configure
|
||||||
|
|
||||||
|
make uninstall - undo 'make install'
|
||||||
|
|
||||||
|
make dist - build a source distribution tarball.
|
||||||
|
|
||||||
|
make distclean - removes files to return state back to same as the
|
||||||
|
source distribution (configure, Makefile.in files, and other distributed
|
||||||
|
autotools files are not removed)
|
||||||
|
|
||||||
|
make maintainer-clean - removes files to return state back to same as
|
||||||
|
the CVS checkout (you will need to run ./autogen.sh again before running
|
||||||
|
make again)
|
||||||
|
|
||||||
|
SECURITY CONSIDERATIONS
|
||||||
|
|
||||||
|
CASA Authentication Tokens when compromised can be used to either impersonate
|
||||||
|
a user or to obtain identity information about the user. Because of this it is
|
||||||
|
important that the tokens be secured by applications making use of them. It is
|
||||||
|
recommended that the tokens be transmitted using SSL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
SUBDIRS = $(TARGET_OS) mechanisms
|
SUBDIRS = $(TARGET_OS) mechanisms
|
||||||
|
|
||||||
DIST_SUBDIRS = linux mechanisms
|
DIST_SUBDIRS = linux windows mechanisms
|
||||||
|
|
||||||
CFILES =
|
CFILES =
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
SUBDIRS = $(TARGET_OS)
|
SUBDIRS = $(TARGET_OS)
|
||||||
|
|
||||||
DIST_SUBDIRS = linux
|
DIST_SUBDIRS = linux windows
|
||||||
|
|
||||||
CFILES = *.c
|
CFILES = *.c
|
||||||
|
|
||||||
|
@ -0,0 +1,69 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = krb5.vcproj ../*.c *.c *.h *.conf *.def
|
||||||
|
|
||||||
|
if DEBUG
|
||||||
|
TARGET_CFG = Debug
|
||||||
|
else
|
||||||
|
TARGET_CFG = Release
|
||||||
|
endif
|
||||||
|
|
||||||
|
PACKAGE = krb5
|
||||||
|
TARGET_FILE = krb5mech.dll
|
||||||
|
LOG_FILE = $(PACKAGE).log
|
||||||
|
|
||||||
|
all-am: $(TARGET_FILE)
|
||||||
|
|
||||||
|
.PHONY: $TARGET_FILE) devenv
|
||||||
|
|
||||||
|
devenv:
|
||||||
|
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||||
|
|
||||||
|
$(TARGET_FILE): devenv
|
||||||
|
@rm -f $(LOG_FILE) $@
|
||||||
|
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../../auth.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \
|
||||||
|
echo $$CMD; \
|
||||||
|
if eval $$CMD; then \
|
||||||
|
ls -l $(TARGET_CFG)/$(TARGET_FILE); \
|
||||||
|
else \
|
||||||
|
grep -a "ERROR:" $(LOG_FILE); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
package-clean clean-local:
|
||||||
|
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
distclean-local: package-clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,37 +1,37 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = $(TARGET_OS)
|
SUBDIRS = $(TARGET_OS)
|
||||||
|
|
||||||
DIST_SUBDIRS = linux
|
DIST_SUBDIRS = linux windows
|
||||||
|
|
||||||
CFILES = *.c
|
CFILES = *.c
|
||||||
|
|
||||||
EXTRA_DIST = $(CFILES) *.h
|
EXTRA_DIST = $(CFILES) *.h
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
package package-clean package-install package-uninstall:
|
package package-clean package-install package-uninstall:
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
maintainer-clean-local:
|
maintainer-clean-local:
|
||||||
rm -f Makefile.in
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
@ -0,0 +1,69 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = pwd.vcproj ../*.c *.c *.h *.conf *.def
|
||||||
|
|
||||||
|
if DEBUG
|
||||||
|
TARGET_CFG = Debug
|
||||||
|
else
|
||||||
|
TARGET_CFG = Release
|
||||||
|
endif
|
||||||
|
|
||||||
|
PACKAGE = pwd
|
||||||
|
TARGET_FILE = pwmech.dll
|
||||||
|
LOG_FILE = $(PACKAGE).log
|
||||||
|
|
||||||
|
all-am: $(TARGET_FILE)
|
||||||
|
|
||||||
|
.PHONY: $TARGET_FILE) devenv
|
||||||
|
|
||||||
|
devenv:
|
||||||
|
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||||
|
|
||||||
|
$(TARGET_FILE): devenv
|
||||||
|
@rm -f $(LOG_FILE) $@
|
||||||
|
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../../auth.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \
|
||||||
|
echo $$CMD; \
|
||||||
|
if eval $$CMD; then \
|
||||||
|
ls -l $(TARGET_CFG)/$(TARGET_FILE); \
|
||||||
|
else \
|
||||||
|
grep -a "ERROR:" $(LOG_FILE); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
package-clean clean-local:
|
||||||
|
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
distclean-local: package-clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
|
||||||
|
|
69
CASA-auth-token/non-java/client/windows/Makefile.am
Normal file
69
CASA-auth-token/non-java/client/windows/Makefile.am
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = client.vcproj ../*.c *.c *.h *.def
|
||||||
|
|
||||||
|
if DEBUG
|
||||||
|
TARGET_CFG = Debug
|
||||||
|
else
|
||||||
|
TARGET_CFG = Release
|
||||||
|
endif
|
||||||
|
|
||||||
|
PACKAGE = client
|
||||||
|
TARGET_FILE = authtoken.dll
|
||||||
|
LOG_FILE = $(PACKAGE).log
|
||||||
|
|
||||||
|
all-am: $(TARGET_FILE)
|
||||||
|
|
||||||
|
.PHONY: $TARGET_FILE) devenv
|
||||||
|
|
||||||
|
devenv:
|
||||||
|
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||||
|
|
||||||
|
$(TARGET_FILE): devenv
|
||||||
|
@rm -f $(LOG_FILE) $@
|
||||||
|
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../auth.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \
|
||||||
|
echo $$CMD; \
|
||||||
|
if eval $$CMD; then \
|
||||||
|
ls -l $(TARGET_CFG)/$(TARGET_FILE); \
|
||||||
|
else \
|
||||||
|
grep -a "ERROR:" $(LOG_FILE); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
package-clean clean-local:
|
||||||
|
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
distclean-local: package-clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,298 +1,304 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
AC_INIT(CASA_auth_token_native, 1.7.795,,CASA_auth_token_native)
|
AC_INIT(CASA_auth_token_native, 1.7.795,,CASA_auth_token_native)
|
||||||
AC_CONFIG_SRCDIR(autogen.sh)
|
AC_CONFIG_SRCDIR(autogen.sh)
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
AM_INIT_AUTOMAKE(tar-pax)
|
AM_INIT_AUTOMAKE(tar-pax)
|
||||||
RELEASE=`date +%Y%m%d_%H%M`
|
RELEASE=`date +%Y%m%d_%H%M`
|
||||||
AC_SUBST(RELEASE)
|
AC_SUBST(RELEASE)
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for a valid C# compiler
|
# Check for a valid C# compiler
|
||||||
#
|
#
|
||||||
#AC_CHECK_PROG(CSC, csc, csc)
|
#AC_CHECK_PROG(CSC, csc, csc)
|
||||||
#test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
#test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
||||||
#test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
#test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for valid C# compiler in linux
|
# Check for valid C# compiler in linux
|
||||||
#
|
#
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AC_CHECK_PROG(CSC, csc, csc)
|
AC_CHECK_PROG(CSC, csc, csc)
|
||||||
test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
test -z "$CSC" && AC_CHECK_PROG(CSC, mcs, mcs)
|
||||||
test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
test -z "$CSC" && AC_MSG_ERROR([no acceptable C Sharp compiler found in \$PATH])
|
||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $CSC in
|
case $CSC in
|
||||||
#
|
#
|
||||||
# Mono-specific configuration
|
# Mono-specific configuration
|
||||||
#
|
#
|
||||||
mcs)
|
mcs)
|
||||||
CSC_EXEFLAG=/target:exe
|
CSC_EXEFLAG=/target:exe
|
||||||
CSC_LIBFLAG=/target:library
|
CSC_LIBFLAG=/target:library
|
||||||
CSC_EXEFLAG=/target:exe
|
CSC_EXEFLAG=/target:exe
|
||||||
CSC_WINEXEFLAG=/target:winexe
|
CSC_WINEXEFLAG=/target:winexe
|
||||||
CSCFLAGS='/d:MONO /warn:4 /d:TRACE -d:LINUX'
|
CSCFLAGS='/d:MONO /warn:4 /d:TRACE -d:LINUX'
|
||||||
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
||||||
CSCFLAGS_OPTIMIZE="/optimize+"
|
CSCFLAGS_OPTIMIZE="/optimize+"
|
||||||
MONO=mono
|
MONO=mono
|
||||||
MONO_DEBUG='mono --debug'
|
MONO_DEBUG='mono --debug'
|
||||||
MONO_PATH=
|
MONO_PATH=
|
||||||
SYSTEM_XML='System.Xml.dll'
|
SYSTEM_XML='System.Xml.dll'
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
# .NET-specific configuration
|
# .NET-specific configuration
|
||||||
#
|
#
|
||||||
csc)
|
csc)
|
||||||
CSC_EXEFLAG=/target:exe
|
CSC_EXEFLAG=/target:exe
|
||||||
CSC_LIBFLAG=/target:library
|
CSC_LIBFLAG=/target:library
|
||||||
CSC_EXEFLAG=/target:exe
|
CSC_EXEFLAG=/target:exe
|
||||||
CSC_WINEXEFLAG=/target:winexe
|
CSC_WINEXEFLAG=/target:winexe
|
||||||
CSCFLAGS='/d:DOTNET /warn:4 /d:TRACE /nologo'
|
CSCFLAGS='/d:DOTNET /warn:4 /d:TRACE /nologo'
|
||||||
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
CSCFLAGS_DEBUG="/debug+ /d:DEBUG"
|
||||||
CSCFLAGS_OPTIMIZE="/optimize+"
|
CSCFLAGS_OPTIMIZE="/optimize+"
|
||||||
MONO=
|
MONO=
|
||||||
MONO_DEBUG=
|
MONO_DEBUG=
|
||||||
MONO_PATH=
|
MONO_PATH=
|
||||||
SYSTEM_XML='System.XML.dll'
|
SYSTEM_XML='System.XML.dll'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(CSC)
|
AC_SUBST(CSC)
|
||||||
AC_SUBST(CSC_EXEFLAG)
|
AC_SUBST(CSC_EXEFLAG)
|
||||||
AC_SUBST(CSC_LIBFLAG)
|
AC_SUBST(CSC_LIBFLAG)
|
||||||
AC_SUBST(CSC_WINEXEFLAG)
|
AC_SUBST(CSC_WINEXEFLAG)
|
||||||
AC_SUBST(CSCFLAGS)
|
AC_SUBST(CSCFLAGS)
|
||||||
AC_SUBST(CSCFLAGS_DEBUG)
|
AC_SUBST(CSCFLAGS_DEBUG)
|
||||||
AC_SUBST(MONO)
|
AC_SUBST(MONO)
|
||||||
AC_SUBST(MONO_PATH)
|
AC_SUBST(MONO_PATH)
|
||||||
AC_SUBST(SYSTEM_XML)
|
AC_SUBST(SYSTEM_XML)
|
||||||
|
|
||||||
SRCDIR='$(top_srcdir)'
|
SRCDIR='$(top_srcdir)'
|
||||||
DOCDIR="$SRCDIR/doc"
|
DOCDIR="$SRCDIR/doc"
|
||||||
TOOLDIR='$(top_srcdir)/tools'
|
TOOLDIR='$(top_srcdir)/tools'
|
||||||
AC_SUBST(SRCDIR)
|
AC_SUBST(SRCDIR)
|
||||||
AC_SUBST(DOCDIR)
|
AC_SUBST(DOCDIR)
|
||||||
AC_SUBST(TOOLDIR)
|
AC_SUBST(TOOLDIR)
|
||||||
EMPTY=
|
EMPTY=
|
||||||
SPACE='$(EMPTY) $(EMPTY)'
|
SPACE='$(EMPTY) $(EMPTY)'
|
||||||
|
|
||||||
AC_SUBST(EMPTY)
|
AC_SUBST(EMPTY)
|
||||||
AC_SUBST(SPACE)
|
AC_SUBST(SPACE)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for operating system and set TARGET_OS
|
# Check for operating system and set TARGET_OS
|
||||||
#
|
#
|
||||||
case $host_os in
|
case $host_os in
|
||||||
cygwin*)
|
cygwin*)
|
||||||
TARGET_OS='windows'
|
TARGET_OS='windows'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
TARGET_OS='linux'
|
TARGET_OS='linux'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(TARGET_OS)
|
AC_SUBST(TARGET_OS)
|
||||||
AM_CONDITIONAL(LINUX, test "$TARGET_OS" = "linux")
|
AM_CONDITIONAL(LINUX, test "$TARGET_OS" = "linux")
|
||||||
AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows")
|
AM_CONDITIONAL(WINDOWS, test "$TARGET_OS" = "windows")
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for architecture and set TARGET_ARCH
|
# Check for architecture and set TARGET_ARCH
|
||||||
# ia64 needs to be treated as non64.
|
# ia64 needs to be treated as non64.
|
||||||
|
|
||||||
case $target_cpu in
|
case $target_cpu in
|
||||||
x86_64|p*pc64|s390x)
|
x86_64|p*pc64|s390x)
|
||||||
LIB=lib64
|
LIB=lib64
|
||||||
BIN=bin64
|
BIN=bin64
|
||||||
;;
|
;;
|
||||||
*ia64|*)
|
*ia64|*)
|
||||||
LIB=lib
|
LIB=lib
|
||||||
BIN=bin
|
BIN=bin
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(LIB)
|
AC_SUBST(LIB)
|
||||||
AC_SUBST(BIN)
|
AC_SUBST(BIN)
|
||||||
AM_CONDITIONAL(LIB64, test "$LIB" = lib64)
|
AM_CONDITIONAL(LIB64, test "$LIB" = lib64)
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Set platform-specific variables
|
# Set platform-specific variables
|
||||||
#
|
#
|
||||||
case $TARGET_OS in
|
case $TARGET_OS in
|
||||||
#
|
#
|
||||||
# Linux-specific configuration
|
# Linux-specific configuration
|
||||||
#
|
#
|
||||||
linux)
|
linux)
|
||||||
#
|
#
|
||||||
# Set variables
|
# Set variables
|
||||||
#
|
#
|
||||||
COMMON_CLEAN_FILES=''
|
COMMON_CLEAN_FILES=''
|
||||||
ICON_EXT='.ico'
|
ICON_EXT='.ico'
|
||||||
ICON_FLAG='/resource:'
|
ICON_FLAG='/resource:'
|
||||||
PLATFORM_SUBDIRS=$LINUX_SUBDIRS
|
PLATFORM_SUBDIRS=$LINUX_SUBDIRS
|
||||||
SEP='/'
|
SEP='/'
|
||||||
LINK=gcc
|
LINK=gcc
|
||||||
;;
|
;;
|
||||||
#
|
#
|
||||||
# Windows-specific configuration
|
# Windows-specific configuration
|
||||||
#
|
#
|
||||||
windows)
|
windows)
|
||||||
COMMON_CLEAN_FILES='*.suo */*.suo *.csproj.user */*.csproj.user bin obj */bin */obj *.xml */*.xml *.pdb */*.pdb'
|
COMMON_CLEAN_FILES='*.suo */*.suo *.csproj.user */*.csproj.user bin obj */bin */obj *.xml */*.xml *.pdb */*.pdb'
|
||||||
ICON_EXT='.ico'
|
ICON_EXT='.ico'
|
||||||
ICON_FLAG='/win32icon:'
|
ICON_FLAG='/win32icon:'
|
||||||
PLATFORM_SUBDIRS=$WINDOWS_SUBDIRS
|
PLATFORM_SUBDIRS=$WINDOWS_SUBDIRS
|
||||||
SEP='$(EMPTY)\\$(EMPTY)'
|
SEP='$(EMPTY)\\$(EMPTY)'
|
||||||
LINK=link.exe
|
LINK=link.exe
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_SUBST(COMMON_CLEAN_FILES)
|
AC_SUBST(COMMON_CLEAN_FILES)
|
||||||
AC_SUBST(ICON_EXT)
|
AC_SUBST(ICON_EXT)
|
||||||
AC_SUBST(ICON_FLAG)
|
AC_SUBST(ICON_FLAG)
|
||||||
AC_SUBST(PLATFORM_SUBDIRS)
|
AC_SUBST(PLATFORM_SUBDIRS)
|
||||||
AC_SUBST(SEP)
|
AC_SUBST(SEP)
|
||||||
AC_SUBST(LINK)
|
AC_SUBST(LINK)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run standard macros
|
# Run standard macros
|
||||||
#
|
#
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
||||||
#######
|
#######
|
||||||
#
|
#
|
||||||
# set CFLAGS
|
# set CFLAGS
|
||||||
#
|
#
|
||||||
case $host_os in
|
case $host_os in
|
||||||
linux*)
|
linux*)
|
||||||
CFLAGS="$CFLAGS"
|
CFLAGS="$CFLAGS"
|
||||||
;;
|
;;
|
||||||
cygwin*)
|
cygwin*)
|
||||||
CC=cl.exe
|
CC=cl.exe
|
||||||
CFLAGS="-D WIN32 -D SSCS_WIN32_PLAT_F -D N_PLAT_CLIENT -MT -Ox"
|
CFLAGS="-D WIN32 -D SSCS_WIN32_PLAT_F -D N_PLAT_CLIENT -MT -Ox"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
# Handle --enable-debug
|
# Handle --enable-debug
|
||||||
#
|
#
|
||||||
AC_ARG_ENABLE(debug, [
|
AC_ARG_ENABLE(debug, [
|
||||||
--enable-debug configure the Makefiles to build in DEBUG mode],
|
--enable-debug configure the Makefiles to build in DEBUG mode],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) enable_debug=true ;;
|
yes) enable_debug=true ;;
|
||||||
no) enable_debug=false ;;
|
no) enable_debug=false ;;
|
||||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
|
||||||
esac],[enable_debug=false])
|
esac],[enable_debug=false])
|
||||||
AM_CONDITIONAL(DEBUG, test x$enable_debug = xtrue)
|
AM_CONDITIONAL(DEBUG, test x$enable_debug = xtrue)
|
||||||
if test "$enable_debug" = "true"
|
if test "$enable_debug" = "true"
|
||||||
then
|
then
|
||||||
# Build debug version.
|
# Build debug version.
|
||||||
# CFLAGS="$CFLAGS_DEBUG $CFLAGS -DDBG -DDEBUG"
|
# CFLAGS="$CFLAGS_DEBUG $CFLAGS -DDBG -DDEBUG"
|
||||||
CFLAGS="$CFLAGS_DEBUG $CFLAGS -g -DDBG -DDEBUG \
|
CFLAGS="$CFLAGS_DEBUG $CFLAGS -g -DDBG -DDEBUG \
|
||||||
-fPIC -DPIC -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
-fPIC -DPIC -DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
||||||
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
||||||
-DUNIX -DLINUX -DIAPX38"
|
-DUNIX -DLINUX -DIAPX38"
|
||||||
CSCFLAGS="$CSCFLAGS_DEBUG $CSCFLAGS"
|
CSCFLAGS="$CSCFLAGS_DEBUG $CSCFLAGS"
|
||||||
CXXFLAGS="$CXXFLAGS_DEBUG $CXXFLAGS"
|
CXXFLAGS="$CXXFLAGS_DEBUG $CXXFLAGS"
|
||||||
DEVENV_CONFIGURATION=Debug
|
DEVENV_CONFIGURATION=Debug
|
||||||
MONO=$MONO_DEBUG
|
MONO=$MONO_DEBUG
|
||||||
else
|
else
|
||||||
# Build optimized version.
|
# Build optimized version.
|
||||||
CFLAGS="$CFLAGS_OPTIMIZE $CFLAGS -g -fPIC -DPIC \
|
CFLAGS="$CFLAGS_OPTIMIZE $CFLAGS -g -fPIC -DPIC \
|
||||||
-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
-DSSCS_LINUX_PLAT_F -O2 -fmessage-length=0 -Wall \
|
||||||
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
-D_REENTRANT -DALIGNMENT -DN_PLAT_UNIX \
|
||||||
-DUNIX -DLINUX -DIAPX38"
|
-DUNIX -DLINUX -DIAPX38"
|
||||||
CSCFLAGS="$CSCFLAGS_OPTIMIZE $CSCFLAGS"
|
CSCFLAGS="$CSCFLAGS_OPTIMIZE $CSCFLAGS"
|
||||||
CXXFLAGS="$CXXFLAGS_OPTIMIZE $CXXFLAGS"
|
CXXFLAGS="$CXXFLAGS_OPTIMIZE $CXXFLAGS"
|
||||||
DEVENV_CONFIGURATION=Release
|
DEVENV_CONFIGURATION=Release
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CSCFLAGS)
|
AC_SUBST(CSCFLAGS)
|
||||||
AC_SUBST(DEVENV_CONFIGURATION)
|
AC_SUBST(DEVENV_CONFIGURATION)
|
||||||
|
|
||||||
##comment out due to build failure
|
##comment out due to build failure
|
||||||
# Check for GCC version to add fstack-protector flag
|
# Check for GCC version to add fstack-protector flag
|
||||||
#
|
#
|
||||||
#GCC_VER="`gcc -dumpversion`"
|
#GCC_VER="`gcc -dumpversion`"
|
||||||
#case "$GCC_VER" in
|
#case "$GCC_VER" in
|
||||||
# 3*)
|
# 3*)
|
||||||
# ;;
|
# ;;
|
||||||
# 4*)
|
# 4*)
|
||||||
# CFLAGS="$CFLAGS -fstack-protector"
|
# CFLAGS="$CFLAGS -fstack-protector"
|
||||||
# ;;
|
# ;;
|
||||||
# *)
|
# *)
|
||||||
# ;;
|
# ;;
|
||||||
#esac
|
#esac
|
||||||
|
|
||||||
AC_SUBST(GCC_VER)
|
AC_SUBST(GCC_VER)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Configure PKG_CONFIG
|
# Configure PKG_CONFIG
|
||||||
#
|
#
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||||
if test "x$PKG_CONFIG" = "xno"; then
|
if test "x$PKG_CONFIG" = "xno"; then
|
||||||
AC_MSG_ERROR([You need to install pkg-config])
|
AC_MSG_ERROR([You need to install pkg-config])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Configure files
|
# Configure files
|
||||||
#
|
#
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
package/Makefile
|
package/Makefile
|
||||||
package/linux/Makefile
|
package/linux/Makefile
|
||||||
package/linux/CASA_auth_token_native.spec
|
package/windows/Makefile
|
||||||
include/Makefile
|
package/windows/authtokenclient_msm/Makefile
|
||||||
utilities/Makefile
|
package/windows/authtokenclient_msi/Makefile
|
||||||
utilities/IpcLibs/Makefile
|
package/linux/CASA_auth_token_native.spec
|
||||||
utilities/IpcLibs/linux/Makefile
|
include/Makefile
|
||||||
utilities/IpcLibs/linux/common/Makefile
|
utilities/Makefile
|
||||||
utilities/IpcLibs/linux/client/Makefile
|
utilities/IpcLibs/Makefile
|
||||||
utilities/IpcLibs/linux/server/Makefile
|
utilities/IpcLibs/linux/Makefile
|
||||||
server/Makefile
|
utilities/IpcLibs/linux/common/Makefile
|
||||||
server/AuthTokenValidate/Makefile
|
utilities/IpcLibs/linux/client/Makefile
|
||||||
server/AuthTokenValidate/linux/Makefile
|
utilities/IpcLibs/linux/server/Makefile
|
||||||
server/AuthTokenValidate/idenTokenProviders/Makefile
|
server/Makefile
|
||||||
server/AuthTokenValidate/idenTokenProviders/casa/Makefile
|
server/AuthTokenValidate/Makefile
|
||||||
server/AuthTokenValidate/idenTokenProviders/casa/linux/Makefile
|
server/AuthTokenValidate/linux/Makefile
|
||||||
server/AuthTokenValidate/Svc/Makefile
|
server/AuthTokenValidate/idenTokenProviders/Makefile
|
||||||
server/AuthTokenValidate/Svc/linux/Makefile
|
server/AuthTokenValidate/idenTokenProviders/casa/Makefile
|
||||||
server/PamSupport/Makefile
|
server/AuthTokenValidate/idenTokenProviders/casa/linux/Makefile
|
||||||
server/PamSupport/linux/Makefile
|
server/AuthTokenValidate/Svc/Makefile
|
||||||
server/ApacheSupport/Makefile
|
server/AuthTokenValidate/Svc/linux/Makefile
|
||||||
server/ApacheSupport/2.2/Makefile
|
server/PamSupport/Makefile
|
||||||
server/ApacheSupport/2.2/linux/Makefile
|
server/PamSupport/linux/Makefile
|
||||||
client/Makefile
|
server/ApacheSupport/Makefile
|
||||||
client/linux/Makefile
|
server/ApacheSupport/2.2/Makefile
|
||||||
client/mechanisms/Makefile
|
server/ApacheSupport/2.2/linux/Makefile
|
||||||
client/mechanisms/pwd/Makefile
|
client/Makefile
|
||||||
client/mechanisms/pwd/linux/Makefile
|
client/linux/Makefile
|
||||||
client/mechanisms/krb5/Makefile
|
client/windows/Makefile
|
||||||
client/mechanisms/krb5/linux/Makefile
|
client/mechanisms/Makefile
|
||||||
])
|
client/mechanisms/pwd/Makefile
|
||||||
|
client/mechanisms/pwd/linux/Makefile
|
||||||
|
client/mechanisms/pwd/windows/Makefile
|
||||||
|
client/mechanisms/krb5/Makefile
|
||||||
|
client/mechanisms/krb5/linux/Makefile
|
||||||
|
client/mechanisms/krb5/windows/Makefile
|
||||||
|
])
|
||||||
|
|
||||||
|
@ -1,38 +1,38 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = linux
|
SUBDIRS = $(TARGET_OS)
|
||||||
|
|
||||||
DIST_SUBDIRS = linux
|
DIST_SUBDIRS = linux windows
|
||||||
|
|
||||||
EXTRA_DIST =
|
EXTRA_DIST =
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
package package-clean package-install package-uninstall:
|
package package-clean package-install package-uninstall:
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
if [ -d lib ]; then rm -rf lib; fi
|
if [ -d lib ]; then rm -rf lib; fi
|
||||||
|
|
||||||
maintainer-clean-local:
|
maintainer-clean-local:
|
||||||
rm -f Makefile.in
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
39
CASA-auth-token/non-java/package/windows/Makefile.am
Normal file
39
CASA-auth-token/non-java/package/windows/Makefile.am
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2006 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS = authtokenclient_msm authtokenclient_msi
|
||||||
|
|
||||||
|
DIST_SUBDIRS = authtokenclient_msm authtokenclient_msi
|
||||||
|
|
||||||
|
EXTRA_DIST =
|
||||||
|
|
||||||
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
|
package package-clean package-install package-uninstall:
|
||||||
|
$(MAKE) -C authtokenclient_msm $@
|
||||||
|
$(MAKE) -C authtokenclient_msi $@
|
||||||
|
|
||||||
|
clean-local:
|
||||||
|
if [ -d lib ]; then rm -rf lib; fi
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
@ -0,0 +1,69 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = authtokenclient_msi.vdproj
|
||||||
|
|
||||||
|
if DEBUG
|
||||||
|
TARGET_CFG = Debug
|
||||||
|
else
|
||||||
|
TARGET_CFG = Release
|
||||||
|
endif
|
||||||
|
|
||||||
|
PACKAGE = authtokenclient_msi
|
||||||
|
TARGET_FILE = $(PACKAGE).msi
|
||||||
|
LOG_FILE = $(PACKAGE).log
|
||||||
|
|
||||||
|
.PHONY: package package-clean package-install package-uninstall devenv
|
||||||
|
|
||||||
|
package: $(TARGET_FILE)
|
||||||
|
|
||||||
|
devenv:
|
||||||
|
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||||
|
|
||||||
|
$(TARGET_FILE): devenv
|
||||||
|
@rm -f $(LOG_FILE) $@
|
||||||
|
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../auth.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \
|
||||||
|
echo $$CMD; \
|
||||||
|
if eval $$CMD; then \
|
||||||
|
ls -l $(TARGET_CFG)/$(TARGET_FILE); \
|
||||||
|
else \
|
||||||
|
grep -a "ERROR:" $(LOG_FILE); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
package-clean clean-local:
|
||||||
|
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
distclean-local: package-clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,69 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2004 Novell, 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.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
# Author: Greg Richardson <grichardson@novell.com>
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
SUBDIRS =
|
||||||
|
|
||||||
|
DIST_SUBDIRS =
|
||||||
|
|
||||||
|
EXTRA_DIST = authtokenclient_msm.vdproj
|
||||||
|
|
||||||
|
if DEBUG
|
||||||
|
TARGET_CFG = Debug
|
||||||
|
else
|
||||||
|
TARGET_CFG = Release
|
||||||
|
endif
|
||||||
|
|
||||||
|
PACKAGE = authtokenclient_msm
|
||||||
|
TARGET_FILE = $(PACKAGE).msm
|
||||||
|
LOG_FILE = $(PACKAGE).log
|
||||||
|
|
||||||
|
.PHONY: package package-clean package-install package-uninstall devenv
|
||||||
|
|
||||||
|
package: $(TARGET_FILE)
|
||||||
|
|
||||||
|
devenv:
|
||||||
|
@if ! test -x "$(VSINSTALLDIR)/devenv.exe"; then echo "Error: Microsoft Visual Studio .NET is currently required to build MSI and MSM packages"; exit 1; fi
|
||||||
|
|
||||||
|
$(TARGET_FILE): devenv
|
||||||
|
@rm -f $(LOG_FILE) $@
|
||||||
|
@CMD='"$(VSINSTALLDIR)/devenv.exe" ../../../auth.sln /build $(TARGET_CFG) /project $(PACKAGE) /out $(LOG_FILE)'; \
|
||||||
|
echo $$CMD; \
|
||||||
|
if eval $$CMD; then \
|
||||||
|
ls -l $(TARGET_CFG)/$(TARGET_FILE); \
|
||||||
|
else \
|
||||||
|
grep -a "ERROR:" $(LOG_FILE); \
|
||||||
|
fi
|
||||||
|
|
||||||
|
package-clean clean-local:
|
||||||
|
rm -rf Release/* Release Debug/* Debug*/Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf Release/* Release Debug/* Debug */Release */Debug *.log *.suo
|
||||||
|
|
||||||
|
distclean-local: package-clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,37 +1,41 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = $(TARGET_OS)
|
if LINUX
|
||||||
|
SUBDIRS = $(TARGET_OS)
|
||||||
DIST_SUBDIRS = linux
|
else
|
||||||
|
SUBDIRS =
|
||||||
CFILES =
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(CFILES)
|
DIST_SUBDIRS = linux
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
CFILES =
|
||||||
package package-clean package-install package-uninstall:
|
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
EXTRA_DIST = $(CFILES)
|
||||||
|
|
||||||
maintainer-clean-local:
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
rm -f Makefile.in
|
package package-clean package-install package-uninstall:
|
||||||
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
@ -1,37 +1,41 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = $(TARGET_OS) idenTokenProviders Svc
|
if LINUX
|
||||||
|
SUBDIRS = $(TARGET_OS) idenTokenProviders Svc
|
||||||
DIST_SUBDIRS = linux idenTokenProviders Svc
|
else
|
||||||
|
SUBDIRS =
|
||||||
CFILES =
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(CFILES) *.h
|
DIST_SUBDIRS = linux idenTokenProviders Svc
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
CFILES =
|
||||||
package package-clean package-install package-uninstall:
|
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
EXTRA_DIST = $(CFILES) *.h
|
||||||
|
|
||||||
maintainer-clean-local:
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
rm -f Makefile.in
|
package package-clean package-install package-uninstall:
|
||||||
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
@ -1,37 +1,41 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = $(TARGET_OS)
|
if LINUX
|
||||||
|
SUBDIRS = $(TARGET_OS)
|
||||||
DIST_SUBDIRS = linux
|
else
|
||||||
|
SUBDIRS =
|
||||||
CFILES =
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(CFILES)
|
DIST_SUBDIRS = linux
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
CFILES =
|
||||||
package package-clean package-install package-uninstall:
|
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
EXTRA_DIST = $(CFILES)
|
||||||
|
|
||||||
maintainer-clean-local:
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
rm -f Makefile.in
|
package package-clean package-install package-uninstall:
|
||||||
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
@ -1,37 +1,41 @@
|
|||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
# Copyright (C) 2006 Novell, Inc.
|
# Copyright (C) 2006 Novell, Inc.
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public
|
# modify it under the terms of the GNU General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2 of the License, or (at your option) any later version.
|
# version 2 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# General Public License for more details.
|
# General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public
|
# You should have received a copy of the GNU General Public
|
||||||
# License along with this program; if not, write to the Free
|
# License along with this program; if not, write to the Free
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
# Author: Juan Carlos Luciani <jluciani@novell.com>
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
SUBDIRS = $(TARGET_OS)
|
if LINUX
|
||||||
|
SUBDIRS = $(TARGET_OS)
|
||||||
DIST_SUBDIRS = linux
|
else
|
||||||
|
SUBDIRS =
|
||||||
CFILES =
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = $(CFILES)
|
DIST_SUBDIRS = linux
|
||||||
|
|
||||||
.PHONY: package package-clean package-install package-uninstall
|
CFILES =
|
||||||
package package-clean package-install package-uninstall:
|
|
||||||
$(MAKE) -C $(TARGET_OS) $@
|
EXTRA_DIST = $(CFILES)
|
||||||
|
|
||||||
maintainer-clean-local:
|
.PHONY: package package-clean package-install package-uninstall
|
||||||
rm -f Makefile.in
|
package package-clean package-install package-uninstall:
|
||||||
|
$(MAKE) -C $(TARGET_OS) $@
|
||||||
|
|
||||||
|
maintainer-clean-local:
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user