default: get_bootp_info get_bootp_info.arch

metrics: get_bootp_info.M
	
get_bootp_info: get_bootp_info.c
	$(CC) -Aa -D_HPUX_SOURCE -o get_bootp_info get_bootp_info.c

get_bootp_info.arch: get_bootp_info.c
	$(CC) -Wl,-a,archive -D_HPUX_SOURCE -Aa -o get_bootp_info.arch get_bootp_info.c

get_bootp_info.M: get_bootp_info.c
	$(METRICS) -Aa -o get_bootp_info.M get_bootp_info.c
	rm -f get_bootp_info.arch.M
	ln get_bootp_info.M get_bootp_info.arch.M 

clean:
	rm *.o

clobber: clean
	rm -f get_bootp_info get_bootp_info.arch get_bootp_info.M \
	    get_bootp_info.arch.M
