PHP 8.2.31
Preview: rules.mk Size: 1.27 KB
//proc/thread-self/root/opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/rules.mk

# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html#License
#
# Copyright (c) 2002-2012 IBM, Inc. and others
# sample code rules for a single-target simple sample

# list of targets that aren't actually created
.PHONY: all clean distclean check report 

all: $(ALL_SUBDIR) $(RESTARGET) $(TARGET)  

$(TARGET): $(OBJECTS)
	$(LINK.cc) $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS) -licui18n -licuuc

$(RESTARGET): $(RESFILES)
	$(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST)

res-install: $(RESTARGET)
	$(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST) --install $(shell icu-config --libdir)

# clean out files
distclean clean: $(CLEAN_SUBDIR)
	-test -z "$(CLEANFILES)" || rm -rf $(CLEANFILES)
	-rm -rf $(OBJECTS) $(TARGET) $(RESTARGET) $(RESFILES)

# Make check: simply runs the sample, logged to a file
check: $(ALL_SUBDIR) $(RESTARGET) $(TARGET)
	$(INVOKE) $(CHECK_VARS) ./$(TARGET) $(CHECK_ARGS) | tee $(TARGET).out

## resources
%.res: %.txt
	@echo "generating $@"
	$(GENRB) $(GENRBOPT) $^

$(RESNAME)/%.res: %.txt
	@echo "generating $@"
	$(GENRB) $(GENRBOPT) $^

## Some platforms don't have .cpp as a default suffix, so add the rule here
%.o:	%.cpp
	$(COMPILE.cc) $< $(OUTPUT_OPTION)

Directory Contents

Dirs: 27 × Files: 5

Name Size Perms Modified Actions
all DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
break DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
cal DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
case DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
citer DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
coll DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
csdet DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
date DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
datecal DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
datefmt DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
layout DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
legacy DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
msgfmt DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
numfmt DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
props DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
strsrch DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
translit DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
uciter8 DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
ucnv DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
udata DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
ufortune DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
ugrep DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
uresb DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
ustring DIR
- drwxr-xr-x 2024-03-03 22:40:17
Edit Download
1.16 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
2.98 KB lrw-r--r-- 2019-11-07 06:56:56
Edit Download
2.99 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
2.78 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
1.27 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).