[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3master/usr/src/Encode-compat-0.05/ -> Makefile (source)

   1  # This Makefile is for the Encode::compat extension to perl.
   2  #
   3  # It was generated automatically by MakeMaker version
   4  # 5.45 (Revision: 1.222) 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 => q[Encode.pm compatibility layer]
  14  #    AUTHOR => q[Autrijus Tang (autrijus@autrijus.org)]
  15  #    BINARY_LOCATION => q[x86/Encode-compat.tar.gz]
  16  #    DISTNAME => q[Encode-compat]
  17  #    NAME => q[Encode::compat]
  18  #    PREREQ_PM => { Text::Iconv=>q[0] }
  19  #    VERSION_FROM => q[lib/Encode/compat.pm]
  20  #    dist => { COMPRESS=>q[gzip -9], 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/lib/perl/5.6.1/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 = -fPIC
  33  CCDLFLAGS = -rdynamic
  34  DLEXT = so
  35  DLSRC = dl_dlopen.xs
  36  LD = cc
  37  LDDLFLAGS = -shared -L/usr/local/lib
  38  LDFLAGS =  -L/usr/local/lib
  39  LIBC = /lib/libc-2.2.5.so
  40  LIB_EXT = .a
  41  OBJ_EXT = .o
  42  OSNAME = linux
  43  OSVERS = 2.4.20-7um
  44  RANLIB = :
  45  SO = so
  46  EXE_EXT = 
  47  FULL_AR = /usr/bin/ar
  48  
  49  
  50  # --- MakeMaker constants section:
  51  AR_STATIC_ARGS = cr
  52  NAME = Encode::compat
  53  DISTNAME = Encode-compat
  54  NAME_SYM = Encode_compat
  55  VERSION = 0.05
  56  VERSION_SYM = 0_05
  57  XS_VERSION = 0.05
  58  INST_BIN = blib/bin
  59  INST_EXE = blib/script
  60  INST_LIB = blib/lib
  61  INST_ARCHLIB = blib/arch
  62  INST_SCRIPT = blib/script
  63  PREFIX = /usr
  64  SITEPREFIX = $(PREFIX)/local
  65  INSTALLDIRS = site
  66  INSTALLPRIVLIB = $(PREFIX)/share/perl/5.6.1
  67  INSTALLARCHLIB = $(PREFIX)/lib/perl/5.6.1
  68  INSTALLSITELIB = $(SITEPREFIX)/share/perl/5.6.1
  69  INSTALLSITEARCH = $(SITEPREFIX)/lib/perl/5.6.1
  70  INSTALLVENDORLIB = $(PREFIX)/share/perl5
  71  INSTALLVENDORARCH = $(PREFIX)/lib/perl5
  72  INSTALLBIN = $(PREFIX)/bin
  73  INSTALLSCRIPT = $(PREFIX)/bin
  74  INSTALLSITEBIN = $(SITEPREFIX)/bin
  75  PERL_LIB = /usr/share/perl/5.6.1
  76  PERL_ARCHLIB = /usr/lib/perl/5.6.1
  77  SITELIBEXP = /usr/local/share/perl/5.6.1
  78  SITEARCHEXP = /usr/local/lib/perl/5.6.1
  79  LIBPERL_A = libperl.a
  80  FIRST_MAKEFILE = Makefile
  81  MAKE_APERL_FILE = Makefile.aperl
  82  PERLMAINCC = $(CC)
  83  PERL_INC = /usr/lib/perl/5.6.1/CORE
  84  PERL = /usr/bin/perl
  85  FULLPERL = /usr/bin/perl
  86  FULL_AR = /usr/bin/ar
  87  
  88  VERSION_MACRO = VERSION
  89  DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
  90  XS_VERSION_MACRO = XS_VERSION
  91  XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
  92  PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
  93  
  94  MAKEMAKER = /usr/share/perl/5.6.1/ExtUtils/MakeMaker.pm
  95  MM_VERSION = 5.45
  96  
  97  # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
  98  # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
  99  # ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD)  !!! Deprecated from MM 5.32  !!!
 100  # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
 101  # DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
 102  FULLEXT = Encode/compat
 103  BASEEXT = compat
 104  PARENT_NAME = Encode
 105  DLBASE = $(BASEEXT)
 106  VERSION_FROM = lib/Encode/compat.pm
 107  OBJECT = 
 108  LDFROM = $(OBJECT)
 109  LINKTYPE = dynamic
 110  
 111  # Handy lists of source code files:
 112  XS_FILES= 
 113  C_FILES = 
 114  O_FILES = 
 115  H_FILES = 
 116  HTMLLIBPODS    = 
 117  HTMLSCRIPTPODS = 
 118  MAN1PODS = 
 119  MAN3PODS = lib/Encode/compat.pm \
 120      lib/Encode/compat/Alias.pm
 121  HTMLEXT = html
 122  INST_MAN1DIR = blib/man1
 123  INSTALLMAN1DIR = $(PREFIX)/share/man/man1
 124  INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
 125  MAN1EXT = 1p
 126  INST_MAN3DIR = blib/man3
 127  INSTALLMAN3DIR = $(PREFIX)/share/man/man3
 128  INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
 129  MAN3EXT = 3pm
 130  PERM_RW = 644
 131  PERM_RWX = 755
 132  
 133  # work around a famous dec-osf make(1) feature(?):
 134  makemakerdflt: all
 135  
 136  .SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT)
 137  
 138  # Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, that
 139  # some make implementations will delete the Makefile when we rebuild it. Because
 140  # we call false(1) when we rebuild it. So make(1) is not completely wrong when it
 141  # does so. Our milage may vary.
 142  # .PRECIOUS: Makefile    # seems to be not necessary anymore
 143  
 144  .PHONY: all config static dynamic test linkext manifest
 145  
 146  # Where is the Config information that we are using/depend on
 147  CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h
 148  
 149  # Where to put things:
 150  INST_LIBDIR      = $(INST_LIB)/Encode
 151  INST_ARCHLIBDIR  = $(INST_ARCHLIB)/Encode
 152  
 153  INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
 154  INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
 155  
 156  INST_STATIC  =
 157  INST_DYNAMIC =
 158  INST_BOOT    =
 159  
 160  EXPORT_LIST = 
 161  
 162  PERL_ARCHIVE = 
 163  
 164  PERL_ARCHIVE_AFTER = 
 165  
 166  TO_INST_PM = lib/Encode/compat.pm \
 167      lib/Encode/compat/5006001.pm \
 168      lib/Encode/compat/Alias.pm \
 169      lib/Encode/compat/common.pm
 170  
 171  PM_TO_BLIB = lib/Encode/compat/5006001.pm \
 172      $(INST_LIB)/Encode/compat/5006001.pm \
 173      lib/Encode/compat/common.pm \
 174      $(INST_LIB)/Encode/compat/common.pm \
 175      lib/Encode/compat/Alias.pm \
 176      $(INST_LIB)/Encode/compat/Alias.pm \
 177      lib/Encode/compat.pm \
 178      $(INST_LIB)/Encode/compat.pm
 179  
 180  
 181  # --- MakeMaker tool_autosplit section:
 182  
 183  # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
 184  AUTOSPLITFILE = $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -e 'use AutoSplit;autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1) ;'
 185  
 186  
 187  # --- MakeMaker tool_xsubpp section:
 188  
 189  
 190  # --- MakeMaker tools_other section:
 191  
 192  SHELL = /bin/sh
 193  CHMOD = chmod
 194  CP = cp
 195  LD = cc
 196  MV = mv
 197  NOOP = $(SHELL) -c true
 198  RM_F = rm -f
 199  RM_RF = rm -rf
 200  TEST_F = test -f
 201  TOUCH = touch
 202  UMASK_NULL = umask 0
 203  DEV_NULL = > /dev/null 2>&1
 204  
 205  # The following is a portable way to say mkdir -p
 206  # To see which directories are created, change the if 0 to if 1
 207  MKPATH = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e mkpath
 208  
 209  # This helps us to minimize the effect of the .exists files A yet
 210  # better solution would be to have a stable file in the perl
 211  # distribution with a timestamp of zero. But this solution doesn't
 212  # need any changes to the core distribution and works with older perls
 213  EQUALIZE_TIMESTAMP = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e eqtime
 214  
 215  # Here we warn users that an old packlist file was found somewhere,
 216  # and that they should call some uninstall routine
 217  WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \
 218  -e 'print "WARNING: I have found an old package in\n";' \
 219  -e 'print "\t$$ARGV[0].\n";' \
 220  -e 'print "Please make sure the two installations are not conflicting\n";'
 221  
 222  UNINST=0
 223  VERBINST=0
 224  
 225  MOD_INSTALL = $(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MExtUtils::Install \
 226  -e "install({@ARGV},'$(VERBINST)',0,'$(UNINST)');"
 227  
 228  DOC_INSTALL = $(PERL) -e '$$\="\n\n";' \
 229  -e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<", $$arg=shift, "|", $$arg, ">";' \
 230  -e 'print "=over 4";' \
 231  -e 'while (defined($$key = shift) and defined($$val = shift)){print "=item *";print "C<$$key: $$val>";}' \
 232  -e 'print "=back";'
 233  
 234  UNINSTALL =   $(PERL) -MExtUtils::Install \
 235  -e 'uninstall($$ARGV[0],1,1); print "\nUninstall is deprecated. Please check the";' \
 236  -e 'print " packlist above carefully.\n  There may be errors. Remove the";' \
 237  -e 'print " appropriate files manually.\n  Sorry for the inconveniences.\n"'
 238  
 239  
 240  # --- MakeMaker dist section:
 241  
 242  DISTVNAME = $(DISTNAME)-$(VERSION)
 243  TAR  = tar
 244  TARFLAGS = cvf
 245  ZIP  = zip
 246  ZIPFLAGS = -r
 247  COMPRESS = gzip -9
 248  SUFFIX = .gz
 249  SHAR = shar
 250  PREOP = @$(NOOP)
 251  POSTOP = @$(NOOP)
 252  TO_UNIX = @$(NOOP)
 253  CI = ci -u
 254  RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
 255  DIST_CP = best
 256  DIST_DEFAULT = tardist
 257  
 258  
 259  # --- MakeMaker macro section:
 260  
 261  
 262  # --- MakeMaker depend section:
 263  
 264  
 265  # --- MakeMaker cflags section:
 266  
 267  
 268  # --- MakeMaker const_loadlibs section:
 269  
 270  
 271  # --- MakeMaker const_cccmd section:
 272  
 273  
 274  # --- MakeMaker post_constants section:
 275  
 276  
 277  # --- MakeMaker pasthru section:
 278  
 279  PASTHRU = LIB="$(LIB)"\
 280      LIBPERL_A="$(LIBPERL_A)"\
 281      LINKTYPE="$(LINKTYPE)"\
 282      PREFIX="$(PREFIX)"\
 283      OPTIMIZE="$(OPTIMIZE)"
 284  
 285  
 286  # --- MakeMaker c_o section:
 287  
 288  
 289  # --- MakeMaker xs_c section:
 290  
 291  
 292  # --- MakeMaker xs_o section:
 293  
 294  
 295  # --- MakeMaker top_targets section:
 296  
 297  #all ::    config $(INST_PM) subdirs linkext manifypods
 298  
 299  all :: pure_all htmlifypods manifypods
 300      @$(NOOP)
 301  
 302  pure_all :: config pm_to_blib subdirs linkext
 303      @$(NOOP)
 304  
 305  subdirs :: $(MYEXTLIB)
 306      @$(NOOP)
 307  
 308  config :: Makefile $(INST_LIBDIR)/.exists
 309      @$(NOOP)
 310  
 311  config :: $(INST_ARCHAUTODIR)/.exists
 312      @$(NOOP)
 313  
 314  config :: $(INST_AUTODIR)/.exists
 315      @$(NOOP)
 316  
 317  $(INST_AUTODIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
 318      @$(MKPATH) $(INST_AUTODIR)
 319      @$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_AUTODIR)/.exists
 320  
 321      -@$(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
 322  
 323  $(INST_LIBDIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
 324      @$(MKPATH) $(INST_LIBDIR)
 325      @$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_LIBDIR)/.exists
 326  
 327      -@$(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
 328  
 329  $(INST_ARCHAUTODIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
 330      @$(MKPATH) $(INST_ARCHAUTODIR)
 331      @$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
 332  
 333      -@$(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
 334  
 335  config :: $(INST_MAN3DIR)/.exists
 336      @$(NOOP)
 337  
 338  
 339  $(INST_MAN3DIR)/.exists :: /usr/lib/perl/5.6.1/CORE/perl.h
 340      @$(MKPATH) $(INST_MAN3DIR)
 341      @$(EQUALIZE_TIMESTAMP) /usr/lib/perl/5.6.1/CORE/perl.h $(INST_MAN3DIR)/.exists
 342  
 343      -@$(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
 344  
 345  help:
 346      perldoc ExtUtils::MakeMaker
 347  
 348  Version_check:
 349      @$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
 350          -MExtUtils::MakeMaker=Version_check \
 351          -e "Version_check('$(MM_VERSION)')"
 352  
 353  
 354  # --- MakeMaker linkext section:
 355  
 356  linkext :: $(LINKTYPE)
 357      @$(NOOP)
 358  
 359  
 360  # --- MakeMaker dlsyms section:
 361  
 362  
 363  # --- MakeMaker dynamic section:
 364  
 365  ## $(INST_PM) has been moved to the all: target.
 366  ## It remains here for awhile to allow for old usage: "make dynamic"
 367  #dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
 368  dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
 369      @$(NOOP)
 370  
 371  
 372  # --- MakeMaker dynamic_bs section:
 373  
 374  BOOTSTRAP =
 375  
 376  
 377  # --- MakeMaker dynamic_lib section:
 378  
 379  
 380  # --- MakeMaker static section:
 381  
 382  ## $(INST_PM) has been moved to the all: target.
 383  ## It remains here for awhile to allow for old usage: "make static"
 384  #static :: Makefile $(INST_STATIC) $(INST_PM)
 385  static :: Makefile $(INST_STATIC)
 386      @$(NOOP)
 387  
 388  
 389  # --- MakeMaker static_lib section:
 390  
 391  
 392  # --- MakeMaker htmlifypods section:
 393  
 394  htmlifypods : pure_all
 395      @$(NOOP)
 396  
 397  
 398  # --- MakeMaker manifypods section:
 399  POD2MAN_EXE = /usr/bin/pod2man
 400  POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
 401  -e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
 402  -e 'print "Manifying $$m{$$_}\n";' \
 403  -e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
 404  -e 'chmod(oct($(PERM_RW))), $$m{$$_} or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
 405  
 406  manifypods : pure_all lib/Encode/compat/Alias.pm \
 407      lib/Encode/compat.pm
 408      @$(POD2MAN) \
 409      lib/Encode/compat/Alias.pm \
 410      $(INST_MAN3DIR)/Encode::compat::Alias.$(MAN3EXT) \
 411      lib/Encode/compat.pm \
 412      $(INST_MAN3DIR)/Encode::compat.$(MAN3EXT)
 413  
 414  # --- MakeMaker processPL section:
 415  
 416  
 417  # --- MakeMaker installbin section:
 418  
 419  
 420  # --- MakeMaker subdirs section:
 421  
 422  # none
 423  
 424  # --- MakeMaker clean section:
 425  
 426  # Delete temporary files but do not touch installed files. We don't delete
 427  # the Makefile here so a later make realclean still has a makefile to use.
 428  
 429  clean ::
 430      -rm -rf ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all perlmain.c mon.out core core.*perl.*.? *perl.core so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def $(BASEEXT).exp
 431      -mv Makefile Makefile.old $(DEV_NULL)
 432  
 433  
 434  # --- MakeMaker realclean section:
 435  
 436  # Delete temporary files (via clean) and also delete installed files
 437  realclean purge ::  clean
 438      rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
 439      rm -f  $(INST_LIB)/Encode/compat/5006001.pm $(INST_LIB)/Encode/compat/common.pm
 440      rm -f $(INST_LIB)/Encode/compat/Alias.pm $(INST_LIB)/Encode/compat.pm
 441      rm -rf Makefile Makefile.old
 442  
 443  
 444  # --- MakeMaker dist_basics section:
 445  
 446  distclean :: realclean distcheck
 447  
 448  distcheck :
 449      $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=fullcheck \
 450          -e fullcheck
 451  
 452  skipcheck :
 453      $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=skipcheck \
 454          -e skipcheck
 455  
 456  manifest :
 457      $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=mkmanifest \
 458          -e mkmanifest
 459  
 460  veryclean : realclean
 461      $(RM_F) *~ *.orig */*~ */*.orig
 462  
 463  
 464  # --- MakeMaker dist_core section:
 465  
 466  dist : $(DIST_DEFAULT)
 467      @$(PERL) -le 'print "Warning: Makefile possibly out of date with $$vf" if ' \
 468          -e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M "Makefile";'
 469  
 470  tardist : $(DISTVNAME).tar$(SUFFIX)
 471  
 472  zipdist : $(DISTVNAME).zip
 473  
 474  $(DISTVNAME).tar$(SUFFIX) : distdir
 475      $(PREOP)
 476      $(TO_UNIX)
 477      $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
 478      $(RM_RF) $(DISTVNAME)
 479      $(COMPRESS) $(DISTVNAME).tar
 480      $(POSTOP)
 481  
 482  $(DISTVNAME).zip : distdir
 483      $(PREOP)
 484      $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
 485      $(RM_RF) $(DISTVNAME)
 486      $(POSTOP)
 487  
 488  uutardist : $(DISTVNAME).tar$(SUFFIX)
 489      uuencode $(DISTVNAME).tar$(SUFFIX) \
 490          $(DISTVNAME).tar$(SUFFIX) > \
 491          $(DISTVNAME).tar$(SUFFIX)_uu
 492  
 493  shdist : distdir
 494      $(PREOP)
 495      $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
 496      $(RM_RF) $(DISTVNAME)
 497      $(POSTOP)
 498  
 499  
 500  # --- MakeMaker dist_dir section:
 501  
 502  distdir :
 503      $(RM_RF) $(DISTVNAME)
 504      $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=manicopy,maniread \
 505          -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
 506  
 507  
 508  # --- MakeMaker dist_test section:
 509  
 510  disttest : distdir
 511      cd $(DISTVNAME) && $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) Makefile.PL
 512      cd $(DISTVNAME) && $(MAKE)
 513      cd $(DISTVNAME) && $(MAKE) test
 514  
 515  
 516  # --- MakeMaker dist_ci section:
 517  
 518  ci :
 519      $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=maniread \
 520          -e "@all = keys %{ maniread() };" \
 521          -e 'print("Executing $(CI) @all\n"); system("$(CI) @all");' \
 522          -e 'print("Executing $(RCS_LABEL) ...\n"); system("$(RCS_LABEL) @all");'
 523  
 524  
 525  # --- MakeMaker install section:
 526  
 527  install :: all pure_install doc_install
 528  
 529  install_perl :: all pure_perl_install doc_perl_install
 530  
 531  install_site :: all pure_site_install doc_site_install
 532  
 533  install_vendor :: all pure_vendor_install doc_vendor_install
 534  
 535  install_ :: install_site
 536      @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
 537  
 538  pure_install :: pure_$(INSTALLDIRS)_install
 539  
 540  doc_install :: doc_$(INSTALLDIRS)_install
 541  
 542  pure__install : pure_site_install
 543      @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
 544  
 545  doc__install : doc_site_install
 546      @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
 547  
 548  pure_perl_install ::
 549      @umask 022; $(MOD_INSTALL) \
 550          read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
 551          write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
 552          $(INST_LIB) $(INSTALLPRIVLIB) \
 553          $(INST_ARCHLIB) $(INSTALLARCHLIB) \
 554          $(INST_BIN) $(INSTALLBIN) \
 555          $(INST_SCRIPT) $(INSTALLSCRIPT) \
 556          $(INST_HTMLLIBDIR) $(INSTALLHTMLPRIVLIBDIR) \
 557          $(INST_HTMLSCRIPTDIR) $(INSTALLHTMLSCRIPTDIR) \
 558          $(INST_MAN1DIR) $(INSTALLMAN1DIR) \
 559          $(INST_MAN3DIR) $(INSTALLMAN3DIR)
 560      @$(WARN_IF_OLD_PACKLIST) \
 561          $(SITEARCHEXP)/auto/$(FULLEXT)
 562  
 563  
 564  pure_site_install ::
 565      @umask 02; $(MOD_INSTALL) \
 566          read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
 567          write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
 568          $(INST_LIB) $(INSTALLSITELIB) \
 569          $(INST_ARCHLIB) $(INSTALLSITEARCH) \
 570          $(INST_BIN) $(INSTALLSITEBIN) \
 571          $(INST_SCRIPT) $(INSTALLSITEBIN) \
 572          $(INST_MAN1DIR) $(INSTALLSITEMAN1DIR) \
 573          $(INST_MAN3DIR) $(INSTALLSITEMAN3DIR)
 574      @$(WARN_IF_OLD_PACKLIST) \
 575          $(PERL_ARCHLIB)/auto/$(FULLEXT)
 576  
 577  
 578  pure_vendor_install ::
 579      @umask 022; $(MOD_INSTALL) \
 580          $(INST_LIB) $(INSTALLVENDORLIB) \
 581          $(INST_ARCHLIB) $(INSTALLVENDORARCH) \
 582          $(INST_BIN) $(INSTALLBIN) \
 583          $(INST_SCRIPT) $(INSTALLSCRIPT) \
 584          $(INST_MAN1DIR) $(INSTALLMAN1DIR) \
 585          $(INST_MAN3DIR) $(INSTALLMAN3DIR)
 586  
 587  doc_perl_install ::
 588      @echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod
 589      -@umask 022; $(MKPATH) $(INSTALLARCHLIB)
 590      -@umask 022; $(DOC_INSTALL) \
 591          "Module" "$(NAME)" \
 592          "installed into" "$(INSTALLPRIVLIB)" \
 593          LINKTYPE "$(LINKTYPE)" \
 594          VERSION "$(VERSION)" \
 595          EXE_FILES "$(EXE_FILES)" \
 596          >> $(INSTALLARCHLIB)/perllocal.pod
 597  
 598  doc_site_install ::
 599      @echo Appending installation info to $(INSTALLSITEARCH)/perllocal.pod
 600      -@umask 02; $(MKPATH) $(INSTALLSITEARCH)
 601      -@umask 02; $(DOC_INSTALL) \
 602          "Module" "$(NAME)" \
 603          "installed into" "$(INSTALLSITELIB)" \
 604          LINKTYPE "$(LINKTYPE)" \
 605          VERSION "$(VERSION)" \
 606          EXE_FILES "$(EXE_FILES)" \
 607          >> $(INSTALLSITEARCH)/perllocal.pod
 608  
 609  doc_vendor_install ::
 610  
 611  
 612  uninstall :: uninstall_from_$(INSTALLDIRS)dirs
 613  
 614  uninstall_from_perldirs ::
 615      @$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
 616  
 617  uninstall_from_sitedirs ::
 618      @$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
 619  
 620  
 621  # --- MakeMaker force section:
 622  # Phony target to force checking subdirectories.
 623  FORCE:
 624      @$(NOOP)
 625  
 626  
 627  # --- MakeMaker perldepend section:
 628  
 629  
 630  # --- MakeMaker makefile section:
 631  
 632  # We take a very conservative approach here, but it\'s worth it.
 633  # We move Makefile to Makefile.old here to avoid gnu make looping.
 634  Makefile : Makefile.PL $(CONFIGDEP)
 635      @echo "Makefile out-of-date with respect to $?"
 636      @echo "Cleaning current config before rebuilding Makefile..."
 637      -@$(RM_F) Makefile.old
 638      -@$(MV) Makefile Makefile.old
 639      -$(MAKE) -f Makefile.old clean $(DEV_NULL) || $(NOOP)
 640      $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL 
 641      @echo "==> Your Makefile has been rebuilt. <=="
 642      @echo "==> Please rerun the make command.  <=="
 643      false
 644  
 645  # To change behavior to :: would be nice, but would break Tk b9.02
 646  # so you find such a warning below the dist target.
 647  #Makefile :: $(VERSION_FROM)
 648  #    @echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"
 649  
 650  
 651  # --- MakeMaker staticmake section:
 652  
 653  # --- MakeMaker makeaperl section ---
 654  MAP_TARGET    = perl
 655  FULLPERL      = /usr/bin/perl
 656  
 657  $(MAP_TARGET) :: static $(MAKE_APERL_FILE)
 658      $(MAKE) -f $(MAKE_APERL_FILE) $@
 659  
 660  $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
 661      @echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
 662      @$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
 663          Makefile.PL DIR= \
 664          MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
 665          MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
 666  
 667  
 668  # --- MakeMaker test section:
 669  
 670  TEST_VERBOSE=0
 671  TEST_TYPE=test_$(LINKTYPE)
 672  TEST_FILE = test.pl
 673  TEST_FILES = t/*.t
 674  TESTDB_SW = -d
 675  
 676  testdb :: testdb_$(LINKTYPE)
 677  
 678  test :: $(TEST_TYPE)
 679  
 680  test_dynamic :: pure_all
 681      PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' $(TEST_FILES)
 682  
 683  testdb_dynamic :: pure_all
 684      PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
 685  
 686  test_ : test_dynamic
 687  
 688  test_static :: test_dynamic
 689  testdb_static :: testdb_dynamic
 690  
 691  
 692  # --- MakeMaker ppd section:
 693  # Creates a PPD (Perl Package Description) for a binary distribution.
 694  ppd:
 695      @$(PERL) -e "print qq{<SOFTPKG NAME=\"Encode-compat\" VERSION=\"0,05,0,0\">\n}. qq{\t<TITLE>Encode-compat</TITLE>\n}. qq{\t<ABSTRACT>Encode.pm compatibility layer</ABSTRACT>\n}. qq{\t<AUTHOR>Autrijus Tang (autrijus\@autrijus.org)</AUTHOR>\n}. qq{\t<IMPLEMENTATION>\n}. qq{\t\t<DEPENDENCY NAME=\"Text-Iconv\" VERSION=\"0,0,0,0\" />\n}. qq{\t\t<OS NAME=\"$(OSNAME)\" />\n}. qq{\t\t<ARCHITECTURE NAME=\"i386-linux\" />\n}. qq{\t\t<CODEBASE HREF=\"x86/Encode-compat.tar.gz\" />\n}. qq{\t</IMPLEMENTATION>\n}. qq{</SOFTPKG>\n}" > Encode-compat.ppd
 696  
 697  # --- MakeMaker pm_to_blib section:
 698  
 699  pm_to_blib: $(TO_INST_PM)
 700      @$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
 701      "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
 702          -e "pm_to_blib({qw{$(PM_TO_BLIB)}},'$(INST_LIB)/auto','$(PM_FILTER)')"
 703      @$(TOUCH) $@
 704  
 705  
 706  # --- MakeMaker selfdocument section:
 707  
 708  
 709  # --- MakeMaker postamble section:
 710  
 711  
 712  # End.


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1