83a0542b5b
- added PKGDATA_TRAILING_SPACE to all of the pkgdataMakefile.in file. - NOTE: Users who create their own pkgdata.inc / icupkg.inc files may need to recreate this PKGDATA_TRAILING_SPACE behavior. - used the above variable, normally undefined, in mh-* files that need a trailing space - Also, fixed use of system() in pkgdata.cpp per ICU-20538 This was causing pkgdata to return a zero status even on clang failure, masking this issue.
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
## pkgdataMakefile.in for ICU data
|
|
## Copyright (C) 2016 and later: Unicode, Inc. and others.
|
|
## License & terms of use: http://www.unicode.org/copyright.html
|
|
## Copyright (c) 2008-2012, International Business Machines Corporation and
|
|
## others. All Rights Reserved.
|
|
|
|
## Source directory information
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
|
|
# So that you have $(top_builddir)/config.status
|
|
top_builddir = ..
|
|
|
|
## All the flags and other definitions are included here.
|
|
include $(top_builddir)/icudefs.mk
|
|
|
|
OUTPUTFILE=pkgdata.inc
|
|
MIDDLE_SO_TARGET=
|
|
PKGDATA_TRAILING_SPACE=" "
|
|
|
|
all : clean
|
|
@echo GENCCODE_ASSEMBLY_TYPE=$(GENCCODE_ASSEMBLY) >> $(OUTPUTFILE)
|
|
@echo SO=$(SO) >> $(OUTPUTFILE)
|
|
@echo SOBJ=$(SOBJ) >> $(OUTPUTFILE)
|
|
@echo A=$(A) >> $(OUTPUTFILE)
|
|
@echo LIBPREFIX=$(LIBPREFIX)$(STATIC_PREFIX_WHEN_USED) >> $(OUTPUTFILE)
|
|
@echo LIB_EXT_ORDER=$(FINAL_SO_TARGET) >> $(OUTPUTFILE)
|
|
@echo COMPILE="$(COMPILE.c)" >> $(OUTPUTFILE)
|
|
@echo LIBFLAGS="-I$(prefix)/include $(SHAREDLIBCPPFLAGS) $(SHAREDLIBCFLAGS)" >> $(OUTPUTFILE)
|
|
@echo GENLIB="$(SHLIB.c)" >> $(OUTPUTFILE)
|
|
@echo LDICUDTFLAGS=$(LDFLAGSICUDT) >> $(OUTPUTFILE)
|
|
@echo LD_SONAME=$(LD_SONAME) >> $(OUTPUTFILE)
|
|
@echo RPATH_FLAGS=$(RPATH_FLAGS) >> $(OUTPUTFILE)
|
|
@echo BIR_LDFLAGS=$(BIR_LDFLAGS) >> $(OUTPUTFILE)
|
|
@echo AR=$(AR) >> $(OUTPUTFILE)
|
|
@echo ARFLAGS=$(ARFLAGS) >> $(OUTPUTFILE)
|
|
@echo RANLIB=$(RANLIB) >> $(OUTPUTFILE)
|
|
@echo INSTALL_CMD=$(INSTALL-L) >> $(OUTPUTFILE)
|
|
|
|
clean :
|
|
$(RMV) $(OUTPUTFILE)
|
|
|