~ubuntu-branches/ubuntu/utopic/linuxlogo/utopic

« back to all changes in this revision

Viewing changes to libsysinfo-0.2.1/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Reichle-Schmehl
  • Date: 2010-03-10 11:25:34 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100310112534-sbweh2jsk041w73u
Tags: 5.10-1
* New upstream release.
* Drop patches/01-s390x.patch and patches/02-sh.patch
  (both were pplied upstream)
* remove quilt, as we don't have any more patches
* Add $remote_fs to Required-Start and Required-Stop of the init scripts
  LSB header
* Bump standards version (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include Makefile.default
2
 
 
3
 
all:   libsysinfo.a
4
 
 
5
 
clean:
6
 
        rm -f *.o *~
7
 
        rm -f libsysinfo.a libsysinfo.so config.h
8
 
        cd AIX && $(MAKE) clean
9
 
        cd Linux && $(MAKE) clean
10
 
        cd FreeBSD && $(MAKE) clean
11
 
        cd Irix && $(MAKE) clean
12
 
        cd SunOS && $(MAKE) clean
13
 
        cd w32 && $(MAKE) clean
14
 
        cd all && $(MAKE) clean
15
 
        
16
 
distclean: clean
17
 
        rm -f Makefile.default  
18
 
        
19
 
 
20
 
install:        
21
 
 
22
 
 
23
 
libsysinfo.a:   Linux/cpuinfo_alpha.c \
24
 
                Linux/cpuinfo_ia64.c \
25
 
                Linux/cpuinfo_ppc.c \
26
 
                Linux/cpuinfo_vax.c \
27
 
                Linux/cpuinfo_arm.c \
28
 
                Linux/cpuinfo_m68k.c \
29
 
                Linux/cpuinfo_s390.c \
30
 
                Linux/cpuinfo_x86_64.c \
31
 
                Linux/cpuinfo_avr32.c \
32
 
                Linux/cpuinfo_mips.c \
33
 
                Linux/cpuinfo_sh3.c \
34
 
                Linux/cpuinfo_x86.c \
35
 
                Linux/cpuinfo_cris.c \
36
 
                Linux/cpuinfo_parisc.c \
37
 
                Linux/cpuinfo_sparc.c \
38
 
                Linux/sysinfo_linux.c 
39
 
        cd all && $(MAKE)
40
 
        cd $(OS) && $(MAKE)
41
 
        $(CROSS)$(AR) crus libsysinfo.a ./$(OS)/*.o ./all/*.o
42
 
 
43
 
shared: libsysinfo.a
44
 
        ld -shared -o libsysinfo.so ./$(OS)/*.o ./all/*.o