Skip to content

Commit e28fca0

Browse files
committed
add optdata/sigdata
1 parent 2843c4f commit e28fca0

File tree

4 files changed

+16
-25
lines changed

4 files changed

+16
-25
lines changed

src/fsharp/FSharp.Compiler.Interactive.Settings/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include @abs_top_builddir@/config.make
88

99
include $(topdir)/src/fsharp/targets.make
1010

11-
install: install-gac-lib install-gac-lib-net40
11+
install: install-gac-lib install-sdk-lib
1212

1313

1414

src/fsharp/FSharp.Compiler.Server.Shared/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include @abs_top_builddir@/config.make
88

99
include $(topdir)/src/fsharp/targets.make
1010

11-
install: install-gac-lib install-gac-lib-net40
11+
install: install-gac-lib install-sdk-lib
1212

1313

1414

src/fsharp/FSharp.Core/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ include @abs_top_builddir@/config.make
99

1010
include $(topdir)/src/fsharp/targets.make
1111

12-
install: install-gac-lib install-gac-lib-net40
12+
install: install-gac-lib install-sdk-lib
1313

1414

src/fsharp/targets.make

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -110,25 +110,6 @@ install-gac-lib:
110110
ln -fs ../../../../../../gac/$(NAME)/$(VERSION)__$(TOKEN)/$(NAME).dll $(DESTDIR)$(gacdir)/Reference\ Assemblies/Microsoft/FSharp/3.0/Runtime/.NETPortable/$(NAME).dll; \
111111
fi
112112

113-
# Also place some .NET 4.5 libraries into .NET 4.0.
114-
install-gac-lib-net40:
115-
@if test '$(TargetFramework)' = 'net40'; then \
116-
if test -e $(DESTDIR)$(gacdir)/4.0/; then \
117-
ln -fs ../4.5/$(ASSEMBLY) $(DESTDIR)$(gacdir)/4.0/$(ASSEMBLY); \
118-
if test -e $(DESTDIR)$(gacdir)/4.5/$(ASSEMBLY).config; then \
119-
ln -fs ../4.5/$(ASSEMBLY).config $(DESTDIR)$(gacdir)/4.0/$(ASSEMBLY).config; \
120-
fi; \
121-
if test -e $(DESTDIR)$(gacdir)/4.5/$(NAME).sigdata; then \
122-
ln -fs ../4.5/$(NAME).sigdata $(DESTDIR)$(gacdir)/4.0/$(NAME).sigdata; \
123-
fi; \
124-
if test -e $(DESTDIR)$(gacdir)/4.5/$(NAME).xml; then \
125-
ln -fs ../4.5/$(NAME).xml $(DESTDIR)$(gacdir)/4.0/$(NAME).xml; \
126-
fi; \
127-
if test -e $(DESTDIR)$(gacdir)/4.5/$(NAME).optdata; then \
128-
ln -fs ../4.5/$(NAME).optdata $(DESTDIR)$(gacdir)/4.0/$(NAME).optdata; \
129-
fi; \
130-
fi \
131-
fi
132113

133114
install-sdk-lib:
134115
@echo "Installing $(ASSEMBLY)"
@@ -205,15 +186,25 @@ install-sdk-lib:
205186
$(INSTALL_LIB) $(outdir)$(NAME).xml $(DESTDIR)$(gacdir)/fsharp; \
206187
else \
207188
if test -e $(outdir)$(NAME).dll; then \
208-
echo "Installing $(outdir)$(NAME).dll to $(DESTDIR)$(gacdir)/fsharp/"; \
209-
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
210-
$(INSTALL_LIB) $(outdir)$(NAME).dll $(DESTDIR)$(gacdir)/fsharp/; \
189+
echo "Installing $(outdir)$(NAME).dll to $(DESTDIR)$(gacdir)/fsharp/"; \
190+
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
191+
$(INSTALL_LIB) $(outdir)$(NAME).dll $(DESTDIR)$(gacdir)/fsharp/; \
211192
fi; \
212193
if test -e $(outdir)$(NAME).xml; then \
213194
echo "Installing $(outdir)$(NAME).xml into $(DESTDIR)$(gacdir)/fsharp/"; \
214195
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
215196
$(INSTALL_LIB) $(outdir)$(NAME).xml $(DESTDIR)$(gacdir)/fsharp/; \
216197
fi; \
198+
if test -e $(outdir)$(NAME).sigdata; then \
199+
echo "Installing $(outdir)$(NAME).sigdata into $(DESTDIR)$(gacdir)/fsharp/"; \
200+
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
201+
$(INSTALL_LIB) $(outdir)$(NAME).sigdata $(DESTDIR)$(gacdir)/fsharp/; \
202+
fi; \
203+
if test -e $(outdir)$(NAME).optdata; then \
204+
echo "Installing $(outdir)$(NAME).optdata into $(DESTDIR)$(gacdir)/fsharp/"; \
205+
mkdir -p $(DESTDIR)$(gacdir)/fsharp/; \
206+
$(INSTALL_LIB) $(outdir)$(NAME).optdata $(DESTDIR)$(gacdir)/fsharp/; \
207+
fi; \
217208
fi
218209

219210
# The binaries fsc.exe and fsi.exe only get installed for Mono 4.5 profile

0 commit comments

Comments
 (0)