-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bc3432
commit 353645a
Showing
327 changed files
with
41,454 additions
and
21,867 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
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,13 +1,23 @@ | ||
# Automatically configure URL support if libcurl is present | ||
# Test for curl-config command and add build options if so | ||
ifneq (,$(shell command -v 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 | ||
|
||
DIRS = libmseed src | ||
.PHONY: all clean | ||
all clean: libmseed | ||
$(MAKE) -C src $@ | ||
|
||
all clean static install gcc gcc32 gcc64 debug gccdebug gcc32debug gcc64debug :: | ||
@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 | ||
.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
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.