~ubuntu-branches/ubuntu/trusty/linuxlogo/trusty

« back to all changes in this revision

Viewing changes to libsysinfo-0.2.1/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-06-20 09:19:00 UTC
  • mfrom: (4.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080620091900-4xzuv7c7ntxvs7wt
Tags: 5.03-4
* Adding patch to fix FTBFS on s390x.
* Updating to standards 3.8.0.

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:   
 
24
        cd all && $(MAKE)
 
25
        cd $(OS) && $(MAKE)
 
26
        $(CROSS)$(AR) crus libsysinfo.a ./$(OS)/*.o ./all/*.o
 
27
 
 
28
shared: libsysinfo.a
 
29
        ld -shared -o libsysinfo.so ./$(OS)/*.o ./all/*.o