~ubuntu-branches/ubuntu/raring/codeblocks/raring-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/devpak_plugin/bzip2/Makefile-libbz2_so

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-08-09 04:38:38 UTC
  • mfrom: (1.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100809043838-a59ygguym4eg0jgw
Tags: 10.05-0ubuntu1
* New upstream release. Closes (LP: #322350)
 - Switch to dpkg-source 3.0 (quilt) format
 - Remove unneeded README.source
 - Add debian/get-source-orig script that removes all
   Windows prebuilt binaries
* Bump Standards-Version to 3.9.1
 - Stop shipping *.la files
* debian/control
 - Add cdbs package as Build-Depend
 - Add libbz2-dev and zlib1g-dev packages as
   Build-Depends (needed by libhelp_plugin.so)
 - Remove dpatch package of Build-Depends
 - Add codeblocks-contrib-debug package
 - Split architecture-independent files of codeblocks
   package in codeblocks-common package
* debian/rules
 - Switch to CDBS rules system
 - Add parallel build support
 - Add a call to debian/get-source-orig script
 - Use lzma compression (saves 23,5 MB of free space)
* debian/patches
 - Refresh 01_codeblocks_plugin_path
 - Add 02_no_Makefiles_in_debian_dir to remove any link
   in codeblocks build system to deleted Makefiles of debian directory
 - Drop 02_ftbfs_gcc44 and 03_ftbfs_glib221 (merged in upstream)
* debian/watch
 - Update to use the new host (berlios.de)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# This Makefile builds a shared version of the library, 
3
 
# libbz2.so.1.0.1, with soname libbz2.so.1.0,
4
 
# at least on x86-Linux (RedHat 5.2), 
5
 
# with gcc-2.7.2.3.  Please see the README file for some 
6
 
# important info about building the library like this.
 
3
# libbz2.so.1.0.4, with soname libbz2.so.1.0,
 
4
# at least on x86-Linux (RedHat 7.2), 
 
5
# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98).  
 
6
# Please see the README file for some important info 
 
7
# about building the library like this.
 
8
 
 
9
# ------------------------------------------------------------------
 
10
# This file is part of bzip2/libbzip2, a program and library for
 
11
# lossless, block-sorting data compression.
 
12
#
 
13
# bzip2/libbzip2 version 1.0.5 of 10 December 2007
 
14
# Copyright (C) 1996-2007 Julian Seward <jseward@bzip.org>
 
15
#
 
16
# Please read the WARNING, DISCLAIMER and PATENTS sections in the 
 
17
# README file.
 
18
#
 
19
# This program is released under the terms of the license contained
 
20
# in the file LICENSE.
 
21
# ------------------------------------------------------------------
 
22
 
7
23
 
8
24
SHELL=/bin/sh
9
25
CC=gcc
10
26
BIGFILES=-D_FILE_OFFSET_BITS=64
11
 
CFLAGS=-fpic -fPIC -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
 
27
CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
12
28
 
13
29
OBJS= blocksort.o  \
14
30
      huffman.o    \
19
35
      bzlib.o
20
36
 
21
37
all: $(OBJS)
22
 
        $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.1 $(OBJS)
23
 
        $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.1
 
38
        $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
 
39
        $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4
24
40
        rm -f libbz2.so.1.0
25
 
        ln -s libbz2.so.1.0.1 libbz2.so.1.0
 
41
        ln -s libbz2.so.1.0.4 libbz2.so.1.0
26
42
 
27
43
clean: 
28
 
        rm -f $(OBJS) bzip2.o libbz2.so.1.0.1 libbz2.so.1.0 bzip2-shared
 
44
        rm -f $(OBJS) bzip2.o libbz2.so.1.0.4 libbz2.so.1.0 bzip2-shared
29
45
 
30
46
blocksort.o: blocksort.c
31
47
        $(CC) $(CFLAGS) -c blocksort.c