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