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
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2015 Joyent, Inc.
14 #
15
16 UTSBASE = ../..
17
18 LX_CMN = $(SRC)/common/brand/lx
19
20 MODULE = lx_devfs
21 OBJECTS = $(LX_DEVFS_OBJS:%=$(OBJS_DIR)/%)
22 LINTS = $(LX_DEVFS_OBJS:%.o=$(LINTS_DIR)/%.ln)
23 ROOTMODULE = $(USR_FS_DIR)/$(MODULE)
24
25 INC_PATH += -I$(UTSBASE)/common/brand/lx -I$(LX_CMN)
26
27 include $(UTSBASE)/intel/Makefile.intel
28
29 ALL_TARGET = $(BINARY)
30 LINT_TARGET = $(MODULE).lint
31 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
32
33 CFLAGS += $(CCVERBOSE)
34
35 LDFLAGS += -dy -Nbrand/lx_brand
36
37 .KEEP_STATE:
38
39 def: $(DEF_DEPS)
40
41 all: $(ALL_DEPS)
42
43 clean: $(CLEAN_DEPS)
44
45 clobber: $(CLOBBER_DEPS)
46
47 lint: $(LINT_DEPS)
48
49 modlintlib: $(MODLINTLIB_DEPS)
50
51 clean.lint: $(CLEAN_LINT_DEPS)
52
53 install: $(INSTALL_DEPS)
54
55 include $(UTSBASE)/intel/Makefile.targ
56
57 include $(UTSBASE)/intel/lx_devfs/Makefile.rules