-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [misc] update readspss.Rproj * [misc] sync with openssl 2.3.0 by @jeroen * [misc] update Rbuildignore * [write] restore writing character variables longer than 8 characters
- Loading branch information
Showing
6 changed files
with
60 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,9 @@ | |
.lintr | ||
^configure.log$ | ||
^README.Rmd$ | ||
^windows$ | ||
^src/Makevars$ | ||
.*\.so | ||
.*\.dll | ||
.*\.o | ||
.*\.a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Version: 1.0 | ||
ProjectId: ee071c55-283a-4646-997f-e2262c923500 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
PKG_CONFIG ?= $(BINPREF)pkg-config | ||
OPENSSL_LIBS := $(shell $(PKG_CONFIG) --libs openssl) | ||
|
||
ifneq ($(OPENSSL_LIBS),) | ||
$(info using OpenSSL from Rtools) | ||
OPENSSL_CFLAGS := $(shell $(PKG_CONFIG) --cflags openssl) | ||
else | ||
RWINLIB = ../windows/libssl | ||
TARGET = lib$(subst gcc,,$(COMPILED_BY))$(R_ARCH) | ||
PKG_CPPFLAGS = -I$(RWINLIB)/include -DOPENSSL_SUPPRESS_DEPRECATED | ||
OPENSSL_CFLAGS = -I$(RWINLIB)/include -DOPENSSL_SUPPRESS_DEPRECATED | ||
OPENSSL_LIBS = -L$(RWINLIB)/$(TARGET) -L$(RWINLIB)/lib -lssl -lcrypto -lws2_32 -lcrypt32 | ||
endif | ||
|
||
PKG_LIBS = \ | ||
-L$(RWINLIB)/$(TARGET) \ | ||
-L$(RWINLIB)/lib \ | ||
-lssl -lcrypto -lz -lws2_32 -lcrypt32 | ||
PKG_CPPFLAGS = $(OPENSSL_CFLAGS) -DOPENSSL_SUPPRESS_DEPRECATED | ||
PKG_LIBS = $(OPENSSL_LIBS) -lz | ||
|
||
#all: clean | ||
all: $(SHLIB) | ||
|
||
$(OBJECTS): winlibs | ||
$(OBJECTS): $(RWINLIB) | ||
|
||
$(SHLIB): $(OBJECTS) | ||
|
||
winlibs: | ||
$(RWINLIB): | ||
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R" | ||
|
||
clean: | ||
rm -f $(SHLIB) $(OBJECTS) | ||
|
||
.PHONY: all clean winlibs | ||
.PHONY: all clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters