~ubuntu-branches/ubuntu/vivid/oss4/vivid

« back to all changes in this revision

Viewing changes to phpmake/functions.php

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis, Samuel Thibault, Romain Beauxis, Sebastien NOEL
  • Date: 2011-06-14 10:06:56 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110614100656-cx4oc7u426zn812z
Tags: 4.2-build2004-1
[ Samuel Thibault ]
* debian/control: Add liboss4-salsa2, liboss4-salsa-dev and
  liboss4-salsa-asound2 packages, equivalent to (and will replace) those from
  the oss-libsalsa package (Closes: #589127).
* debian/patches/liboss4-salsa.patch: New patch to rename libsalsa into
  liboss4-salsa to avoid conflicts in the archive for no good reason.
* debian/rules: Make in libOSSlib and libsalsa.
* debian/liboss4-salsa-dev.install, debian/liboss4-salsa2.install,
  debian/liboss4-salsa-asound2.links, debian/liboss4-salsa-dev.links:
  Install liboss4-salsa libraries like was done in the oss-libsalsa package.
* include-alsa: Add a copy of ALSA 1.0.5 headers: Cf ALSA_1.0.* symbols in
  libsalsa, this is the roughly supported version.
* debian/copyright: Update for new include-alsa files.
* alsa.pc: New file for compatibility with libasound-dev.
* debian/control:
  - Add Vcs-Browser and Vcs-Svn fields.
  - Use linux-any instead of the list of Linux archs (Closes: #604679).
  - Make dkms dependency linux-any only.
* debian/patches/hurd_iot.patch: New patch to fix soundcard.h usage in
  libsalsa on hurd-i386.
* debian/patches/libsalsa_fixes.patch: New patch to fix some printf usages
  and ioctl declaration in libsalsa.
* debian/patches/no_EBADE.patch: New patch to cope with hurd-i386 not having
  EBADE.
* debian/patches/CFLAGS.patch: New patch to make oss4 take debian/rules
  CFLAGS into account.
* debian/patches/snd_asoundlib_version.patch: New patch to add
  snd_asoundlib_version().
* debian/patches/generic_srccconf.patch: New patch to fix source
  configuration on unknown archs.

[ Romain Beauxis ]
* Fixed README.Debian to only mention dkms' modules.
* Switch to dpkg-source 3.0 (quilt) format
* Added DM-Upload-Allowed: yes

[ Sebastien NOEL ]
* New upstream release (Closes: #595298, #619272).
* Fix typo in initscript (Closes: #627149).
* debian/control: adjust linux-headers dependencies (Closes: #628879).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
function phpmake_makefile_top_rules()
 
4
{
 
5
 echo "# Generated from Makefile.php by phpmake v" . PHPMAKE_VERSION . "\n";
 
6
 echo "# PHPMAKE_LIBPATH = " . getenv("PHPMAKE_LIBPATH") . "\n";
 
7
 echo "# Project = " . getenv("PHPMAKE_PROJECT") . "\n";
 
8
 echo "\n";
 
9
/*
 
10
 * Generate the default rules and settings to be located
 
11
 * in the beginning of Makefile
 
12
 */
 
13
 
 
14
 echo "\n";
 
15
 echo "# ** Start of phpmake definitions\n";
 
16
 echo ".SUFFIXES: .PHc .PHh .PHinc .inc\t# PHP source files\n";
 
17
 echo "PHP=php\n";
 
18
 echo "PHPMAKE_PROJECT=" . getenv("PHPMAKE_PROJECT") . "\n";
 
19
 echo "PHPMAKE_LIBPATH=" . getenv("PHPMAKE_LIBPATH") . "\n";
 
20
 echo "# ** End of phpmake definitions\n";
 
21
}
 
22
 
 
23
function phpmake_makefile_rules()
 
24
{
 
25
 echo "\n";
 
26
 echo "# ** Start of phpmake generated rules\n";
 
27
 echo "\n";
 
28
 echo ".PHc.c:\n";
 
29
 echo "\t" . 'PHPMAKE_PROJECT=$(PHPMAKE_PROJECT) PHPMAKE_LIBPATH=$(PHPMAKE_LIBPATH) $(PHP) $< > $@' . "\n";
 
30
 echo "\n";
 
31
 echo ".PHh.h:\n";
 
32
 echo "\t" . 'PHPMAKE_PROJECT=$(PHPMAKE_PROJECT) PHPMAKE_LIBPATH=$(PHPMAKE_LIBPATH) $(PHP) $< > $@' . "\n";
 
33
 echo "\n";
 
34
 echo ".PHinc.inc:\n";
 
35
 echo "\t" . 'PHPMAKE_PROJECT=$(PHPMAKE_PROJECT) PHPMAKE_LIBPATH=$(PHPMAKE_LIBPATH) $(PHP) $< > $@' . "\n";
 
36
 echo "\n";
 
37
 echo "# ** End of phpmake generated rules\n";
 
38
 echo "\n";
 
39
}
 
40
 
 
41
function phpmake_print_subdirs($subdirs)
 
42
{
 
43
        echo "SUBDIRS=";
 
44
 
 
45
        foreach($subdirs as $d)
 
46
        {
 
47
                echo $d . " ";
 
48
        }
 
49
 
 
50
        echo "\t# Automatically generated by phpmake\n";
 
51
}
 
52
 
 
53
function phpmake_init_c()
 
54
{
 
55
 echo "// Generated by phpmake v" . PHPMAKE_VERSION . "\n";
 
56
 echo "// PHPMAKE_LIBPATH = " . getenv("PHPMAKE_LIBPATH") . "\n";
 
57
 echo "// Project = " . getenv("PHPMAKE_PROJECT") . "\n";
 
58
 echo "\n";
 
59
}
 
60
 
 
61
?>