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# --- 39 unchanged lines hidden (view full) --- 48main: main.o prov.o 49 cc -o main main.o 50 51main.o: main.c 52 cc -c main.c 53 54 55livelib.so: livelib.o prov.o |
56 cc -shared -o livelib.so livelib.o prov.o -lc |
57 58livelib.o: livelib.c prov.h 59 cc -c livelib.c 60 61prov.o: livelib.o prov.d 62 $dtrace -G -s prov.d livelib.o 63 64prov.h: prov.d 65 $dtrace -h -s prov.d 66 67 68deadlib.so: deadlib.o |
69 cc -shared -o deadlib.so deadlib.o -lc |
70 71deadlib.o: deadlib.c 72 cc -c deadlib.c 73 74clean: 75 rm -f main.o livelib.o prov.o prov.h deadlib.o 76 77clobber: clean --- 85 unchanged lines hidden --- |