1 include $(TOP)/config/make.cfg
3 FILES := controller devices init pnp pnp_iterators pnp_structs end
4 USER_CFLAGS := -fstrict-aliasing -W -Wall -Wstrict-prototypes -Wno-unused -I$(GENDIR)/$(CURDIR)
6 %build_module_simple mmake=kernel-isapnp \
7 modname=isapnp modtype=resource \
8 files="$(FILES)" uselibs="rom"
10 # This causes generation of version.h at makedepend stage. Otherwise the build fails.
11 $(OBJDIR)/init.d: $(GENDIR)/$(CURDIR)/version.h
13 $(GENDIR)/$(CURDIR)/version.h: version.rev version.date
15 @ver=`cat $(SRCDIR)/$(CURDIR)/version.ver` \
16 rev=`cat $(SRCDIR)/$(CURDIR)/version.rev` \
17 date=`cat $(SRCDIR)/$(CURDIR)/version.date` && \
18 echo "#define VERSION $$ver" > $@ && \
19 echo "#define REVISION $$rev" >> $@ && \
20 echo "#define VERS \"$$ver.$$rev ($$date)\"" >> $@
22 %build_prog mmake=workbench-c-isapnp progname=ISApnp \
23 files=isapnp targetdir=$(AROS_C) \
24 uselibs="arossupport amiga rom" usestartup=no
26 INCLUDE_FILES := include/isapnp.h
27 %copy_includes path=resources dir=include
29 INCLUDE_FILES := include/isapnp_protos.h
30 %copy_includes path=clib dir=include