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

« back to all changes in this revision

Viewing changes to libsysinfo-0.1.0/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.defaults
2
 
 
3
 
OS =   $(shell uname)
4
 
 
5
 
all:   libsysinfo.a
6
 
 
7
 
clean:
8
 
        rm -f *.o *~
9
 
        rm -f libsysinfo.a libsysinfo.so config.h
10
 
        cd Linux && $(MAKE) clean
11
 
        cd FreeBSD && $(MAKE) clean
12
 
        cd Irix && $(MAKE) clean
13
 
        cd all && $(MAKE) clean
14
 
        rm -f os
15
 
 
16
 
install:        
17
 
 
18
 
 
19
 
libsysinfo.a:   
20
 
        cd all && $(MAKE)
21
 
        cd $(OS) && $(MAKE)
22
 
        ar crus libsysinfo.a ./$(OS)/*.o ./all/*.o
23
 
 
24
 
shared: libsysinfo.a
25
 
        ld -shared -o libsysinfo.so ./$(OS)/*.o ./all/*.o