ICU-1548 more info
X-SVN-Rev: 8142
This commit is contained in:
parent
d2de27a433
commit
12c8209762
@ -28,6 +28,7 @@ CLEANFILES = *~ $(TARGET).$(SECTION) $(DEPS)
|
||||
|
||||
## Target information
|
||||
TARGET = genrb
|
||||
DERB = derb
|
||||
|
||||
ENABLE_STATIC = @ENABLE_STATIC@
|
||||
|
||||
@ -51,9 +52,10 @@ LIBS = $(LIBICUI18N) $(LIBICUTOOLUTIL) $(LIBICUUC) @LIBS@ @LIB_M@
|
||||
##OBJECTS = error.o genrb.o ustr.o parse.o read.o write.o list.o \
|
||||
##rblist.o util.o
|
||||
OBJECTS = error.o genrb.o parse.o read.o reslist.o ustr.o util.o wrtjava.o rle.o
|
||||
DERB_OBJ = derb.o
|
||||
|
||||
DEPS = $(OBJECTS:.o=.d)
|
||||
|
||||
DERB_DEPS = $(DERB_OBJ:.o=.d)
|
||||
|
||||
## List of phony targets
|
||||
.PHONY : all all-local install install-local clean clean-local \
|
||||
@ -71,17 +73,18 @@ distclean : distclean-local
|
||||
dist: dist-local
|
||||
check: all check-local
|
||||
|
||||
all-local: $(TARGET) $(MAN_FILES)
|
||||
all-local: $(TARGET) $(DERB) $(MAN_FILES)
|
||||
|
||||
install-local: all-local install-man
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
|
||||
$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) $(DERB) $(DESTDIR)$(sbindir)
|
||||
|
||||
<dist-local:
|
||||
|
||||
clean-local:
|
||||
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
||||
$(RMV) $(TARGET) $(OBJECTS)
|
||||
$(RMV) $(TARGET) $(DERB) $(OBJECTS) $(DERB_OBJ)
|
||||
|
||||
distclean-local: clean-local
|
||||
$(RMV) Makefile
|
||||
@ -95,6 +98,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK) -o $@ $^ $(LIBS)
|
||||
|
||||
$(DERB) : $(DERB_OBJ)
|
||||
$(LINK) -o $@ $^ $(LIBS)
|
||||
|
||||
|
||||
# the 'mv' will always fail if you are building in the source dir
|
||||
|
||||
@ -116,8 +122,10 @@ $(TARGET).pdf: $(TARGET).ps
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
-include $(DERB_DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -57,6 +57,10 @@ filename, e.g.
|
||||
for Japanese (Japan) data, or
|
||||
.B root.txt
|
||||
for the root bundle.
|
||||
In any case,
|
||||
.B genrb
|
||||
will produce a file whose base name is the name of the locale found
|
||||
in the resource file, not the base name of the resource file itself.
|
||||
.PP
|
||||
The binary files can be read directly by ICU, or used by
|
||||
.BR pkgdata (8)
|
||||
|
Loading…
Reference in New Issue
Block a user