net-opensrs/trunk/Makefile
author mahlon
Fri, 05 Sep 2008 05:15:48 +0000
branchperl-modules
changeset 0 315eb12b224b
permissions -rw-r--r--
Reorganizing for Trac.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     1
# This Makefile is for the Net::OpenSRS extension to perl.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     2
#
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     3
# It was generated automatically by MakeMaker version
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     4
# 6.30 (Revision: Revision: 4535 ) from the contents of
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     5
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     6
#
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     7
#       ANY CHANGES MADE HERE WILL BE LOST!
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     8
#
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
     9
#   MakeMaker ARGV: ()
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    10
#
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    11
#   MakeMaker Parameters:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    12
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    13
#     ABSTRACT_FROM => q[lib/Net/OpenSRS.pm]
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    14
#     AUTHOR => q[Mahlon E. Smith <mahlon@martini.nu>]
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    15
#     NAME => q[Net::OpenSRS]
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    16
#     PL_FILES => {  }
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    17
#     PREREQ_PM => { Date::Calc=>q[0], Test::More=>q[0], LWP::UserAgent=>q[0], Digest::MD5=>q[0], XML::Simple=>q[0] }
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    18
#     VERSION_FROM => q[lib/Net/OpenSRS.pm]
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    19
#     clean => { FILES=>q[Net-OpenSRS-*] }
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    20
#     dist => { COMPRESS=>q[gzip -9f], SUFFIX=>q[gz] }
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    21
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    22
# --- MakeMaker post_initialize section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    23
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    24
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    25
# --- MakeMaker const_config section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    26
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    27
# These definitions are from config.sh (via /usr/local/lib/perl5/5.8.8/mach/Config.pm)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    28
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    29
# They may have been overridden via Makefile.PL or on the command line
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    30
AR = ar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    31
CC = cc
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    32
CCCDLFLAGS = -DPIC -fPIC
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    33
CCDLFLAGS =   -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    34
DLEXT = so
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    35
DLSRC = dl_dlopen.xs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    36
LD = cc
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    37
LDDLFLAGS = -shared  -L/usr/local/lib
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    38
LDFLAGS =  -Wl,-E -L/usr/local/lib
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    39
LIBC = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    40
LIB_EXT = .a
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    41
OBJ_EXT = .o
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    42
OSNAME = freebsd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    43
OSVERS = 6.1-beta4
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    44
RANLIB = :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    45
SITELIBEXP = /usr/local/lib/perl5/site_perl/5.8.8
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    46
SITEARCHEXP = /usr/local/lib/perl5/site_perl/5.8.8/mach
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    47
SO = so
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    48
EXE_EXT = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    49
FULL_AR = /usr/bin/ar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    50
VENDORARCHEXP = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    51
VENDORLIBEXP = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    52
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    53
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    54
# --- MakeMaker constants section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    55
AR_STATIC_ARGS = cr
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    56
DIRFILESEP = /
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    57
DFSEP = $(DIRFILESEP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    58
NAME = Net::OpenSRS
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    59
NAME_SYM = Net_OpenSRS
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    60
VERSION = 0.02
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    61
VERSION_MACRO = VERSION
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    62
VERSION_SYM = 0_02
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    63
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    64
XS_VERSION = 0.02
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    65
XS_VERSION_MACRO = XS_VERSION
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    66
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    67
INST_ARCHLIB = blib/arch
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    68
INST_SCRIPT = blib/script
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    69
INST_BIN = blib/bin
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    70
INST_LIB = blib/lib
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    71
INST_MAN1DIR = blib/man1
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    72
INST_MAN3DIR = blib/man3
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    73
MAN1EXT = 1
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    74
MAN3EXT = 3
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    75
INSTALLDIRS = site
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    76
DESTDIR = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    77
PREFIX = /usr/local
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    78
PERLPREFIX = /usr/local
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    79
SITEPREFIX = /usr/local
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    80
VENDORPREFIX = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    81
INSTALLPRIVLIB = /usr/local/lib/perl5/5.8.8
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    82
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    83
INSTALLSITELIB = /usr/local/lib/perl5/site_perl/5.8.8
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    84
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    85
INSTALLVENDORLIB = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    86
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    87
INSTALLARCHLIB = /usr/local/lib/perl5/5.8.8/mach
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    88
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    89
INSTALLSITEARCH = /usr/local/lib/perl5/site_perl/5.8.8/mach
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    90
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    91
INSTALLVENDORARCH = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    92
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    93
INSTALLBIN = /usr/local/bin
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    94
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    95
INSTALLSITEBIN = /usr/local/bin
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    96
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    97
INSTALLVENDORBIN = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    98
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
    99
INSTALLSCRIPT = /usr/local/bin
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   100
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   101
INSTALLMAN1DIR = /usr/local/man/man1
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   102
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   103
INSTALLSITEMAN1DIR = /usr/local/man/man1
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   104
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   105
INSTALLVENDORMAN1DIR = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   106
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   107
INSTALLMAN3DIR = /usr/local/lib/perl5/5.8.8/perl/man/man3
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   108
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   109
INSTALLSITEMAN3DIR = /usr/local/lib/perl5/5.8.8/man/man3
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   110
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   111
INSTALLVENDORMAN3DIR = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   112
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   113
PERL_LIB = /usr/local/lib/perl5/5.8.8
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   114
PERL_ARCHLIB = /usr/local/lib/perl5/5.8.8/mach
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   115
LIBPERL_A = libperl.a
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   116
FIRST_MAKEFILE = Makefile
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   117
MAKEFILE_OLD = Makefile.old
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   118
MAKE_APERL_FILE = Makefile.aperl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   119
PERLMAINCC = $(CC)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   120
PERL_INC = /usr/local/lib/perl5/5.8.8/mach/CORE
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   121
PERL = /usr/local/bin/perl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   122
FULLPERL = /usr/local/bin/perl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   123
ABSPERL = $(PERL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   124
PERLRUN = $(PERL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   125
FULLPERLRUN = $(FULLPERL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   126
ABSPERLRUN = $(ABSPERL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   127
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   128
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   129
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   130
PERL_CORE = 0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   131
PERM_RW = 644
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   132
PERM_RWX = 755
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   133
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   134
MAKEMAKER   = /usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   135
MM_VERSION  = 6.30
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   136
MM_REVISION = Revision: 4535 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   137
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   138
# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   139
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   140
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   141
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   142
FULLEXT = Net/OpenSRS
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   143
BASEEXT = OpenSRS
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   144
PARENT_NAME = Net
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   145
DLBASE = $(BASEEXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   146
VERSION_FROM = lib/Net/OpenSRS.pm
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   147
OBJECT = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   148
LDFROM = $(OBJECT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   149
LINKTYPE = dynamic
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   150
BOOTDEP = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   151
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   152
# Handy lists of source code files:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   153
XS_FILES = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   154
C_FILES  = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   155
O_FILES  = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   156
H_FILES  = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   157
MAN1PODS = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   158
MAN3PODS = lib/Net/OpenSRS.pm
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   159
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   160
# Where is the Config information that we are using/depend on
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   161
CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   162
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   163
# Where to build things
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   164
INST_LIBDIR      = $(INST_LIB)/Net
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   165
INST_ARCHLIBDIR  = $(INST_ARCHLIB)/Net
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   166
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   167
INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   168
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   169
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   170
INST_STATIC      = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   171
INST_DYNAMIC     = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   172
INST_BOOT        = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   173
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   174
# Extra linker info
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   175
EXPORT_LIST        = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   176
PERL_ARCHIVE       = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   177
PERL_ARCHIVE_AFTER = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   178
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   179
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   180
TO_INST_PM = lib/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   181
	lib/Net/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   182
	lib/Net/.arch-ids/OpenSRS.pm.id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   183
	lib/Net/OpenSRS.pm
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   184
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   185
PM_TO_BLIB = lib/Net/.arch-ids/OpenSRS.pm.id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   186
	blib/lib/Net/.arch-ids/OpenSRS.pm.id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   187
	lib/Net/OpenSRS.pm \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   188
	blib/lib/Net/OpenSRS.pm \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   189
	lib/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   190
	blib/lib/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   191
	lib/Net/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   192
	blib/lib/Net/.arch-ids/=id
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   193
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   194
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   195
# --- MakeMaker platform_constants section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   196
MM_Unix_VERSION = 1.50
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   197
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   198
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   199
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   200
# --- MakeMaker tool_autosplit section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   201
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   202
AUTOSPLITFILE = $(ABSPERLRUN)  -e 'use AutoSplit;  autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   203
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   204
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   205
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   206
# --- MakeMaker tool_xsubpp section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   207
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   208
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   209
# --- MakeMaker tools_other section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   210
SHELL = /bin/sh
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   211
CHMOD = chmod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   212
CP = cp
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   213
MV = mv
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   214
NOOP = $(SHELL) -c true
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   215
NOECHO = @
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   216
RM_F = rm -f
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   217
RM_RF = rm -rf
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   218
TEST_F = test -f
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   219
TOUCH = touch
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   220
UMASK_NULL = umask 0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   221
DEV_NULL = > /dev/null 2>&1
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   222
MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   223
EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   224
ECHO = echo
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   225
ECHO_N = echo -n
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   226
UNINST = 0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   227
VERBINST = 0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   228
MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   229
DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   230
UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   231
WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   232
MACROSTART = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   233
MACROEND = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   234
USEMAKEFILE = -f
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   235
FIXIN = $(PERLRUN) "-MExtUtils::MY" -e "MY->fixin(shift)"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   236
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   237
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   238
# --- MakeMaker makemakerdflt section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   239
makemakerdflt: all
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   240
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   241
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   242
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   243
# --- MakeMaker dist section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   244
TAR = tar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   245
TARFLAGS = cvf
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   246
ZIP = zip
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   247
ZIPFLAGS = -r
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   248
COMPRESS = gzip -9f
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   249
SUFFIX = gz
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   250
SHAR = shar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   251
PREOP = $(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   252
POSTOP = $(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   253
TO_UNIX = $(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   254
CI = ci -u
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   255
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   256
DIST_CP = best
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   257
DIST_DEFAULT = tardist
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   258
DISTNAME = Net-OpenSRS
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   259
DISTVNAME = Net-OpenSRS-0.02
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   260
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   261
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   262
# --- MakeMaker macro section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   263
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   264
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   265
# --- MakeMaker depend section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   266
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   267
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   268
# --- MakeMaker cflags section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   269
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   270
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   271
# --- MakeMaker const_loadlibs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   272
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   273
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   274
# --- MakeMaker const_cccmd section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   275
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   276
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   277
# --- MakeMaker post_constants section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   278
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   279
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   280
# --- MakeMaker pasthru section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   281
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   282
PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   283
	LINKTYPE="$(LINKTYPE)"\
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   284
	PREFIX="$(PREFIX)"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   285
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   286
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   287
# --- MakeMaker special_targets section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   288
.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   289
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   290
.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   291
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   292
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   293
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   294
# --- MakeMaker c_o section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   295
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   296
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   297
# --- MakeMaker xs_c section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   298
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   299
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   300
# --- MakeMaker xs_o section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   301
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   302
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   303
# --- MakeMaker top_targets section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   304
all :: pure_all manifypods
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   305
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   306
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   307
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   308
pure_all :: config pm_to_blib subdirs linkext
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   309
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   310
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   311
subdirs :: $(MYEXTLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   312
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   313
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   314
config :: $(FIRST_MAKEFILE) blibdirs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   315
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   316
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   317
help :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   318
	perldoc ExtUtils::MakeMaker
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   319
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   320
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   321
# --- MakeMaker blibdirs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   322
blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   323
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   324
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   325
# Backwards compat with 6.18 through 6.25
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   326
blibdirs.ts : blibdirs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   327
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   328
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   329
$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   330
	$(NOECHO) $(MKPATH) $(INST_LIBDIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   331
	$(NOECHO) $(CHMOD) 755 $(INST_LIBDIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   332
	$(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   333
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   334
$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   335
	$(NOECHO) $(MKPATH) $(INST_ARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   336
	$(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   337
	$(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   338
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   339
$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   340
	$(NOECHO) $(MKPATH) $(INST_AUTODIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   341
	$(NOECHO) $(CHMOD) 755 $(INST_AUTODIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   342
	$(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   343
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   344
$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   345
	$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   346
	$(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   347
	$(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   348
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   349
$(INST_BIN)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   350
	$(NOECHO) $(MKPATH) $(INST_BIN)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   351
	$(NOECHO) $(CHMOD) 755 $(INST_BIN)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   352
	$(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   353
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   354
$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   355
	$(NOECHO) $(MKPATH) $(INST_SCRIPT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   356
	$(NOECHO) $(CHMOD) 755 $(INST_SCRIPT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   357
	$(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   358
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   359
$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   360
	$(NOECHO) $(MKPATH) $(INST_MAN1DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   361
	$(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   362
	$(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   363
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   364
$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   365
	$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   366
	$(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   367
	$(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   368
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   369
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   370
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   371
# --- MakeMaker linkext section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   372
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   373
linkext :: $(LINKTYPE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   374
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   375
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   376
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   377
# --- MakeMaker dlsyms section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   378
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   379
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   380
# --- MakeMaker dynamic section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   381
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   382
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   383
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   384
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   385
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   386
# --- MakeMaker dynamic_bs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   387
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   388
BOOTSTRAP =
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   389
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   390
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   391
# --- MakeMaker dynamic_lib section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   392
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   393
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   394
# --- MakeMaker static section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   395
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   396
## $(INST_PM) has been moved to the all: target.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   397
## It remains here for awhile to allow for old usage: "make static"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   398
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   399
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   400
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   401
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   402
# --- MakeMaker static_lib section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   403
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   404
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   405
# --- MakeMaker manifypods section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   406
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   407
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   408
POD2MAN = $(POD2MAN_EXE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   409
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   410
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   411
manifypods : pure_all  \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   412
	lib/Net/OpenSRS.pm \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   413
	lib/Net/OpenSRS.pm
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   414
	$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   415
	  lib/Net/OpenSRS.pm $(INST_MAN3DIR)/Net::OpenSRS.$(MAN3EXT) 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   416
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   417
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   418
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   419
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   420
# --- MakeMaker processPL section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   421
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   422
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   423
# --- MakeMaker installbin section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   424
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   425
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   426
# --- MakeMaker subdirs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   427
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   428
# none
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   429
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   430
# --- MakeMaker clean_subdirs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   431
clean_subdirs :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   432
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   433
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   434
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   435
# --- MakeMaker clean section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   436
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   437
# Delete temporary files but do not touch installed files. We don't delete
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   438
# the Makefile here so a later make realclean still has a makefile to use.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   439
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   440
clean :: clean_subdirs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   441
	- $(RM_F) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   442
	  *$(LIB_EXT) core \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   443
	  core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   444
	  core.[0-9][0-9] $(BASEEXT).bso \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   445
	  pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   446
	  $(BASEEXT).x $(BOOTSTRAP) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   447
	  perl$(EXE_EXT) tmon.out \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   448
	  *$(OBJ_EXT) pm_to_blib \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   449
	  $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   450
	  core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   451
	  core.*perl.*.? $(MAKE_APERL_FILE) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   452
	  perl $(BASEEXT).def \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   453
	  core.[0-9][0-9][0-9] mon.out \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   454
	  lib$(BASEEXT).def perlmain.c \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   455
	  perl.exe so_locations \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   456
	  $(BASEEXT).exp 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   457
	- $(RM_RF) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   458
	  Net-OpenSRS-* blib 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   459
	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   460
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   461
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   462
# --- MakeMaker realclean_subdirs section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   463
realclean_subdirs :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   464
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   465
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   466
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   467
# --- MakeMaker realclean section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   468
# Delete temporary files (via clean) and also delete dist files
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   469
realclean purge ::  clean realclean_subdirs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   470
	- $(RM_F) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   471
	  $(MAKEFILE_OLD) $(FIRST_MAKEFILE) 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   472
	- $(RM_RF) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   473
	  $(DISTVNAME) 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   474
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   475
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   476
# --- MakeMaker metafile section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   477
metafile : create_distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   478
	$(NOECHO) $(ECHO) Generating META.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   479
	$(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-spec.html' > META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   480
	$(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   481
	$(NOECHO) $(ECHO) 'name:         Net-OpenSRS' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   482
	$(NOECHO) $(ECHO) 'version:      0.02' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   483
	$(NOECHO) $(ECHO) 'version_from: lib/Net/OpenSRS.pm' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   484
	$(NOECHO) $(ECHO) 'installdirs:  site' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   485
	$(NOECHO) $(ECHO) 'requires:' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   486
	$(NOECHO) $(ECHO) '    Date::Calc:                    0' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   487
	$(NOECHO) $(ECHO) '    Digest::MD5:                   0' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   488
	$(NOECHO) $(ECHO) '    LWP::UserAgent:                0' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   489
	$(NOECHO) $(ECHO) '    Test::More:                    0' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   490
	$(NOECHO) $(ECHO) '    XML::Simple:                   0' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   491
	$(NOECHO) $(ECHO) '' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   492
	$(NOECHO) $(ECHO) 'distribution_type: module' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   493
	$(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.30' >> META_new.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   494
	-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   495
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   496
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   497
# --- MakeMaker signature section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   498
signature :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   499
	cpansign -s
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   500
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   501
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   502
# --- MakeMaker dist_basics section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   503
distclean :: realclean distcheck
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   504
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   505
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   506
distcheck :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   507
	$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   508
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   509
skipcheck :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   510
	$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   511
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   512
manifest :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   513
	$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   514
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   515
veryclean : realclean
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   516
	$(RM_F) *~ *.orig */*~ */*.orig
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   517
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   518
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   519
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   520
# --- MakeMaker dist_core section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   521
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   522
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   523
	$(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   524
	  -e '    if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   525
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   526
tardist : $(DISTVNAME).tar$(SUFFIX)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   527
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   528
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   529
uutardist : $(DISTVNAME).tar$(SUFFIX)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   530
	uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   531
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   532
$(DISTVNAME).tar$(SUFFIX) : distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   533
	$(PREOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   534
	$(TO_UNIX)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   535
	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   536
	$(RM_RF) $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   537
	$(COMPRESS) $(DISTVNAME).tar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   538
	$(POSTOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   539
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   540
zipdist : $(DISTVNAME).zip
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   541
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   542
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   543
$(DISTVNAME).zip : distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   544
	$(PREOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   545
	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   546
	$(RM_RF) $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   547
	$(POSTOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   548
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   549
shdist : distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   550
	$(PREOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   551
	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   552
	$(RM_RF) $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   553
	$(POSTOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   554
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   555
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   556
# --- MakeMaker distdir section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   557
create_distdir :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   558
	$(RM_RF) $(DISTVNAME)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   559
	$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   560
		-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   561
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   562
distdir : create_distdir distmeta 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   563
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   564
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   565
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   566
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   567
# --- MakeMaker dist_test section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   568
disttest : distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   569
	cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   570
	cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   571
	cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   572
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   573
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   574
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   575
# --- MakeMaker dist_ci section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   576
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   577
ci :
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   578
	$(PERLRUN) "-MExtUtils::Manifest=maniread" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   579
	  -e "@all = keys %{ maniread() };" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   580
	  -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   581
	  -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   582
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   583
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   584
# --- MakeMaker distmeta section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   585
distmeta : create_distdir metafile
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   586
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   587
	  -e '    or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   588
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   589
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   590
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   591
# --- MakeMaker distsignature section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   592
distsignature : create_distdir
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   593
	$(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   594
	  -e '    or print "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}\n"'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   595
	$(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   596
	cd $(DISTVNAME) && cpansign -s
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   597
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   598
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   599
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   600
# --- MakeMaker install section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   601
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   602
install :: all pure_install doc_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   603
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   604
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   605
install_perl :: all pure_perl_install doc_perl_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   606
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   607
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   608
install_site :: all pure_site_install doc_site_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   609
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   610
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   611
install_vendor :: all pure_vendor_install doc_vendor_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   612
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   613
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   614
pure_install :: pure_$(INSTALLDIRS)_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   615
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   616
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   617
doc_install :: doc_$(INSTALLDIRS)_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   618
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   619
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   620
pure__install : pure_site_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   621
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   622
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   623
doc__install : doc_site_install
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   624
	$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   625
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   626
pure_perl_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   627
	$(NOECHO) $(MOD_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   628
		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   629
		write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   630
		$(INST_LIB) $(DESTINSTALLPRIVLIB) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   631
		$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   632
		$(INST_BIN) $(DESTINSTALLBIN) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   633
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   634
		$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   635
		$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   636
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   637
		$(SITEARCHEXP)/auto/$(FULLEXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   638
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   639
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   640
pure_site_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   641
	$(NOECHO) $(MOD_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   642
		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   643
		write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   644
		$(INST_LIB) $(DESTINSTALLSITELIB) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   645
		$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   646
		$(INST_BIN) $(DESTINSTALLSITEBIN) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   647
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   648
		$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   649
		$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   650
	$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   651
		$(PERL_ARCHLIB)/auto/$(FULLEXT)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   652
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   653
pure_vendor_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   654
	$(NOECHO) $(MOD_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   655
		read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   656
		write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   657
		$(INST_LIB) $(DESTINSTALLVENDORLIB) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   658
		$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   659
		$(INST_BIN) $(DESTINSTALLVENDORBIN) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   660
		$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   661
		$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   662
		$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   663
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   664
doc_perl_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   665
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   666
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   667
	-$(NOECHO) $(DOC_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   668
		"Module" "$(NAME)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   669
		"installed into" "$(INSTALLPRIVLIB)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   670
		LINKTYPE "$(LINKTYPE)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   671
		VERSION "$(VERSION)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   672
		EXE_FILES "$(EXE_FILES)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   673
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   674
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   675
doc_site_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   676
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   677
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   678
	-$(NOECHO) $(DOC_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   679
		"Module" "$(NAME)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   680
		"installed into" "$(INSTALLSITELIB)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   681
		LINKTYPE "$(LINKTYPE)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   682
		VERSION "$(VERSION)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   683
		EXE_FILES "$(EXE_FILES)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   684
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   685
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   686
doc_vendor_install ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   687
	$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   688
	-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   689
	-$(NOECHO) $(DOC_INSTALL) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   690
		"Module" "$(NAME)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   691
		"installed into" "$(INSTALLVENDORLIB)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   692
		LINKTYPE "$(LINKTYPE)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   693
		VERSION "$(VERSION)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   694
		EXE_FILES "$(EXE_FILES)" \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   695
		>> $(DESTINSTALLARCHLIB)/perllocal.pod
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   696
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   697
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   698
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   699
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   700
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   701
uninstall_from_perldirs ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   702
	$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   703
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   704
uninstall_from_sitedirs ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   705
	$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   706
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   707
uninstall_from_vendordirs ::
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   708
	$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   709
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   710
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   711
# --- MakeMaker force section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   712
# Phony target to force checking subdirectories.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   713
FORCE:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   714
	$(NOECHO) $(NOOP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   715
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   716
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   717
# --- MakeMaker perldepend section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   718
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   719
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   720
# --- MakeMaker makefile section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   721
# We take a very conservative approach here, but it's worth it.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   722
# We move Makefile to Makefile.old here to avoid gnu make looping.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   723
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   724
	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   725
	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   726
	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   727
	-$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   728
	- $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   729
	$(PERLRUN) Makefile.PL 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   730
	$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   731
	$(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   732
	false
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   733
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   734
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   735
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   736
# --- MakeMaker staticmake section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   737
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   738
# --- MakeMaker makeaperl section ---
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   739
MAP_TARGET    = perl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   740
FULLPERL      = /usr/local/bin/perl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   741
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   742
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   743
	$(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   744
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   745
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   746
	$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   747
	$(NOECHO) $(PERLRUNINST) \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   748
		Makefile.PL DIR= \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   749
		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   750
		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   751
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   752
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   753
# --- MakeMaker test section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   754
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   755
TEST_VERBOSE=0
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   756
TEST_TYPE=test_$(LINKTYPE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   757
TEST_FILE = test.pl
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   758
TEST_FILES = 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   759
TESTDB_SW = -d
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   760
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   761
testdb :: testdb_$(LINKTYPE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   762
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   763
test :: $(TEST_TYPE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   764
	$(NOECHO) $(ECHO) 'No tests defined for $(NAME) extension.'
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   765
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   766
test_dynamic :: pure_all
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   767
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   768
testdb_dynamic :: pure_all
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   769
	PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   770
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   771
test_ : test_dynamic
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   772
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   773
test_static :: test_dynamic
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   774
testdb_static :: testdb_dynamic
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   775
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   776
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   777
# --- MakeMaker ppd section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   778
# Creates a PPD (Perl Package Description) for a binary distribution.
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   779
ppd:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   780
	$(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,02,0,0">' > $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   781
	$(NOECHO) $(ECHO) '    <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   782
	$(NOECHO) $(ECHO) '    <ABSTRACT></ABSTRACT>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   783
	$(NOECHO) $(ECHO) '    <AUTHOR>Mahlon E. Smith &lt;mahlon@martini.nu&gt;</AUTHOR>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   784
	$(NOECHO) $(ECHO) '    <IMPLEMENTATION>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   785
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Date-Calc" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   786
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Digest-MD5" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   787
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="LWP-UserAgent" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   788
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="Test-More" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   789
	$(NOECHO) $(ECHO) '        <DEPENDENCY NAME="XML-Simple" VERSION="0,0,0,0" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   790
	$(NOECHO) $(ECHO) '        <OS NAME="$(OSNAME)" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   791
	$(NOECHO) $(ECHO) '        <ARCHITECTURE NAME="i386-freebsd-64int" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   792
	$(NOECHO) $(ECHO) '        <CODEBASE HREF="" />' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   793
	$(NOECHO) $(ECHO) '    </IMPLEMENTATION>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   794
	$(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   795
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   796
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   797
# --- MakeMaker pm_to_blib section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   798
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   799
pm_to_blib : $(TO_INST_PM)
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   800
	$(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')' \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   801
	  lib/Net/.arch-ids/OpenSRS.pm.id blib/lib/Net/.arch-ids/OpenSRS.pm.id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   802
	  lib/Net/OpenSRS.pm blib/lib/Net/OpenSRS.pm \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   803
	  lib/.arch-ids/=id blib/lib/.arch-ids/=id \
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   804
	  lib/Net/.arch-ids/=id blib/lib/Net/.arch-ids/=id 
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   805
	$(NOECHO) $(TOUCH) pm_to_blib
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   806
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   807
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   808
# --- MakeMaker selfdocument section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   809
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   810
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   811
# --- MakeMaker postamble section:
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   812
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   813
315eb12b224b Reorganizing for Trac.
mahlon
parents:
diff changeset
   814
# End.