# Comment out -DNLS if you don't want International support.
# For International support you must have `gencat' installed somewhere
# in your path.

CFLAGS=-O6 -s -N -DNLS

hostid: hostid.c
	# Making Hostid
	@gcc $(CFLAGS) -o $@ $< 2>/dev/null||\
	echo "Upgrade your libraries.!! hostid not supported in your libc"

hostid.cat: hostid.m
	gencat -new $@ $<

hostid.h: hostid.m
	gencat -new /dev/null $< -h $@
