46 # Include common rules.
47 #
48 include ../Makefile.$(ARCHDIR)
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
56
57 #
58 # Overrides and depends_on
59 #
60 MODSTUBS_DIR = $(OBJS_DIR)
61 LDFLAGS += -dy -Ndrv/stmf -Nmisc/idm -Nfs/sockfs -Nmisc/md5 -Nmisc/ksocket
62
63 C99LMODE= -Xc99=%all
64
65 CERRWARN += -_gcc=-Wno-switch
66 CERRWARN += -_gcc=-Wno-uninitialized
67 CERRWARN += -_gcc=-Wno-unused-label
68
69 #
70 # Default build targets.
71 #
72 .KEEP_STATE:
73
74 def: $(DEF_DEPS)
75
76 all: $(ALL_DEPS)
77
78 clean: $(CLEAN_DEPS)
79
80 clobber: $(CLOBBER_DEPS)
81
82 lint: $(LINT_DEPS)
83
84 modlintlib: $(MODLINTLIB_DEPS)
85
86 clean.lint: $(CLEAN_LINT_DEPS)
|
46 # Include common rules.
47 #
48 include ../Makefile.$(ARCHDIR)
49
50 #
51 # Define targets
52 #
53 ALL_TARGET = $(BINARY) $(SRC_CONFILE)
54 LINT_TARGET = $(MODULE).lint
55 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
56
57 #
58 # Overrides and depends_on
59 #
60 MODSTUBS_DIR = $(OBJS_DIR)
61 LDFLAGS += -dy -Ndrv/stmf -Nmisc/idm -Nfs/sockfs -Nmisc/md5 -Nmisc/ksocket
62
63 C99LMODE= -Xc99=%all
64
65 CERRWARN += -_gcc=-Wno-switch
66 CERRWARN += $(CNOWARN_UNINIT)
67 CERRWARN += -_gcc=-Wno-unused-label
68
69 #
70 # Default build targets.
71 #
72 .KEEP_STATE:
73
74 def: $(DEF_DEPS)
75
76 all: $(ALL_DEPS)
77
78 clean: $(CLEAN_DEPS)
79
80 clobber: $(CLOBBER_DEPS)
81
82 lint: $(LINT_DEPS)
83
84 modlintlib: $(MODLINTLIB_DEPS)
85
86 clean.lint: $(CLEAN_LINT_DEPS)
|