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

« back to all changes in this revision

Viewing changes to libsysinfo-0.1.0/SunOS/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
 
##############################################################
2
 
#  Makefile for libsysinfo-0.0.1  -- by Vince Weaver         #
3
 
#                                                            #
4
 
#  To modify for your configuration, add or remove the #     #
5
 
#                                                            #
6
 
##############################################################
7
 
 
8
 
#Your compiler.  If gcc doesn't work, try CC
9
 
CC = gcc
10
 
 
11
 
C_FLAGS = -O2 -Wall -I.. -I. -I../include
12
 
 
13
 
all:    ../libsysinfo.a
14
 
 
15
 
../libsysinfo.a:        sysinfo_solaris.o
16
 
        ar crus ../libsysinfo.a sysinfo_solaris.o
17
 
        ranlib ../libsysinfo.a
18
 
 
19
 
sysinfo_solaris.o:      sysinfo_solaris.c
20
 
        $(CC) $(C_FLAGS) -c sysinfo_solaris.c
21
 
 
22
 
clean:  
23
 
        rm -f *~ *.o ../libsysinfo.a libsysinfo_arch.a
24