ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/plugins/solaris/Makefile
Revision: 1.4
Committed: Mon Mar 18 14:17:20 2002 UTC (23 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.3: +3 -3 lines
Log Message:
Can't statically link because there's no libkstat.a on our solaris 8. But,
I really want libukcprog statically linked in, so we'll just add it to the
list of files we give to link.

File Contents

# Content
1 # $Id: Makefile,v 1.3 2002/03/14 17:05:53 pajs Exp $
2
3 # where libukcprog can be found for compiling
4 LIBUKCPROG = ../libukcprog
5
6 CFLAGS = -O3 -Wall
7
8 INCLUDES = -I${LIBUKCPROG}
9 LIBS = ${LIBUKCPROG}/libukcprog.a -lkstat
10
11 all: solaris
12
13 ${LIBUKCPROG}/libukcprog.a:
14 cd ${LIBUKCPROG} && $(MAKE) libukcprog.a
15
16 solaris.o: solaris.c ${LIBUKCPROG}/ukcprog.h
17 ${CC} ${CFLAGS} -c ${INCLUDES} solaris.c
18
19 solaris: solaris.o ${LIBUKCPROG}/libukcprog.a
20 ${CC} ${CFLAGS} -o solaris solaris.o ${LIBS}
21
22 clean:
23 rm -f solaris solaris.o
24 cd ${LIBUKCPROG} && $(MAKE) clean