ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/ihost-perl/plugins/freebsd/Makefile
Revision: 1.3
Committed: Thu Apr 4 17:17:17 2002 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.2: +3 -1 lines
Log Message:
Fixed Makefile to do the setgid and group kmem. Probably is, you probably
gotta be root for that to work :/

File Contents

# Content
1 # $Id: Makefile,v 1.2 2002/03/28 17:42:05 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 = -L${LIBUKCPROG} -lukcprog -lkvm
10
11 all: freebsd
12
13 ${LIBUKCPROG}/libukcprog.a:
14 cd ${LIBUKCPROG} && $(MAKE) libukcprog.a
15
16 freebsd.o: freebsd.c ${LIBUKCPROG}/ukcprog.h
17 ${CC} ${CFLAGS} -c ${INCLUDES} freebsd.c
18
19 freebsd: freebsd.o ${LIBUKCPROG}/libukcprog.a
20 ${CC} -static ${CFLAGS} -o freebsd freebsd.o ${LIBS}
21 chgrp kmem freebsd
22 chmod g+s freebsd
23
24 clean:
25 rm -f freebsd freebsd.o
26 cd ${LIBUKCPROG} && $(MAKE) clean