-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| include ../../Makefile.include | ||
| DEPS= ../../Makefile.include Makefile | ||
|
|
||
| # lib name, version | ||
| LIBNAME=platform | ||
| VERSION=1.0.4 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
opdenkamp
Author
Member
|
||
| SOURCE=$(LIBNAME)-$(VERSION) | ||
| ARCHIVE=$(SOURCE).tar.gz | ||
|
|
||
| LIBDYLIB=$(PLATFORM)/build/src/$(LIBNAME).a | ||
|
|
||
| all: .installed-$(PLATFORM) | ||
|
|
||
| $(TARBALLS_LOCATION)/$(ARCHIVE): | ||
| cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) | ||
|
|
||
| $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) | ||
| rm -rf $(PLATFORM); mkdir -p $(PLATFORM)/build | ||
| cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
| cd $(PLATFORM)/build; $(CMAKE) -DBUILD_SHARED_LIBS=0 -DCMAKE_INSTALL_LIBDIR=$(PREFIX)/lib .. | ||
|
|
||
| $(LIBDYLIB): $(PLATFORM) | ||
| $(MAKE) -C $(PLATFORM)/build | ||
|
|
||
| .installed-$(PLATFORM): $(LIBDYLIB) | ||
| $(MAKE) -C $(PLATFORM)/build install | ||
| touch $@ | ||
|
|
||
| clean: | ||
| rm -rf $(PLATFORM) .installed-$(PLATFORM) | ||
|
|
||
| distclean:: | ||
| rm -rf $(PLATFORM) .installed-$(PLATFORM) | ||
|
|
||
@opdenkamp args - this tarball isn't on our mirrors - while jenkins might have that tarball in its cache i can'T compile on one of my rigs here ...