1#!/bin/ksh -p 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License (the "License"). 7# You may not use this file except in compliance with the License. 8# --- 34 unchanged lines hidden (view full) --- 43main: main.o prov.o 44 cc -o main main.o 45 46main.o: main.c 47 cc -c main.c 48 49 50livelib.so: livelib.o prov.o |
51 cc -shared -o livelib.so livelib.o prov.o -lc |
52 53livelib.o: livelib.c prov.h 54 cc -c livelib.c 55 56prov.o: livelib.o prov.d 57 $dtrace -G -s prov.d livelib.o 58 59prov.h: prov.d 60 $dtrace -h -s prov.d 61 62 63deadlib.so: deadlib.o |
64 cc -shared -o deadlib.so deadlib.o -lc |
65 66deadlib.o: deadlib.c 67 cc -c deadlib.c 68 69clean: 70 rm -f main.o livelib.o prov.o prov.h deadlib.o 71 72clobber: clean --- 88 unchanged lines hidden --- |