mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
Change org names, add makefile rule for Mac to build new UI.
This commit is contained in:
parent
5ec8465374
commit
c175a5fcd7
1 changed files with 9 additions and 5 deletions
14
make-mac.mk
14
make-mac.mk
|
@ -28,8 +28,8 @@ ifeq ($(ZT_OFFICIAL_RELEASE),1)
|
||||||
ZT_USE_MINIUPNPC=1
|
ZT_USE_MINIUPNPC=1
|
||||||
CODESIGN=codesign
|
CODESIGN=codesign
|
||||||
PRODUCTSIGN=productsign
|
PRODUCTSIGN=productsign
|
||||||
CODESIGN_APP_CERT="Developer ID Application: ZeroTier Networks LLC (8ZD9JUCZ4V)"
|
CODESIGN_APP_CERT="Developer ID Application: ZeroTier, Inc (8ZD9JUCZ4V)"
|
||||||
CODESIGN_INSTALLER_CERT="Developer ID Installer: ZeroTier Networks LLC (8ZD9JUCZ4V)"
|
CODESIGN_INSTALLER_CERT="Developer ID Installer: ZeroTier, Inc (8ZD9JUCZ4V)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ZT_ENABLE_CLUSTER),1)
|
ifeq ($(ZT_ENABLE_CLUSTER),1)
|
||||||
|
@ -61,7 +61,7 @@ endif
|
||||||
|
|
||||||
CXXFLAGS=$(CFLAGS) -mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++
|
CXXFLAGS=$(CFLAGS) -mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++
|
||||||
|
|
||||||
all: one
|
all: one macui
|
||||||
|
|
||||||
one: $(OBJS) service/OneService.o one.o
|
one: $(OBJS) service/OneService.o one.o
|
||||||
$(CXX) $(CXXFLAGS) -o zerotier-one $(OBJS) service/OneService.o one.o $(LIBS)
|
$(CXX) $(CXXFLAGS) -o zerotier-one $(OBJS) service/OneService.o one.o $(LIBS)
|
||||||
|
@ -71,6 +71,11 @@ one: $(OBJS) service/OneService.o one.o
|
||||||
$(CODESIGN) -f -s $(CODESIGN_APP_CERT) zerotier-one
|
$(CODESIGN) -f -s $(CODESIGN_APP_CERT) zerotier-one
|
||||||
$(CODESIGN) -vvv zerotier-one
|
$(CODESIGN) -vvv zerotier-one
|
||||||
|
|
||||||
|
macui: FORCE
|
||||||
|
cd macui && xcodebuild -target "ZeroTier One" -configuration Release
|
||||||
|
$(CODESIGN) -f -s $(CODESIGN_APP_CERT) "macui/build/Release/ZeroTier One.app"
|
||||||
|
$(CODESIGN) -vvv "macui/build/Release/ZeroTier One.app"
|
||||||
|
|
||||||
cli: FORCE
|
cli: FORCE
|
||||||
$(CXX) $(CXXFLAGS) -o zerotier cli/zerotier.cpp osdep/OSUtils.cpp node/InetAddress.cpp node/Utils.cpp node/Salsa20.cpp node/Identity.cpp node/SHA512.cpp node/C25519.cpp -lcurl
|
$(CXX) $(CXXFLAGS) -o zerotier cli/zerotier.cpp osdep/OSUtils.cpp node/InetAddress.cpp node/Utils.cpp node/Salsa20.cpp node/Identity.cpp node/SHA512.cpp node/C25519.cpp -lcurl
|
||||||
$(STRIP) zerotier
|
$(STRIP) zerotier
|
||||||
|
@ -93,10 +98,9 @@ official: FORCE
|
||||||
make ZT_OFFICIAL_RELEASE=1 mac-dist-pkg
|
make ZT_OFFICIAL_RELEASE=1 mac-dist-pkg
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.dSYM build-* *.pkg *.dmg *.o node/*.o controller/*.o service/*.o osdep/*.o ext/http-parser/*.o ext/lz4/*.o ext/json-parser/*.o $(OBJS) zerotier-one zerotier-idtool zerotier-selftest zerotier-cli zerotier ZeroTierOneInstaller-* mkworld doc/node_modules
|
rm -rf *.dSYM build-* *.pkg *.dmg *.o node/*.o controller/*.o service/*.o osdep/*.o ext/http-parser/*.o ext/lz4/*.o ext/json-parser/*.o $(OBJS) zerotier-one zerotier-idtool zerotier-selftest zerotier-cli zerotier ZeroTierOneInstaller-* mkworld doc/node_modules macui/build
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -rf doc/node_modules
|
|
||||||
|
|
||||||
# For those building from source -- installs signed binary tap driver in system ZT home
|
# For those building from source -- installs signed binary tap driver in system ZT home
|
||||||
install-mac-tap: FORCE
|
install-mac-tap: FORCE
|
||||||
|
|
Loading…
Add table
Reference in a new issue