Makefile (eb9a1df2aeb866bf1de4494433b6d7e5fa07b3ae) | Makefile (aee33e58f237f0d3cfeab24295f491937f0f7c79) |
---|---|
1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at --- 7 unchanged lines hidden (view full) --- 16SRCS = $(OBJS:%.o=%.c) 17 18include ../Makefile.cmd 19include ../Makefile.ctf 20 21LDLIBS += -lofmt -lppt -lnvpair 22 23CSTD = $(CSTD_GNU99) | 1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at --- 7 unchanged lines hidden (view full) --- 16SRCS = $(OBJS:%.o=%.c) 17 18include ../Makefile.cmd 19include ../Makefile.ctf 20 21LDLIBS += -lofmt -lppt -lnvpair 22 23CSTD = $(CSTD_GNU99) |
24C99LMODE = -Xc99=%all | |
25 26CLEANFILES += $(OBJS) 27 28.KEEP_STATE: 29 30all: $(OBJS) $(PROG) 31 32install: all $(ROOTUSRSBINPROG) 33 34clean: 35 -$(RM) $(CLEANFILES) 36 | 24 25CLEANFILES += $(OBJS) 26 27.KEEP_STATE: 28 29all: $(OBJS) $(PROG) 30 31install: all $(ROOTUSRSBINPROG) 32 33clean: 34 -$(RM) $(CLEANFILES) 35 |
37lint: lint_SRCS 38 | |
39%.o: ../%.c 40 $(COMPILE.c) $< 41 $(POST_PROCESS_O) 42 43include ../Makefile.targ | 36%.o: ../%.c 37 $(COMPILE.c) $< 38 $(POST_PROCESS_O) 39 40include ../Makefile.targ |