ICU-212 out-of-source build. Added a rule to build ../data/%.o files

that will work with out-of-source build directories.

X-SVN-Rev: 726
This commit is contained in:
Yves Arrouye 2000-02-07 20:57:10 +00:00
parent 247a2b7c11
commit fd7833f781
9 changed files with 26 additions and 0 deletions

View File

@ -53,6 +53,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : %.u
@$(SHELL) -ec 'cat $< \

View File

@ -39,6 +39,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -42,6 +42,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -43,6 +43,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -49,6 +49,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -39,6 +39,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -94,6 +94,8 @@ LIBICU-TOOLUTIL=$(top_builddir)/tools/toolutil/libicu-toolutil.x
%.o :$(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : %.u

View File

@ -41,6 +41,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"

View File

@ -39,6 +39,9 @@ LIBICU-TOOLUTIL=-L$(top_builddir)/tools/toolutil -licu-toolutil
%.o : $(srcdir)/%.cpp
$(COMPILE.cc) -o $@ $<
../data/%.o : ../data/%.c
$(COMPILE.c) -o $@ $<
## Dependency rules
%.d : $(srcdir)/%.c
@echo "Generating dependency information for $<"