Makefile (7014882c) Makefile (b6805bf7)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
8#

--- 15 unchanged lines hidden (view full) ---

24# All rights reserved.
25#
26
27include ../../Makefile.fstype
28
29INCLUDES= roll_log.h
30SRCS= roll_log.c
31OBJS= $(SRCS:%.c=$(MACH)/%.o)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License"). You may not use this file except in compliance
7# with the License.
8#

--- 15 unchanged lines hidden (view full) ---

24# All rights reserved.
25#
26
27include ../../Makefile.fstype
28
29INCLUDES= roll_log.h
30SRCS= roll_log.c
31OBJS= $(SRCS:%.c=$(MACH)/%.o)
32POFILE= roll_log.po
32
33CERRWARN += -_gcc=-Wno-switch
34
33
34CERRWARN += -_gcc=-Wno-switch
35
35CLOBBERFILES= $(OBJS)
36
37.KEEP_STATE:
38
39all install: $(MACH) .WAIT $(OBJS)
40
41$(OBJS): $(INCLUDES)
42
43$(MACH):
44 $(MKDIR) -p $@
45
46$(MACH)/%.o: %.c
47 $(COMPILE.c) -o $@ $<
48
49lint: lint_SRCS
50
36.KEEP_STATE:
37
38all install: $(MACH) .WAIT $(OBJS)
39
40$(OBJS): $(INCLUDES)
41
42$(MACH):
43 $(MKDIR) -p $@
44
45$(MACH)/%.o: %.c
46 $(COMPILE.c) -o $@ $<
47
48lint: lint_SRCS
49
51clean clobber:
50clean: