/[openvortex]/alsa/Rules.make
ViewVC logotype

Diff of /alsa/Rules.make

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:09 2003 UTC revision 1.3 by vizard, Sun Jun 15 21:01:27 2003 UTC
# Line 91  ifdef USE_STANDARD_AS_RULE Line 91  ifdef USE_STANDARD_AS_RULE
91    
92  endif  endif
93    
94    %.c: %.patch
95            @xtmp="$(MODCURDIR)"; \
96            if [ "$${xtmp:0:5}" = "acore" ]; then \
97                    xtmp1=$${xtmp:6} ; \
98                    if [ ! -z "$${xtmp1}" ]; then xtmp1="$${xtmp1}/" ; fi ; \
99                    echo "coping file alsa-kernel/core/$${xtmp1}$@"; \
100                    cp $(TOPDIR)/alsa-kernel/core/$${xtmp1}$@ $@; \
101            else \
102                    echo "Coping file alsa-kernel/core/$${xtmp}/$@"; \
103                    cp $(TOPDIR)/alsa-kernel/$${xtmp}/$@ $@; \
104            fi
105            @patch -p0 -i $<
106    
107  %.isapnp: %.c  %.isapnp: %.c
108          $(CPP) -C -D__KERNEL__ $(CFLAGS) $(EXTRA_CFLAGS) -D__isapnp_now__ -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) $(CFLAGS_$@) $< | $(TOPDIR)/utils/convert_isapnp_ids > $@          $(CPP) -C -D__KERNEL__ $(CFLAGS) $(EXTRA_CFLAGS) -D__isapnp_now__ -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) $(CFLAGS_$@) $(CFLAGS_$@) $< | $(TOPDIR)/utils/convert_isapnp_ids > $@
109    
# Line 133  $(ld-multi-used-m) : %.o: $(ld-multi-obj Line 146  $(ld-multi-used-m) : %.o: $(ld-multi-obj
146  #  #
147  # This make dependencies quickly  # This make dependencies quickly
148  #  #
149  fastdep: $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) update-sndversions  fastdep: $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) update-sndversions $(depend-files)
150  ifneq "$(strip $(depend-files))" ""  ifneq "$(strip $(depend-files))" ""
151                  $(CC) -M -D__KERNEL__ -D__isapnp_now__ $(CFLAGS) $(EXTRA_CFLAGS) $(depend-files) > .depend                  $(CC) -M -D__KERNEL__ -D__isapnp_now__ $(CFLAGS) $(EXTRA_CFLAGS) $(depend-files) > .depend
152  endif  endif
# Line 304  endif # CONFIG_MODULES Line 317  endif # CONFIG_MODULES
317    
318  .PHONY: clean1  .PHONY: clean1
319  clean1:  clean1:
320          rm -f .depend *.o *.isapnp          rm -f .depend *.o *.isapnp $(EXTRA_CLEAN)
321    
322  .PHONY: clean  .PHONY: clean
323  clean: $(patsubst %,_sfclean_%,$(ALL_SUB_DIRS)) clean1  clean: $(patsubst %,_sfclean_%,$(ALL_SUB_DIRS)) clean1

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26