From dc3d156303d1e65819952d1b9110e6791cd4137e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 13 Jun 2025 19:48:03 -0300 Subject: Replace src/urubu/ucd.go with "ucdx" dependency --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3c52833..cfced13 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,6 @@ sources.mo = $(sources.po:.po=.mo) existing = \ src/urubu/utf8 \ - src/urubu/ucd \ src/urubu/error \ src/urubu/compressor \ src/urubu/spec/grammar \ @@ -88,7 +87,6 @@ xtests = \ tests/unit/driver/parser/parser.go \ xmains = \ - src/urubu/cmd/ucdgen \ src/urubu/cmd/vartan \ src/urubu/cmd/vartan-go \ @@ -153,23 +151,23 @@ $(libs.a): src/$(NAME).go src/meta.go $(existing.a): - go tool compile -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go + go tool compile $(GOCFLAGS) -I src -o $@ -p `echo $* | sed 's,^src/,,'` $*.go $(xtests.a): p="`echo $(*D) | sed 's,^tests/unit/,,'`"; \ - go tool compile -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go + go tool compile $(GOCFLAGS) -I src -o $@ -p $(*F) src/urubu/$$p.go $*.go $(xmains.a): go tool compile -I src -o $@ -p main $*/*.go $(xmains.bin): - go tool link -L src -o $@ --extldflags '$(LDLIBS)' $*.a + go tool link $(GOLDFLAGS) -L src -o $@ --extldflags '$(LDLIBS)' $*.a $(xtmains.a): go tool compile -I $(@D) -o $@ -p main $*.go $(xtmains.bin): - go tool link -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a + go tool link $(GOLDFLAGS) -L $(@D) -L src -o $@ --extldflags '$(LDLIBS)' $*.a $(fuzz/lib.a): go tool compile $(GOCFLAGS) -o $@ -p $(NAME) -d=libfuzzer \ -- cgit v1.2.3