1*7639e918Smillert# $OpenBSD: Makefile.bsd-wrapper,v 1.71 2006/11/09 21:31:12 millert Exp $ 24a4f25f9Sdownsj# 3f3142520Smillert# Build wrapper for Perl 5.8.6 44a4f25f9Sdownsj# 54a4f25f9Sdownsj 64aec319cSmillert# For ``NOMAN'' and ``USE_GCC3'' 74aec319cSmillert.include <bsd.own.mk> 84aec319cSmillert 9*7639e918Smillert# There is no point in building a profiled libperl that is never used. 10*7639e918SmillertNOPROFILE= 11*7639e918Smillert 12f64b279aSmillert# To build a threaded perl, uncomment this. Not stable on all platforms... 1312bcb063Smillert#THREADED_PERL=true 14f64b279aSmillert 15f64b279aSmillert# Perl builds with -fno-strict-aliasing, we want libperl to do the same 16f64b279aSmillertCFLAGS+= -fno-strict-aliasing 174aec319cSmillert.if ${USE_GCC3:L} == "yes" 184aec319cSmillertCFLAGS+= -fno-delete-null-pointer-checks 194aec319cSmillert.endif 20f64b279aSmillert 21f64b279aSmillert# Arguments passed to Configure... 22f64b279aSmillertCONFIGURE_ARGS= -dsE -Dopenbsd_distribution=defined 23f64b279aSmillert.if defined(THREADED_PERL) && ($(THREADED_PERL) == true) 24f64b279aSmillertCONFIGURE_ARGS+= -Dusethreads 25f64b279aSmillertCFLAGS+= -pthread 26f64b279aSmillert.endif 27e2e5c5d3Smillert 285028b98cSdownsj# Our lndir is hacked; specify a full path to avoid potential conflicts 295028b98cSdownsj# with the one installed with X11. 305028b98cSdownsjLNDIR= /usr/bin/lndir 315028b98cSdownsj 32f64b279aSmillert# If we are cross-compiling, we use the native pod2man. 33f64b279aSmillert# Otherwise, we use the pod2man (and libperl) we just 34f64b279aSmillert# built since we don't know what's in the tree. 35e2e5c5d3SmillertTARGET_MACHINE_ARCH?= $(MACHINE_ARCH) 36e2e5c5d3Smillert.if ($(TARGET_MACHINE_ARCH) != $(MACHINE_ARCH)) 37ca15c2caSmillertPOD2MAN= /usr/bin/pod2man 38e2e5c5d3Smillert.else 39f64b279aSmillertPOD2MAN= LD_LIBRARY_PATH=${.OBJDIR} ${.OBJDIR}/perl -I ${.OBJDIR}/lib \ 40f64b279aSmillert ${.OBJDIR}/pod/pod2man 41e2e5c5d3Smillert.endif 42e2e5c5d3SmillertH2PH= /usr/bin/h2ph 434a4f25f9Sdownsj 444a4f25f9SdownsjMANLOCALBUILD= yes 454a4f25f9Sdownsj 460c474c1aSespieMANALL= 47d174550eSespie_quick1= 48d174550eSespie_quick3p= 49d174550eSespieMANSRCALL= 50d174550eSespie 510c474c1aSespie.for page sect file in \ 520c474c1aSespie a2p 1 x2p/a2p.pod \ 530c474c1aSespie c2ph 1 utils/c2ph \ 54f64b279aSmillert cpan 1 lib/CPAN/bin/cpan \ 550c474c1aSespie dprofpp 1 utils/dprofpp \ 5679cd0b9aSmillert enc2xs 1 ext/Encode/bin/enc2xs \ 570c474c1aSespie find2perl 1 x2p/find2perl \ 580c474c1aSespie h2ph 1 utils/h2ph \ 590c474c1aSespie h2xs 1 utils/h2xs \ 6079cd0b9aSmillert libnetcfg 1 utils/libnetcfg.PL \ 610c474c1aSespie perl 1 pod/perl.pod \ 620c474c1aSespie perl5004delta 1 pod/perl5004delta.pod \ 630c474c1aSespie perl5005delta 1 pod/perl5005delta.pod \ 64f64b279aSmillert perl561delta 1 pod/perl561delta.pod \ 65f64b279aSmillert perl56delta 1 pod/perl56delta.pod \ 66f64b279aSmillert perl570delta 1 pod/perl570delta.pod \ 67f64b279aSmillert perl571delta 1 pod/perl571delta.pod \ 68f64b279aSmillert perl572delta 1 pod/perl572delta.pod \ 69f64b279aSmillert perl573delta 1 pod/perl573delta.pod \ 70f64b279aSmillert perl58delta 1 pod/perl58delta.pod \ 71f64b279aSmillert perl581delta 1 pod/perl581delta.pod \ 7209e75b67Smillert perl582delta 1 pod/perl582delta.pod \ 7309e75b67Smillert perl583delta 1 pod/perl583delta.pod \ 7404bf48b9Smillert perl584delta 1 pod/perl584delta.pod \ 7504bf48b9Smillert perl585delta 1 pod/perl585delta.pod \ 76f3142520Smillert perl586delta 1 pod/perl586delta.pod \ 77ad15181aSmillert perl587delta 1 pod/perl587delta.pod \ 78ad15181aSmillert perl588delta 1 pod/perl588delta.pod \ 790c474c1aSespie perlapi 1 pod/perlapi.pod \ 800c474c1aSespie perlapio 1 pod/perlapio.pod \ 81f64b279aSmillert perlartistic 1 pod/perlartistic.pod \ 820c474c1aSespie perlbook 1 pod/perlbook.pod \ 8379ca62f9Smillert perlboot 1 pod/perlboot.pod \ 8479ca62f9Smillert perlbot 1 pod/perlbot.pod \ 850c474c1aSespie perlbug 1 utils/perlbug \ 860c474c1aSespie perlcall 1 pod/perlcall.pod \ 870c474c1aSespie perlcc 1 utils/perlcc \ 88f64b279aSmillert perlcheat 1 pod/perlcheat.pod \ 89f64b279aSmillert perlclib 1 pod/perlclib.pod \ 9079cd0b9aSmillert perlcn 1 README.cn \ 910c474c1aSespie perlcompile 1 pod/perlcompile.pod \ 920c474c1aSespie perldata 1 pod/perldata.pod \ 930c474c1aSespie perldbmfilter 1 pod/perldbmfilter.pod \ 9479ca62f9Smillert perldebguts 1 pod/perldebguts.pod \ 950c474c1aSespie perldebtut 1 pod/perldebtut.pod \ 960c474c1aSespie perldebug 1 pod/perldebug.pod \ 970c474c1aSespie perldiag 1 pod/perldiag.pod \ 98f64b279aSmillert perldoc 1 pod/perldoc.pod \ 990c474c1aSespie perldsc 1 pod/perldsc.pod \ 1000c474c1aSespie perlembed 1 pod/perlembed.pod \ 1010c474c1aSespie perlfaq 1 pod/perlfaq.pod \ 1020c474c1aSespie perlfaq1 1 pod/perlfaq1.pod \ 1030c474c1aSespie perlfaq2 1 pod/perlfaq2.pod \ 1040c474c1aSespie perlfaq3 1 pod/perlfaq3.pod \ 1050c474c1aSespie perlfaq4 1 pod/perlfaq4.pod \ 1060c474c1aSespie perlfaq5 1 pod/perlfaq5.pod \ 1070c474c1aSespie perlfaq6 1 pod/perlfaq6.pod \ 1080c474c1aSespie perlfaq7 1 pod/perlfaq7.pod \ 1090c474c1aSespie perlfaq8 1 pod/perlfaq8.pod \ 1100c474c1aSespie perlfaq9 1 pod/perlfaq9.pod \ 1110c474c1aSespie perlfilter 1 pod/perlfilter.pod \ 1120c474c1aSespie perlfork 1 pod/perlfork.pod \ 1130c474c1aSespie perlform 1 pod/perlform.pod \ 1140c474c1aSespie perlfunc 1 pod/perlfunc.pod \ 115ad15181aSmillert perlglossary 1 pod/perlglossary.pod \ 116f64b279aSmillert perlgpl 1 pod/perlgpl.pod \ 1170c474c1aSespie perlguts 1 pod/perlguts.pod \ 1180c474c1aSespie perlhack 1 pod/perlhack.pod \ 1190c474c1aSespie perlhist 1 pod/perlhist.pod \ 1200c474c1aSespie perlintern 1 pod/perlintern.pod \ 12179cd0b9aSmillert perlintro 1 pod/perlintro.pod \ 12279cd0b9aSmillert perliol 1 pod/perliol.pod \ 1230c474c1aSespie perlipc 1 pod/perlipc.pod \ 12479cd0b9aSmillert perlivp 1 utils/perlivp.PL \ 12579cd0b9aSmillert perljp 1 README.jp \ 12679cd0b9aSmillert perlko 1 README.ko \ 1270c474c1aSespie perllexwarn 1 pod/perllexwarn.pod \ 1280c474c1aSespie perllocale 1 pod/perllocale.pod \ 1290c474c1aSespie perllol 1 pod/perllol.pod \ 1300c474c1aSespie perlmod 1 pod/perlmod.pod \ 1310c474c1aSespie perlmodinstall 1 pod/perlmodinstall.pod \ 1320c474c1aSespie perlmodlib 1 pod/perlmodlib.pod \ 13379cd0b9aSmillert perlmodstyle 1 pod/perlmodstyle.pod \ 1340c474c1aSespie perlnewmod 1 pod/perlnewmod.pod \ 1350c474c1aSespie perlnumber 1 pod/perlnumber.pod \ 1360c474c1aSespie perlobj 1 pod/perlobj.pod \ 1370c474c1aSespie perlop 1 pod/perlop.pod \ 1380c474c1aSespie perlopentut 1 pod/perlopentut.pod \ 13979cd0b9aSmillert perlothrtut 1 pod/perlothrtut.pod \ 14079cd0b9aSmillert perlpacktut 1 pod/perlpacktut.pod \ 1410c474c1aSespie perlpod 1 pod/perlpod.pod \ 14279cd0b9aSmillert perlpodspec 1 pod/perlpodspec.pod \ 1430c474c1aSespie perlport 1 pod/perlport.pod \ 1440c474c1aSespie perlre 1 pod/perlre.pod \ 1450c474c1aSespie perlref 1 pod/perlref.pod \ 1460c474c1aSespie perlreftut 1 pod/perlreftut.pod \ 1470c474c1aSespie perlrequick 1 pod/perlrequick.pod \ 14809e75b67Smillert perlreref 1 pod/perlreref.pod \ 1490c474c1aSespie perlretut 1 pod/perlretut.pod \ 1500c474c1aSespie perlrun 1 pod/perlrun.pod \ 1510c474c1aSespie perlsec 1 pod/perlsec.pod \ 1520c474c1aSespie perlstyle 1 pod/perlstyle.pod \ 1530c474c1aSespie perlsub 1 pod/perlsub.pod \ 1540c474c1aSespie perlsyn 1 pod/perlsyn.pod \ 1550c474c1aSespie perlthrtut 1 pod/perlthrtut.pod \ 1560c474c1aSespie perltie 1 pod/perltie.pod \ 1570c474c1aSespie perltoc 1 pod/perltoc.pod \ 1580c474c1aSespie perltodo 1 pod/perltodo.pod \ 15979cd0b9aSmillert perltooc 1 pod/perltooc.pod \ 1600c474c1aSespie perltoot 1 pod/perltoot.pod \ 1610c474c1aSespie perltrap 1 pod/perltrap.pod \ 16279cd0b9aSmillert perltw 1 README.tw \ 1630c474c1aSespie perlunicode 1 pod/perlunicode.pod \ 16479cd0b9aSmillert perluniintro 1 pod/perluniintro.pod \ 165f64b279aSmillert perlutil 1 pod/perlutil.pod \ 1660c474c1aSespie perlvar 1 pod/perlvar.pod \ 1670c474c1aSespie perlxs 1 pod/perlxs.pod \ 1680c474c1aSespie perlxstut 1 pod/perlxstut.pod \ 16979cd0b9aSmillert piconv 1 ext/Encode/bin/piconv \ 1700c474c1aSespie pl2pm 1 utils/pl2pm \ 1710c474c1aSespie pod2html 1 pod/pod2html \ 17279cd0b9aSmillert pod2latex 1 pod/pod2latex.PL \ 1730c474c1aSespie pod2man 1 pod/pod2man \ 1740c474c1aSespie pod2text 1 pod/pod2text \ 1750c474c1aSespie pod2usage 1 pod/pod2usage \ 1760c474c1aSespie podchecker 1 pod/podchecker \ 1770c474c1aSespie podselect 1 pod/podselect \ 17809e75b67Smillert prove 1 lib/Test/Harness/bin/prove \ 1790c474c1aSespie s2p 1 x2p/s2p \ 1800c474c1aSespie splain 1 utils/splain \ 1810c474c1aSespie xsubpp 1 lib/ExtUtils/xsubpp \ 1820c474c1aSespie AnyDBM_File 3p lib/AnyDBM_File.pm \ 18379cd0b9aSmillert Attribute::Handlers 3p lib/Attribute/Handlers.pm \ 1840c474c1aSespie AutoLoader 3p lib/AutoLoader.pm \ 1850c474c1aSespie AutoSplit 3p lib/AutoSplit.pm \ 1860c474c1aSespie B 3p ext/B/B.pm \ 1870c474c1aSespie B::Asmdata 3p ext/B/B/Asmdata.pm \ 1880c474c1aSespie B::Assembler 3p ext/B/B/Assembler.pm \ 1890c474c1aSespie B::Bblock 3p ext/B/B/Bblock.pm \ 1900c474c1aSespie B::Bytecode 3p ext/B/B/Bytecode.pm \ 1910c474c1aSespie B::C 3p ext/B/B/C.pm \ 1920c474c1aSespie B::CC 3p ext/B/B/CC.pm \ 1930c474c1aSespie B::Concise 3p ext/B/B/Concise.pm \ 1940c474c1aSespie B::Debug 3p ext/B/B/Debug.pm \ 1950c474c1aSespie B::Deparse 3p ext/B/B/Deparse.pm \ 1960c474c1aSespie B::Disassembler 3p ext/B/B/Disassembler.pm \ 1970c474c1aSespie B::Lint 3p ext/B/B/Lint.pm \ 1980c474c1aSespie B::Showlex 3p ext/B/B/Showlex.pm \ 1990c474c1aSespie B::Stackobj 3p ext/B/B/Stackobj.pm \ 200f3142520Smillert B::Stash 3p ext/B/B/Stash.pm \ 2010c474c1aSespie B::Terse 3p ext/B/B/Terse.pm \ 2020c474c1aSespie B::Xref 3p ext/B/B/Xref.pm \ 2030c474c1aSespie Benchmark 3p lib/Benchmark.pm \ 2040c474c1aSespie ByteLoader 3p ext/ByteLoader/ByteLoader.pm \ 2050c474c1aSespie CGI 3p lib/CGI.pm \ 2060c474c1aSespie CGI::Apache 3p lib/CGI/Apache.pm \ 2070c474c1aSespie CGI::Carp 3p lib/CGI/Carp.pm \ 2080c474c1aSespie CGI::Cookie 3p lib/CGI/Cookie.pm \ 2090c474c1aSespie CGI::Fast 3p lib/CGI/Fast.pm \ 2100c474c1aSespie CGI::Pretty 3p lib/CGI/Pretty.pm \ 2110c474c1aSespie CGI::Push 3p lib/CGI/Push.pm \ 2120c474c1aSespie CGI::Switch 3p lib/CGI/Switch.pm \ 2130c474c1aSespie CGI::Util 3p lib/CGI/Util.pm \ 2140c474c1aSespie CPAN 3p lib/CPAN.pm \ 2150c474c1aSespie CPAN::FirstTime 3p lib/CPAN/FirstTime.pm \ 2160c474c1aSespie CPAN::Nox 3p lib/CPAN/Nox.pm \ 2170c474c1aSespie Carp 3p lib/Carp.pm \ 2180c474c1aSespie Carp::Heavy 3p lib/Carp/Heavy.pm \ 21979cd0b9aSmillert Class::ISA 3p lib/Class/ISA.pm \ 2200c474c1aSespie Class::Struct 3p lib/Class/Struct.pm \ 221f64b279aSmillert Config 3p lib/Config.pod \ 2220c474c1aSespie Cwd 3p lib/Cwd.pm \ 2230c474c1aSespie DB 3p lib/DB.pm \ 2240c474c1aSespie DB_File 3p ext/DB_File/DB_File.pm \ 22504bf48b9Smillert DBM_Filter 3p lib/DBM_Filter.pm \ 22604bf48b9Smillert DBM_Filter::compress 3p lib/DBM_Filter/compress.pm \ 22704bf48b9Smillert DBM_Filter::encode 3p lib/DBM_Filter/encode.pm \ 22804bf48b9Smillert DBM_Filter::int32 3p lib/DBM_Filter/int32.pm \ 22904bf48b9Smillert DBM_Filter::null 3p lib/DBM_Filter/null.pm \ 230f7a88603Sderaadt DBM_Filter::utf8 3p lib/DBM_Filter/utf8.pm \ 2310c474c1aSespie Data::Dumper 3p ext/Data/Dumper/Dumper.pm \ 2320c474c1aSespie Devel::DProf 3p ext/Devel/DProf/DProf.pm \ 23379cd0b9aSmillert Devel::PPPort 3p ext/Devel/PPPort/PPPort.pm \ 2340c474c1aSespie Devel::Peek 3p ext/Devel/Peek/Peek.pm \ 2350c474c1aSespie Devel::SelfStubber 3p lib/Devel/SelfStubber.pm \ 23679cd0b9aSmillert Digest 3p lib/Digest.pm \ 23709e75b67Smillert Digest::base 3p lib/Digest/base.pm \ 238ad15181aSmillert Digest::file 3p lib/Digest/file.pm \ 23979cd0b9aSmillert Digest::MD5 3p ext/Digest/MD5/MD5.pm \ 2400c474c1aSespie DirHandle 3p lib/DirHandle.pm \ 2410c474c1aSespie Dumpvalue 3p lib/Dumpvalue.pm \ 2420c474c1aSespie DynaLoader 3p ext/DynaLoader/XSLoader_pm.PL \ 24379cd0b9aSmillert Encode 3p ext/Encode/Encode.pm \ 24479cd0b9aSmillert Encode::Alias 3p ext/Encode/lib/Encode/Alias.pm \ 24579cd0b9aSmillert Encode::Byte 3p ext/Encode/Byte/Byte.pm \ 24679cd0b9aSmillert Encode::CJKConstants 3p ext/Encode/lib/Encode/CJKConstants.pm \ 24779cd0b9aSmillert Encode::CN 3p ext/Encode/CN/CN.pm \ 24879cd0b9aSmillert Encode::CN::HZ 3p ext/Encode/lib/Encode/CN/HZ.pm \ 24979cd0b9aSmillert Encode::Config 3p ext/Encode/lib/Encode/Config.pm \ 25079cd0b9aSmillert Encode::EBCDIC 3p ext/Encode/EBCDIC/EBCDIC.pm \ 25179cd0b9aSmillert Encode::Encoder 3p ext/Encode/lib/Encode/Encoder.pm \ 25279cd0b9aSmillert Encode::Encoding 3p ext/Encode/lib/Encode/Encoding.pm \ 25379cd0b9aSmillert Encode::Guess 3p ext/Encode/lib/Encode/Guess.pm \ 25479cd0b9aSmillert Encode::JP 3p ext/Encode/JP/JP.pm \ 25579cd0b9aSmillert Encode::JP::H2Z 3p ext/Encode/lib/Encode/JP/H2Z.pm \ 25679cd0b9aSmillert Encode::JP::JIS7 3p ext/Encode/lib/Encode/JP/JIS7.pm \ 25779cd0b9aSmillert Encode::KR 3p ext/Encode/KR/KR.pm \ 25879cd0b9aSmillert Encode::KR::2022_KR 3p ext/Encode/lib/Encode/KR/2022_KR.pm \ 25979cd0b9aSmillert Encode::MIME::Header 3p ext/Encode/lib/Encode/MIME/Header.pm \ 26079cd0b9aSmillert Encode::PerlIO 3p ext/Encode/lib/Encode/PerlIO.pod \ 26179cd0b9aSmillert Encode::Supported 3p ext/Encode/lib/Encode/Supported.pod \ 26279cd0b9aSmillert Encode::Symbol 3p ext/Encode/Symbol/Symbol.pm \ 26379cd0b9aSmillert Encode::TW 3p ext/Encode/TW/TW.pm \ 26479cd0b9aSmillert Encode::Unicode 3p ext/Encode/Unicode/Unicode.pm \ 265f64b279aSmillert Encode::Unicode::UTF7 3p ext/Encode/lib/Encode/Unicode/UTF7.pm \ 2660c474c1aSespie English 3p lib/English.pm \ 2670c474c1aSespie Env 3p lib/Env.pm \ 2680c474c1aSespie Errno 3p ext/Errno/Errno_pm.PL \ 2690c474c1aSespie Exporter 3p lib/Exporter.pm \ 2700c474c1aSespie Exporter::Heavy 3p lib/Exporter/Heavy.pm \ 2710c474c1aSespie ExtUtils::Command 3p lib/ExtUtils/Command.pm \ 27279cd0b9aSmillert ExtUtils::Command::MM 3p lib/ExtUtils/Command/MM.pm \ 27379cd0b9aSmillert ExtUtils::Constant 3p lib/ExtUtils/Constant.pm \ 274ad15181aSmillert ExtUtils::Constant::Base 3p lib/ExtUtils/Constant/Base.pm \ 275ad15181aSmillert ExtUtils::Constant::Utils 3p lib/ExtUtils/Constant/Utils.pm \ 276ad15181aSmillert ExtUtils::Constant::XS 3p lib/ExtUtils/Constant/XS.pm \ 2770c474c1aSespie ExtUtils::Embed 3p lib/ExtUtils/Embed.pm \ 2780c474c1aSespie ExtUtils::Install 3p lib/ExtUtils/Install.pm \ 2790c474c1aSespie ExtUtils::Installed 3p lib/ExtUtils/Installed.pm \ 2800c474c1aSespie ExtUtils::Liblist 3p lib/ExtUtils/Liblist.pm \ 28179cd0b9aSmillert ExtUtils::MM 3p lib/ExtUtils/MM.pm \ 282ad15181aSmillert ExtUtils::MM_AIX 3p lib/ExtUtils/MM_AIX.pm \ 28379cd0b9aSmillert ExtUtils::MM_Any 3p lib/ExtUtils/MM_Any.pm \ 28479cd0b9aSmillert ExtUtils::MM_BeOS 3p lib/ExtUtils/MM_BeOS.pm \ 285f64b279aSmillert ExtUtils::MM_Cygwin 3p lib/ExtUtils/MM_Cygwin.pm \ 28679cd0b9aSmillert ExtUtils::MM_DOS 3p lib/ExtUtils/MM_DOS.pm \ 28779cd0b9aSmillert ExtUtils::MM_MacOS 3p lib/ExtUtils/MM_MacOS.pm \ 28879cd0b9aSmillert ExtUtils::MM_NW5 3p lib/ExtUtils/MM_NW5.pm \ 289f64b279aSmillert ExtUtils::MM_OS2 3p lib/ExtUtils/MM_OS2.pm \ 290ad15181aSmillert ExtUtils::MM_QNX 3p lib/ExtUtils/MM_QNX.pm \ 29179cd0b9aSmillert ExtUtils::MM_UWIN 3p lib/ExtUtils/MM_UWIN.pm \ 2920c474c1aSespie ExtUtils::MM_Unix 3p lib/ExtUtils/MM_Unix.pm \ 293f64b279aSmillert ExtUtils::MM_VMS 3p lib/ExtUtils/MM_VMS.pm \ 294ad15181aSmillert ExtUtils::MM_VOS 3p lib/ExtUtils/MM_VOS.pm \ 295f64b279aSmillert ExtUtils::MM_Win32 3p lib/ExtUtils/MM_Win32.pm \ 29679cd0b9aSmillert ExtUtils::MM_Win95 3p lib/ExtUtils/MM_Win95.pm \ 29779cd0b9aSmillert ExtUtils::MY 3p lib/ExtUtils/MY.pm \ 2980c474c1aSespie ExtUtils::MakeMaker 3p lib/ExtUtils/MakeMaker.pm \ 299ad15181aSmillert ExtUtils::MakeMaker::Config 3p lib/ExtUtils/MakeMaker/Config.pm \ 300f64b279aSmillert ExtUtils::MakeMaker::FAQ 3p lib/ExtUtils/MakeMaker/FAQ.pod \ 301f64b279aSmillert ExtUtils::MakeMaker::Tutorial 3p lib/ExtUtils/MakeMaker/Tutorial.pod \ 302f64b279aSmillert ExtUtils::MakeMaker::bytes 3p lib/ExtUtils/MakeMaker/bytes.pm \ 303f64b279aSmillert ExtUtils::MakeMaker::vmsish 3p lib/ExtUtils/MakeMaker/vmsish.pm \ 3040c474c1aSespie ExtUtils::Manifest 3p lib/ExtUtils/Manifest.pm \ 3050c474c1aSespie ExtUtils::Miniperl 3p lib/ExtUtils/Miniperl.pm \ 3060c474c1aSespie ExtUtils::Mkbootstrap 3p lib/ExtUtils/Mkbootstrap.pm \ 3070c474c1aSespie ExtUtils::Mksymlists 3p lib/ExtUtils/Mksymlists.pm \ 3080c474c1aSespie ExtUtils::Packlist 3p lib/ExtUtils/Packlist.pm \ 3090c474c1aSespie ExtUtils::testlib 3p lib/ExtUtils/testlib.pm \ 3100c474c1aSespie Fatal 3p lib/Fatal.pm \ 3110c474c1aSespie Fcntl 3p lib/Fcntl.pm \ 3120c474c1aSespie File::Basename 3p lib/File/Basename.pm \ 3130c474c1aSespie File::CheckTree 3p lib/File/CheckTree.pm \ 3140c474c1aSespie File::Compare 3p lib/File/Compare.pm \ 3150c474c1aSespie File::Copy 3p lib/File/Copy.pm \ 3160c474c1aSespie File::DosGlob 3p lib/File/DosGlob.pm \ 3170c474c1aSespie File::Find 3p lib/File/Find.pm \ 3180c474c1aSespie File::Glob 3p lib/File/Glob.pm \ 3190c474c1aSespie File::Path 3p lib/File/Path.pm \ 3200c474c1aSespie File::Spec 3p lib/File/Spec.pm \ 32179cd0b9aSmillert File::Spec::Cygwin 3p lib/File/Spec/Cygwin.pm \ 322f64b279aSmillert File::Spec::Epoc 3p lib/File/Spec/Epoc.pm \ 3230c474c1aSespie File::Spec::Functions 3p lib/File/Spec/Functions.pm \ 324f64b279aSmillert File::Spec::Mac 3p lib/File/Spec/Mac.pm \ 325f64b279aSmillert File::Spec::OS2 3p lib/File/Spec/OS2.pm \ 3260c474c1aSespie File::Spec::Unix 3p lib/File/Spec/Unix.pm \ 327f64b279aSmillert File::Spec::VMS 3p lib/File/Spec/VMS.pm \ 328f64b279aSmillert File::Spec::Win32 3p lib/File/Spec/Win32.pm \ 3290c474c1aSespie File::Temp 3p lib/File/Temp.pm \ 3300c474c1aSespie File::stat 3p lib/File/stat.pm \ 3310c474c1aSespie FileCache 3p lib/FileCache.pm \ 3320c474c1aSespie FileHandle 3p lib/FileHandle.pm \ 33379cd0b9aSmillert Filter::Simple 3p lib/Filter/Simple.pm \ 33479cd0b9aSmillert Filter::Util::Call 3p ext/Filter/Util/Call/Call.pm \ 3350c474c1aSespie FindBin 3p lib/FindBin.pm \ 3360c474c1aSespie Getopt::Long 3p lib/Getopt/Long.pm \ 3370c474c1aSespie Getopt::Std 3p lib/Getopt/Std.pm \ 33879cd0b9aSmillert Hash::Util 3p lib/Hash/Util.pm \ 3390c474c1aSespie I18N::Collate 3p lib/I18N/Collate.pm \ 34079cd0b9aSmillert I18N::LangTags 3p lib/I18N/LangTags.pm \ 34104bf48b9Smillert I18N::LangTags::Detect 3p lib/I18N/LangTags/Detect.pm \ 34279cd0b9aSmillert I18N::LangTags::List 3p lib/I18N/LangTags/List.pm \ 34379cd0b9aSmillert I18N::Langinfo 3p ext/I18N/Langinfo/Langinfo.pm \ 3440c474c1aSespie IO 3p lib/IO.pm \ 3450c474c1aSespie IO::Dir 3p lib/IO/Dir.pm \ 3460c474c1aSespie IO::File 3p lib/IO/File.pm \ 3470c474c1aSespie IO::Handle 3p lib/IO/Handle.pm \ 3480c474c1aSespie IO::Pipe 3p lib/IO/Pipe.pm \ 3490c474c1aSespie IO::Poll 3p lib/IO/Poll.pm \ 3500c474c1aSespie IO::Seekable 3p lib/IO/Seekable.pm \ 3510c474c1aSespie IO::Select 3p lib/IO/Select.pm \ 3520c474c1aSespie IO::Socket 3p lib/IO/Socket.pm \ 3530c474c1aSespie IO::Socket::INET 3p lib/IO/Socket/INET.pm \ 3540c474c1aSespie IO::Socket::UNIX 3p lib/IO/Socket/UNIX.pm \ 3550c474c1aSespie IPC::Msg 3p lib/IPC/Msg.pm \ 3560c474c1aSespie IPC::Open2 3p lib/IPC/Open2.pm \ 3570c474c1aSespie IPC::Open3 3p lib/IPC/Open3.pm \ 3580c474c1aSespie IPC::Semaphore 3p lib/IPC/Semaphore.pm \ 3590c474c1aSespie IPC::SysV 3p lib/IPC/SysV.pm \ 36079cd0b9aSmillert List::Util 3p ext/List/Util/lib/List/Util.pm \ 36179cd0b9aSmillert Locale::Constants 3p lib/Locale/Constants.pod \ 36279cd0b9aSmillert Locale::Country 3p lib/Locale/Country.pod \ 36379cd0b9aSmillert Locale::Currency 3p lib/Locale/Currency.pod \ 36479cd0b9aSmillert Locale::Language 3p lib/Locale/Language.pod \ 36579cd0b9aSmillert Locale::Maketext 3p lib/Locale/Maketext.pod \ 36679cd0b9aSmillert Locale::Maketext::TPJ13 3p lib/Locale/Maketext/TPJ13.pod \ 36779cd0b9aSmillert Locale::Script 3p lib/Locale/Script.pod \ 36879cd0b9aSmillert MIME::Base64 3p ext/MIME/Base64/Base64.pm \ 36979cd0b9aSmillert MIME::QuotedPrint 3p ext/MIME/Base64/QuotedPrint.pm \ 3700c474c1aSespie Math::BigFloat 3p lib/Math/BigFloat.pm \ 3710c474c1aSespie Math::BigInt 3p lib/Math/BigInt.pm \ 37279cd0b9aSmillert Math::BigInt::Calc 3p lib/Math/BigInt/Calc.pm \ 37309e75b67Smillert Math::BigInt::CalcEmu 3p lib/Math/BigInt/CalcEmu.pm \ 37479cd0b9aSmillert Math::BigRat 3p lib/Math/BigRat.pm \ 3750c474c1aSespie Math::Complex 3p lib/Math/Complex.pm \ 3760c474c1aSespie Math::Trig 3p lib/Math/Trig.pm \ 37779cd0b9aSmillert Memoize 3p lib/Memoize.pm \ 37879cd0b9aSmillert Memoize::AnyDBM_File 3p lib/Memoize/AnyDBM_File.pm \ 37979cd0b9aSmillert Memoize::Expire 3p lib/Memoize/Expire.pm \ 38079cd0b9aSmillert Memoize::ExpireFile 3p lib/Memoize/ExpireFile.pm \ 38179cd0b9aSmillert Memoize::ExpireTest 3p lib/Memoize/ExpireTest.pm \ 38279cd0b9aSmillert Memoize::NDBM_File 3p lib/Memoize/NDBM_File.pm \ 38379cd0b9aSmillert Memoize::SDBM_File 3p lib/Memoize/SDBM_File.pm \ 38479cd0b9aSmillert Memoize::Storable 3p lib/Memoize/Storable.pm \ 3850c474c1aSespie NDBM_File 3p lib/NDBM_File.pm \ 38679cd0b9aSmillert NEXT 3p lib/NEXT.pm \ 38779cd0b9aSmillert Net::Cmd 3p lib/Net/Cmd.pm \ 38879cd0b9aSmillert Net::Config 3p lib/Net/Config.pm \ 38979cd0b9aSmillert Net::Domain 3p lib/Net/Domain.pm \ 39079cd0b9aSmillert Net::FTP 3p lib/Net/FTP.pm \ 39179cd0b9aSmillert Net::NNTP 3p lib/Net/NNTP.pm \ 39279cd0b9aSmillert Net::Netrc 3p lib/Net/Netrc.pm \ 39379cd0b9aSmillert Net::POP3 3p lib/Net/POP3.pm \ 3940c474c1aSespie Net::Ping 3p lib/Net/Ping.pm \ 39579cd0b9aSmillert Net::SMTP 3p lib/Net/SMTP.pm \ 39679cd0b9aSmillert Net::Time 3p lib/Net/Time.pm \ 3970c474c1aSespie Net::hostent 3p lib/Net/hostent.pm \ 39879cd0b9aSmillert Net::libnetFAQ 3p lib/Net/libnetFAQ.pod \ 3990c474c1aSespie Net::netent 3p lib/Net/netent.pm \ 4000c474c1aSespie Net::protoent 3p lib/Net/protoent.pm \ 4010c474c1aSespie Net::servent 3p lib/Net/servent.pm \ 4020c474c1aSespie O 3p lib/O.pm \ 4030c474c1aSespie ODBM_File 3p lib/ODBM_File.pm \ 4040c474c1aSespie Opcode 3p lib/Opcode.pm \ 4050c474c1aSespie POSIX 3p lib/POSIX.pod \ 40679cd0b9aSmillert PerlIO 3p lib/PerlIO.pm \ 40779cd0b9aSmillert PerlIO::encoding 3p ext/PerlIO/encoding/encoding.pm \ 40879cd0b9aSmillert PerlIO::scalar 3p ext/PerlIO/scalar/scalar.pm \ 40979cd0b9aSmillert PerlIO::via 3p ext/PerlIO/via/via.pm \ 41079cd0b9aSmillert PerlIO::via::QuotedPrint 3p lib/PerlIO/via/QuotedPrint.pm \ 4110c474c1aSespie Pod::Checker 3p lib/Pod/Checker.pm \ 4120c474c1aSespie Pod::Find 3p lib/Pod/Find.pm \ 4130c474c1aSespie Pod::Html 3p lib/Pod/Html.pm \ 4140c474c1aSespie Pod::InputObjects 3p lib/Pod/InputObjects.pm \ 4150c474c1aSespie Pod::LaTeX 3p lib/Pod/LaTeX.pm \ 4160c474c1aSespie Pod::Man 3p lib/Pod/Man.pm \ 41779cd0b9aSmillert Pod::ParseLink 3p lib/Pod/ParseLink.pm \ 4180c474c1aSespie Pod::ParseUtils 3p lib/Pod/ParseUtils.pm \ 4190c474c1aSespie Pod::Parser 3p lib/Pod/Parser.pm \ 420f64b279aSmillert Pod::Perldoc::ToChecker 3p lib/Pod/Perldoc/ToChecker.pm \ 421f64b279aSmillert Pod::Perldoc::ToMan 3p lib/Pod/Perldoc/ToMan.pm \ 422f64b279aSmillert Pod::Perldoc::ToNroff 3p lib/Pod/Perldoc/ToNroff.pm \ 423f64b279aSmillert Pod::Perldoc::ToPod 3p lib/Pod/Perldoc/ToPod.pm \ 424f64b279aSmillert Pod::Perldoc::ToRtf 3p lib/Pod/Perldoc/ToRtf.pm \ 425f64b279aSmillert Pod::Perldoc::ToText 3p lib/Pod/Perldoc/ToText.pm \ 426f64b279aSmillert Pod::Perldoc::ToTk 3p lib/Pod/Perldoc/ToTk.pm \ 427f64b279aSmillert Pod::Perldoc::ToXml 3p lib/Pod/Perldoc/ToXml.pm \ 428f64b279aSmillert Pod::PlainText 3p lib/Pod/PlainText.pm \ 4290c474c1aSespie Pod::Plainer 3p lib/Pod/Plainer.pm \ 4300c474c1aSespie Pod::Select 3p lib/Pod/Select.pm \ 4310c474c1aSespie Pod::Text 3p lib/Pod/Text.pm \ 4320c474c1aSespie Pod::Text::Color 3p lib/Pod/Text/Color.pm \ 4330c474c1aSespie Pod::Text::Overstrike 3p lib/Pod/Text/Overstrike.pm \ 4340c474c1aSespie Pod::Text::Termcap 3p lib/Pod/Text/Termcap.pm \ 4350c474c1aSespie Pod::Usage 3p lib/Pod/Usage.pm \ 4360c474c1aSespie SDBM_File 3p lib/SDBM_File.pm \ 4370c474c1aSespie Safe 3p lib/Safe.pm \ 43879cd0b9aSmillert Scalar::Util 3p ext/List/Util/lib/Scalar/Util.pm \ 4390c474c1aSespie Search::Dict 3p lib/Search/Dict.pm \ 4400c474c1aSespie SelectSaver 3p lib/SelectSaver.pm \ 4410c474c1aSespie SelfLoader 3p lib/SelfLoader.pm \ 4420c474c1aSespie Shell 3p lib/Shell.pm \ 4430c474c1aSespie Socket 3p lib/Socket.pm \ 44479cd0b9aSmillert Storable 3p ext/Storable/Storable.pm \ 44579cd0b9aSmillert Switch 3p lib/Switch.pm \ 4460c474c1aSespie Symbol 3p lib/Symbol.pm \ 4470c474c1aSespie Sys::Hostname 3p lib/Sys/Hostname.pm \ 4480c474c1aSespie Sys::Syslog 3p lib/Sys/Syslog.pm \ 4490c474c1aSespie Term::ANSIColor 3p lib/Term/ANSIColor.pm \ 4500c474c1aSespie Term::Cap 3p lib/Term/Cap.pm \ 4510c474c1aSespie Term::Complete 3p lib/Term/Complete.pm \ 4520c474c1aSespie Term::ReadLine 3p lib/Term/ReadLine.pm \ 4530c474c1aSespie Test 3p lib/Test.pm \ 45479cd0b9aSmillert Test::Builder 3p lib/Test/Builder.pm \ 455ad15181aSmillert Test::Builder::Module 3p lib/Test/Builder/Module.pm \ 456ad15181aSmillert Test::Builder::Tester 3p lib/Test/Builder/Tester.pm \ 457ad15181aSmillert Test::Builder::Tester::Color 3p lib/Test/Builder/Tester/Color.pm \ 4580c474c1aSespie Test::Harness 3p lib/Test/Harness.pm \ 45979cd0b9aSmillert Test::Harness::Assert 3p lib/Test/Harness/Assert.pm \ 46079cd0b9aSmillert Test::Harness::Iterator 3p lib/Test/Harness/Iterator.pm \ 461ad15181aSmillert Test::Harness::Point 3p lib/Test/Harness/Point.pm \ 46279cd0b9aSmillert Test::Harness::Straps 3p lib/Test/Harness/Straps.pm \ 463ad15181aSmillert Test::Harness::TAP 3p lib/Test/Harness/TAP.pod \ 46479cd0b9aSmillert Test::More 3p lib/Test/More.pm \ 46579cd0b9aSmillert Test::Simple 3p lib/Test/Simple.pm \ 46679cd0b9aSmillert Test::Tutorial 3p lib/Test/Tutorial.pod \ 4670c474c1aSespie Text::Abbrev 3p lib/Text/Abbrev.pm \ 46879cd0b9aSmillert Text::Balanced 3p lib/Text/Balanced.pm \ 4690c474c1aSespie Text::ParseWords 3p lib/Text/ParseWords.pm \ 4700c474c1aSespie Text::Soundex 3p lib/Text/Soundex.pm \ 4710c474c1aSespie Text::Tabs 3p lib/Text/Tabs.pm \ 4720c474c1aSespie Text::Wrap 3p lib/Text/Wrap.pm \ 47379cd0b9aSmillert Thread 3p lib/Thread.pm \ 47479cd0b9aSmillert Thread::Queue 3p lib/Thread/Queue.pm \ 47579cd0b9aSmillert Thread::Semaphore 3p lib/Thread/Semaphore.pm \ 4760c474c1aSespie Tie::Array 3p lib/Tie/Array.pm \ 47779cd0b9aSmillert Tie::File 3p lib/Tie/File.pm \ 4780c474c1aSespie Tie::Handle 3p lib/Tie/Handle.pm \ 4790c474c1aSespie Tie::Hash 3p lib/Tie/Hash.pm \ 48079cd0b9aSmillert Tie::Memoize 3p lib/Tie/Memoize.pm \ 4810c474c1aSespie Tie::RefHash 3p lib/Tie/RefHash.pm \ 4820c474c1aSespie Tie::Scalar 3p lib/Tie/Scalar.pm \ 4830c474c1aSespie Tie::SubstrHash 3p lib/Tie/SubstrHash.pm \ 48479cd0b9aSmillert Time::HiRes 3p ext/Time/HiRes/HiRes.pm \ 4850c474c1aSespie Time::Local 3p lib/Time/Local.pm \ 4860c474c1aSespie Time::gmtime 3p lib/Time/gmtime.pm \ 4870c474c1aSespie Time::localtime 3p lib/Time/localtime.pm \ 4880c474c1aSespie Time::tm 3p lib/Time/tm.pm \ 4890c474c1aSespie UNIVERSAL 3p lib/UNIVERSAL.pm \ 49079cd0b9aSmillert Unicode::Collate 3p lib/Unicode/Collate.pm \ 49179cd0b9aSmillert Unicode::Normalize 3p ext/Unicode/Normalize/Normalize.pm \ 49279cd0b9aSmillert Unicode::UCD 3p lib/Unicode/UCD.pm \ 4930c474c1aSespie User::grent 3p lib/User/grent.pm \ 4940c474c1aSespie User::pwent 3p lib/User/pwent.pm \ 49579cd0b9aSmillert XS::APItest 3p ext/XS/APItest/APItest.pm \ 49679cd0b9aSmillert XS::Typemap 3p ext/XS/Typemap/Typemap.pm \ 4970c474c1aSespie XSLoader 3p lib/XSLoader.pm \ 4980c474c1aSespie attributes 3p lib/attributes.pm \ 4990c474c1aSespie attrs 3p lib/attrs.pm \ 5000c474c1aSespie autouse 3p lib/autouse.pm \ 5010c474c1aSespie base 3p lib/base.pm \ 50279cd0b9aSmillert bigint 3p lib/bigint.pm \ 50379cd0b9aSmillert bignum 3p lib/bignum.pm \ 50479cd0b9aSmillert bigrat 3p lib/bigrat.pm \ 5050c474c1aSespie blib 3p lib/blib.pm \ 5060c474c1aSespie bytes 3p lib/bytes.pm \ 5070c474c1aSespie charnames 3p lib/charnames.pm \ 5080c474c1aSespie constant 3p lib/constant.pm \ 5090c474c1aSespie diagnostics 3p lib/diagnostics.pm \ 51079cd0b9aSmillert encoding 3p ext/Encode/encoding.pm \ 5110c474c1aSespie fields 3p lib/fields.pm \ 5120c474c1aSespie filetest 3p lib/filetest.pm \ 51379cd0b9aSmillert if 3p lib/if.pm \ 5140c474c1aSespie integer 3p lib/integer.pm \ 5150c474c1aSespie less 3p lib/less.pm \ 5160c474c1aSespie lib 3p lib/lib.pm \ 5170c474c1aSespie locale 3p lib/locale.pm \ 5180c474c1aSespie open 3p lib/open.pm \ 5190c474c1aSespie ops 3p lib/ops.pm \ 5200c474c1aSespie overload 3p lib/overload.pm \ 5210c474c1aSespie re 3p lib/re.pm \ 5220c474c1aSespie sigtrap 3p lib/sigtrap.pm \ 52379cd0b9aSmillert sort 3p lib/sort.pm \ 5240c474c1aSespie strict 3p lib/strict.pm \ 5250c474c1aSespie subs 3p lib/subs.pm \ 52679cd0b9aSmillert threads 3p ext/threads/threads.pm \ 52779cd0b9aSmillert threads::shared 3p ext/threads/shared/shared.pm \ 5280c474c1aSespie utf8 3p lib/utf8.pm \ 5290c474c1aSespie vars 3p lib/vars.pm \ 530ad15181aSmillert vmsish 3p lib/vmsish.pm \ 5310c474c1aSespie warnings 3p lib/warnings.pm \ 5320c474c1aSespie warnings::register 3p lib/warnings/register.pm 5330c474c1aSespie. ifndef NOMAN 5340c474c1aSespieMANALL+= ${page}.cat${sect} 535d174550eSespieMANSRCALL+= ${page}.${sect} 536d174550eSespieMANSRC_COOKIE=stamp-mansrc.build 537d174550eSespie_quick${sect}+=${file} ${page}.${sect} 5383fd170b8Smillert. ifdef MANPS 5390c474c1aSespiePSALL+= ${page}.ps${sect} 5400c474c1aSespie. endif 541d174550eSespie. else 542d174550eSespieMANSRC_COOKIE= 5433fd170b8Smillert. endif 544d174550eSespie 545d174550eSespie 546d174550eSespie${page}.${sect}: ${file} 547d174550eSespie ${POD2MAN} --section=${sect} --official ${.ALLSRC} $@ 548d174550eSespie.endfor 549d174550eSespie 550d174550eSespiemansrc.build: 551d174550eSespie.for sect in 1 3p 552d174550eSespie. if !empty(_quick${sect}) 553d174550eSespie cd ${.OBJDIR} && ${POD2MAN} --section=${sect} --official ${_quick${sect}} 554d174550eSespie. endif 5550c474c1aSespie.endfor 5560c474c1aSespie 557dfa561d1SmillertLIB= perl 558dfa561d1Smillert 559f64b279aSmillertSRCS= perl.c gv.c toke.c perly.c op.c pad.c regcomp.c dump.c util.c mg.c \ 560f64b279aSmillert reentr.c hv.c av.c run.c pp_hot.c sv.c pp.c scope.c pp_ctl.c pp_sys.c \ 561f64b279aSmillert doop.c doio.c regexec.c utf8.c taint.c deb.c universal.c xsutils.c \ 562f64b279aSmillert globals.c perlio.c perlapi.c numeric.c locale.c pp_pack.c pp_sort.c 563dfa561d1Smillert 564c946dc39SmickeyCPPFLAGS+= -DPERL_CORE -DPERL_RANDOM_DEVICE=\"/dev/arandom\" -I. 565dfa561d1Smillert 5668e90cb18Skstailey.if defined (INSTALL_STRIP) && ${INSTALL_STRIP} == "-s" 567f64b279aSmillertSTRIPFLAGS='-s' 5688e90cb18Skstailey.endif 5698e90cb18Skstailey 570e303ea98SmillertMLINKS= c2ph.1 pstruct.1 s2p.1 psed.1 \ 571a8c1763aSespie Getopt::Std.3p getopt.3p Getopt::Std.3p getopts.3p \ 572a8c1763aSespie File::Basename.3p dirname.3p File::Basename.3p basename.3p \ 573a8c1763aSespie File::Basename.3p fileparse.3p 5744a4f25f9Sdownsj 575f999f944Smillert# NOTE: config.sh *must* be first 576f999f944SmillertGENERATED= config.sh config.h cflags makeaperl makedepend makedir \ 577bfe329a6Smillert myconfig writemain Makefile Policy.sh pod/Makefile \ 578bfe329a6Smillert x2p/Makefile x2p/cflags 5794a4f25f9Sdownsj 580d174550eSespieCLEANFILES= config.sh Policy.sh ${MANALL} ${PSALL} ${MANSRCALL} stamp-mansrc.build 5814a4f25f9Sdownsj 582c946dc39Smickey.if !exists(${.OBJDIR}/config.over) 583c946dc39Smickey${.OBJDIR}/config.over: ${.CURDIR}/config.over 584c946dc39Smickey ${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper ${.CURDIR} 585c946dc39Smickey.endif 5864a4f25f9Sdownsj 587d174550eSespiestamp-mansrc.build: 588d174550eSespie @cd ${.CURDIR} && exec ${MAKE} -f Makefile.bsd-wrapper mansrc.build 589d174550eSespie @touch $@ 590d174550eSespie 591d174550eSespieall: perl.build ${MANSRC_COOKIE} man.build 5920c474c1aSespie 5930c474c1aSespieman.build: ${MANALL} ${PSALL} 594ca15c2caSmillert 5957f397bf6Smillertbeforedepend: config.sh config.h 5967f397bf6Smillert 597dfa561d1Smillertperl.build: perl.lib 598935efb38Sespie cd ${.OBJDIR} && exec ${MAKE} 5994a4f25f9Sdownsj 600c946dc39Smickeyconfig.sh: ${.OBJDIR}/config.over 601935efb38Sespie cd ${.OBJDIR} && PATH="/bin:/usr/bin:/sbin:/usr/sbin" \ 602f64b279aSmillert exec /bin/sh Configure ${CONFIGURE_ARGS} 603e2e5c5d3Smillert 604e2e5c5d3SmillertPolicy.sh: 605935efb38Sespie cd ${.OBJDIR} && exec /bin/sh Policy_sh.SH 6064a4f25f9Sdownsj 6074a4f25f9SdownsjMakefile: 608935efb38Sespie cd ${.OBJDIR} && exec /bin/sh Makefile.SH 6094a4f25f9Sdownsj 6104a4f25f9Sdownsjcflags: 611935efb38Sespie cd ${.OBJDIR} && exec /bin/sh cflags.SH 6124a4f25f9Sdownsj 6134a4f25f9Sdownsjconfig.h: 614935efb38Sespie cd ${.OBJDIR} && exec /bin/sh config_h.SH 6154a4f25f9Sdownsj 6164a4f25f9Sdownsjmakeaperl: 617935efb38Sespie cd ${.OBJDIR} && exec /bin/sh makeaperl.SH 6184a4f25f9Sdownsj 6194a4f25f9Sdownsjmakedepend: 620935efb38Sespie cd ${.OBJDIR} && exec /bin/sh makedepend.SH 6214a4f25f9Sdownsj 6224a4f25f9Sdownsjmakedir: 623935efb38Sespie cd ${.OBJDIR} && exec /bin/sh makedir.SH 6244a4f25f9Sdownsj 625e2e5c5d3Smillertmyconfig: 626935efb38Sespie cd ${.OBJDIR} && exec /bin/sh myconfig.SH 6274a4f25f9Sdownsj 6284a4f25f9Sdownsjwritemain: 629935efb38Sespie cd ${.OBJDIR} && exec /bin/sh writemain.SH 6304a4f25f9Sdownsj 631bfe329a6Smillertpod/Makefile: 632bfe329a6Smillert cd ${.OBJDIR}/pod && exec /bin/sh Makefile.SH 633bfe329a6Smillert 6344a4f25f9Sdownsjx2p/Makefile: 635935efb38Sespie cd ${.OBJDIR}/x2p && exec /bin/sh Makefile.SH 6364a4f25f9Sdownsj 6374a4f25f9Sdownsjx2p/cflags: 638935efb38Sespie cd ${.OBJDIR}/x2p && exec /bin/sh cflags.SH 6394a4f25f9Sdownsj 640e2e5c5d3Smillert# Never try to regenerate perly.c or perly.h 641e2e5c5d3Smillertperly.c perly.h: perly.y 642e2e5c5d3Smillert -@true 643e2e5c5d3Smillert 6446e9cd8e2Skstailey.ifdef NOMAN 6456e9cd8e2Skstaileymaninstall: 6466e9cd8e2Skstailey @echo NOMAN is set 6476e9cd8e2Skstailey.endif 6486e9cd8e2Skstailey 649dfa561d1Smillertinstall: install.lib install.perl maninstall 650ca15c2caSmillert -mkdir -p ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd 6511cec80fdSmillert (cd ${DESTDIR}/usr/include; ${H2PH} \ 652ca15c2caSmillert -d ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd \ 6532ac6f607Smillert `find . -name '*.h'`; \ 6542ac6f607Smillert pax -rw `find . -type l \! -name '*.h' | sed 's/^..//'` \ 6552ac6f607Smillert ${DESTDIR}/usr/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd) 656ca15c2caSmillert -chmod -R a+rX ${DESTDIR}/usr/libdata/perl5 6574a4f25f9Sdownsj 6586f311859Sniklasinstall.perl: 659d174550eSespie cd ${.OBJDIR}; INSTALL=${INSTALL} INSTALL_COPY=${INSTALL_COPY} \ 660f64b279aSmillert STRIPFLAGS=${STRIPFLAGS} INSTALLFLAGS=-o NOLIBINSTALL=1 \ 661d174550eSespie LD_LIBRARY_PATH=${.OBJDIR} exec ./perl installperl --destdir=${DESTDIR} -o STRIPFLAGS=${STRIPFLAGS} 6626f311859Sniklas 66348d8cbe1Smillerttest: 66448d8cbe1Smillert -@if [ -e Makefile ]; then ${MAKE} test; fi 66548d8cbe1Smillert 6664a4f25f9Sdownsjclean: 6674a4f25f9Sdownsj -@if [ -e Makefile ]; then ${MAKE} realclean; fi 6684a4f25f9Sdownsj 6694a4f25f9Sdownsjcleandir: 670dfa561d1Smillert -@if [ ${.CURDIR} != ${.OBJDIR} ]; then \ 671dfa561d1Smillert rm -rf *; \ 672dfa561d1Smillert else \ 673dfa561d1Smillert test -e Makefile && ${MAKE} distclean; \ 674dfa561d1Smillert rm -f ${CLEANFILES}; \ 675dfa561d1Smillert fi 6764a4f25f9Sdownsj 677dfa561d1Smillert.include <bsd.lib.mk> 6784a4f25f9Sdownsj 679dfa561d1Smillert# These have to come after the inclusion of <bsd.lib.mk> 680e5cf0e49Spvalchev 681e5cf0e49Spvalchev# Need -fPIC, not -fpic on sparc 682e5cf0e49Spvalchev.if ($(TARGET_MACHINE_ARCH) == sparc) 683e5cf0e49SpvalchevPICFLAG=-fPIC 684e5cf0e49Spvalchev.endif 685e5cf0e49Spvalchev 686dfa561d1Smillertperl.lib: ${GENERATED} ${_LIBS} 6874a4f25f9Sdownsj 688dfa561d1Smillertinstall.lib: 689dfa561d1Smillert ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m 600 lib${LIB}.a \ 690dfa561d1Smillert ${DESTDIR}${LIBDIR} 691dfa561d1Smillert.if (${INSTALL_COPY} != "-p") 692dfa561d1Smillert ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a 693dfa561d1Smillert.endif 694dfa561d1Smillert chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}.a 695dfa561d1Smillert.if !defined(NOPROFILE) 696dfa561d1Smillert ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m 600 \ 697dfa561d1Smillert lib${LIB}_p.a ${DESTDIR}${LIBDIR} 698dfa561d1Smillert.if (${INSTALL_COPY} != "-p") 699dfa561d1Smillert ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_p.a 700dfa561d1Smillert.endif 701dfa561d1Smillert chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}_p.a 702dfa561d1Smillert.endif 703d78fa897Spefo.if !defined(NOPIC) && (${MACHINE_ARCH} != "mips64") 704dfa561d1Smillert ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m 600 \ 705dfa561d1Smillert lib${LIB}_pic.a ${DESTDIR}${LIBDIR} 706dfa561d1Smillert.if (${INSTALL_COPY} != "-p") 707dfa561d1Smillert ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a 708dfa561d1Smillert.endif 709dfa561d1Smillert chmod ${LIBMODE} ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a 710dfa561d1Smillert.endif 71101ff24c4Skrw.if !defined(NOPIC) && defined(major) && defined(minor) 712dfa561d1Smillert ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ 71301ff24c4Skrw lib${LIB}.so.${major}.${minor} ${DESTDIR}${LIBDIR} 714408dd954Skstailey.endif 715d174550eSespie.PHONY: perl.lib install.lib perl.build install.perl man.build mansrc.build 716