From 513bbe9ca27c2c3beaf315df8280586a21cae76a Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 17 May 2017 05:53:36 +0200 Subject: Fix typo: paths. --- dist/windows/mcode/Makefile.in | 22 +++++++++++----------- dist/windows/mcode/default_pathes.ads | 9 --------- dist/windows/mcode/default_paths.ads | 9 +++++++++ 3 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 dist/windows/mcode/default_pathes.ads create mode 100644 dist/windows/mcode/default_paths.ads (limited to 'dist/windows/mcode') diff --git a/dist/windows/mcode/Makefile.in b/dist/windows/mcode/Makefile.in index beb450a08..be1f11516 100644 --- a/dist/windows/mcode/Makefile.in +++ b/dist/windows/mcode/Makefile.in @@ -13,25 +13,25 @@ GRTSRCDIR=grt ####grt Makefile.inc -ghdl_mcode: default_pathes.ads $(GRT_ADD_OBJS) mmap_binding.o force +ghdl_mcode: default_paths.ads $(GRT_ADD_OBJS) mmap_binding.o force gnatmake -aIghdldrv -aIghdl -aIortho -aIgrt $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(GRT_EXTRA_LIB) -Wl,--version-script=$(GRTSRCDIR)/grt.ver -Wl,--export-dynamic mmap_binding.o: ortho/mmap_binding.c $(CC) -c -g -o $@ $< -default_pathes.ads: Makefile - echo "-- DO NOT EDIT" > tmp-dpathes.ads - echo "-- This file is created by Makefile" >> tmp-dpathes.ads - echo "package Default_Pathes is" >> tmp-dpathes.ads - echo " Prefix : constant String :=">> tmp-dpathes.ads - echo " \"$(PREFIX)/lib/ghdl/\";" >> tmp-dpathes.ads - echo "end Default_Pathes;" >> tmp-dpathes.ads - if test -r $@ && cmp tmp-dpathes.ads $@; then \ +default_paths.ads: Makefile + echo "-- DO NOT EDIT" > tmp-dpaths.ads + echo "-- This file is created by Makefile" >> tmp-dpaths.ads + echo "package Default_Paths is" >> tmp-dpaths.ads + echo " Prefix : constant String :=">> tmp-dpaths.ads + echo " \"$(PREFIX)/lib/ghdl/\";" >> tmp-dpaths.ads + echo "end Default_Paths;" >> tmp-dpaths.ads + if test -r $@ && cmp tmp-dpaths.ads $@; then \ echo "$@ unchanged"; \ else \ - mv tmp-dpathes.ads $@; \ + mv tmp-dpaths.ads $@; \ fi - $(RM) tmp-dpathes.ads + $(RM) tmp-dpaths.ads force: diff --git a/dist/windows/mcode/default_pathes.ads b/dist/windows/mcode/default_pathes.ads deleted file mode 100644 index d83addbe2..000000000 --- a/dist/windows/mcode/default_pathes.ads +++ /dev/null @@ -1,9 +0,0 @@ -with Windows_Default_Path; -pragma Elaborate_All (Windows_Default_Path); - -package Default_Pathes is - Install_Prefix : constant String := - Windows_Default_Path.Get_Windows_Exec_Path; - Lib_Prefix : constant String := "lib"; - Shared_Library_Extension : constant String := ".dll"; -end Default_Pathes; diff --git a/dist/windows/mcode/default_paths.ads b/dist/windows/mcode/default_paths.ads new file mode 100644 index 000000000..6b1d9d952 --- /dev/null +++ b/dist/windows/mcode/default_paths.ads @@ -0,0 +1,9 @@ +with Windows_Default_Path; +pragma Elaborate_All (Windows_Default_Path); + +package Default_Paths is + Install_Prefix : constant String := + Windows_Default_Path.Get_Windows_Exec_Path; + Lib_Prefix : constant String := "lib"; + Shared_Library_Extension : constant String := ".dll"; +end Default_Paths; -- cgit v1.2.3