# Copyright (c) 1997-2004, Perforce Software, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL PERFORCE SOFTWARE, INC. BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. use ExtUtils::MakeMaker; use English; use Config; # Parent passes down options my $opts = $_[0]; WriteMakefile ( NAME => 'P4::Client::lib', SKIP => [qw(all static static_lib dynamic dynamic_lib)], DEFINE => $opts->{'DEFINE'}, INC => $opts->{'INC'}, CC => $opts->{'CC'}, clean => {'FILES' => 'libp4$(LIBEEXT)'}, ); sub MY::top_targets { my $header = ' all :: static pure_all :: static static :: libp4$(LIB_EXT) libp4$(LIB_EXT): $(O_FILES) '; my $trailer; if( $^O eq "MSWin32" ) { $trailer = ' $(AR) /OUT:libp4$(LIB_EXT) $(O_FILES)'; } else { $trailer = ' $(AR) cr libp4$(LIB_EXT) $(O_FILES)'; } $header . $trailer; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 4158 | Tony Smith |
Copyright notice updates. No functional change. |
||
#1 | 1011 | Tony Smith |
Moved Perl API stuff one level down to make way for upcoming Ruby interface. |
||
//guest/tony_smith/perforce/API/P4-Client/lib/Makefile.PL | |||||
#1 | 549 | Tony Smith |
Renamed the working directory to P4-Client as I've discovered that MakeMaker is quite happy with that and doesn't require a version number in the directory name. |
||
//guest/tony_smith/perforce/API/P4-Client-0.51/lib/Makefile.PL | |||||
#1 | 527 | Tony Smith | Release P4::Client version 0.51 with Win32 support | ||
//guest/tony_smith/perforce/API/P4-Client-0.50/lib/Makefile.PL | |||||
#2 | 526 | Tony Smith | Initial port of P4::Client interface to Win32. | ||
#1 | 509 | Tony Smith |
Renamed P4::ClientApi to P4::Client as it's more friendly and that's what it's called on CPAN. Subsequent changes include the actual renaming inside the code, this just creates the branch |
||
//guest/tony_smith/perforce/API/P4-ClientApi-0.05/lib/Makefile.PL | |||||
#1 | 501 | Tony Smith |
First publicly released version of the Perl interface to the Perforce API. |