-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major new updated to libmseed v3 (#12)
- Loading branch information
1 parent
c55c780
commit 41c9705
Showing
323 changed files
with
42,513 additions
and
22,298 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"C_Cpp.default.includePath": [ | ||
"libmseed" | ||
] | ||
} |
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,12 +1,32 @@ | ||
# Automatically configure URL support if libcurl is present | ||
# Test for curl-config command and add build options if found | ||
# Prefer /usr/bin/curl-config over any other curl-config | ||
ifndef WITHOUTURL | ||
ifneq (,$(wildcard /usr/bin/curl-config)) | ||
CURL_CONFIG := /usr/bin/curl-config | ||
else ifneq (,$(shell command -v curl-config)) | ||
CURL_CONFIG := $(shell command -v curl-config) | ||
endif | ||
endif | ||
|
||
DIRS = libmseed src | ||
|
||
all clean install :: | ||
@for d in $(DIRS) ; do \ | ||
echo "Running $(MAKE) $@ in $$d" ; \ | ||
if [ -f $$d/Makefile -o -f $$d/makefile ] ; \ | ||
then ( cd $$d && $(MAKE) $@ ) ; \ | ||
elif [ -d $$d ] ; \ | ||
then ( echo "ERROR: no Makefile/makefile in $$d for $(CC)" ) ; \ | ||
fi ; \ | ||
done | ||
ifneq (,$(CURL_CONFIG)) | ||
export LM_CURL_VERSION=$(shell $(CURL_CONFIG) --version) | ||
export CFLAGS:=$(CFLAGS) -DLIBMSEED_URL | ||
export LDFLAGS:=$(LDFLAGS) $(shell $(CURL_CONFIG) --libs) | ||
$(info Configured with $(LM_CURL_VERSION)) | ||
endif | ||
|
||
.PHONY: all clean | ||
all clean: libmseed | ||
$(MAKE) -C src $@ | ||
|
||
.PHONY: libmseed | ||
libmseed: | ||
$(MAKE) -C $@ $(MAKECMDGOALS) | ||
|
||
.PHONY: install | ||
install: | ||
@echo | ||
@echo "No install method" | ||
@echo "Copy the binary and documentation to desired location" | ||
@echo |
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
Oops, something went wrong.