Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / rom / isapnp / mmakefile.src
blobb7ea03e7a3b56b1d5aea0c73de94d9ed8d2cb5c8
1 include $(SRCDIR)/config/aros.cfg
3 FILES       := controller devices init pnp pnp_iterators pnp_structs end
5 NOWARN_FLAGS := $(NOWARN_UNUSED) $(NOWARN_UNUSED_PARAMETER)
6 USER_CFLAGS := -W -Wall -Wstrict-prototypes -fstrict-aliasing  $(NOWARN_FLAGS) -I$(GENDIR)/$(CURDIR)
7 USER_LDFLAGS := -static
9 %build_module_simple mmake=kernel-isapnp \
10     modname=isapnp modtype=resource \
11     files="$(FILES) kickstart_init"
13 # This causes generation of version.h at makedepend stage. Otherwise the build fails.
14 $(OBJDIR)/init.d: $(GENDIR)/$(CURDIR)/version.h
16 $(GENDIR)/$(CURDIR)/version.h:  version.rev version.date
17         @echo Creating $@
18         @ver=`cat $(SRCDIR)/$(CURDIR)/version.ver` \
19          rev=`cat $(SRCDIR)/$(CURDIR)/version.rev` \
20          date=`cat $(SRCDIR)/$(CURDIR)/version.date` && \
21          echo "#define VERSION $$ver" > $@ && \
22          echo "#define REVISION $$rev" >> $@ && \
23          echo "#define VERS \"$$ver.$$rev ($$date)\"" >> $@
25 %build_prog mmake=workbench-c-isapnp progname=ISApnp \
26     files=isapnp targetdir=$(AROS_C) \
27     usestartup=no
29 INCLUDE_FILES := include/isapnp.h
30 %copy_includes path=resources dir=include
32 INCLUDE_FILES := include/isapnp_protos.h
33 %copy_includes path=clib dir=include
35 %common