xref: /titanic_41/usr/src/lib/libresolv2/include/Makefile (revision 25cf1a301a396c38e8adf52c15f537b80d2483f7)
1#
2# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
3# Use is subject to license terms.
4#
5# ident	"%Z%%M%	%I%	%E% SMI"
6#
7
8include		../../../Makefile.master
9
10HDRS=		os_version.h port_ipv6.h
11TMPHDRS=	new_os_version.h new_port_ipv6.h
12
13all :=		TARGET= all
14clean :=	TARGET= clean
15clobber :=	TARGET= clobber
16install :=	TARGET= install
17
18.KEEP_STATE:
19
20all lint: $(HDRS)
21
22install: all
23
24clean:
25	$(RM) $(HDRS) $(TMPHDRS)
26
27clobber: clean
28
29# os_version.h and port_ipv6.h should be rebuilt when you change OS
30# revision. Since that's not easily expressed as a dependency, we
31# rebuild them every time.
32
33os_version.h: make_os_version FRC
34	$(CHMOD) a+x make_os_version
35	./make_os_version
36
37port_ipv6.h: probe_ipv6 FRC
38	$(CHMOD) a+x probe_ipv6
39	CC="$(CC)" ./probe_ipv6
40
41FRC:
42