import af443b859d
Update Makefile to remove OSX build diretives. We build for OSX just like its Linux now. Those wishing to build the app bundle should use setup/apple/Makefile.
This commit is contained in:
parent
8c6ea03ea3
commit
814b1acafd
8
Makefile
8
Makefile
|
|
@ -243,8 +243,6 @@ ifeq ($(OS),Darwin)
|
||||||
# workaround: we have no "ldd" for OS X, so...
|
# workaround: we have no "ldd" for OS X, so...
|
||||||
LDD =
|
LDD =
|
||||||
OTOOL = otool
|
OTOOL = otool
|
||||||
|
|
||||||
INSTALLDIR := $(INSTALLDIR_BASE)/NetRadiant.app/Contents/MacOS/install
|
|
||||||
else
|
else
|
||||||
|
|
||||||
$(error Unsupported build OS: $(OS))
|
$(error Unsupported build OS: $(OS))
|
||||||
|
|
@ -1085,7 +1083,6 @@ $(INSTALLDIR)/heretic2/h2data.$(EXE): \
|
||||||
install-data: binaries
|
install-data: binaries
|
||||||
$(MKDIR) $(INSTALLDIR)/games
|
$(MKDIR) $(INSTALLDIR)/games
|
||||||
$(FIND) $(INSTALLDIR_BASE)/ -name .svn -exec $(RM_R) {} \; -prune
|
$(FIND) $(INSTALLDIR_BASE)/ -name .svn -exec $(RM_R) {} \; -prune
|
||||||
[ "$(OS)" != "Darwin" ] || $(CP_R) setup/data/osx/NetRadiant.app/* $(INSTALLDIR_BASE)/NetRadiant.app/
|
|
||||||
DOWNLOAD_GAMEPACKS="$(DOWNLOAD_GAMEPACKS)" GIT="$(GIT)" SVN="$(SVN)" WGET="$(WGET)" RM_R="$(RM_R)" MV="$(MV)" UNZIPPER="$(UNZIPPER)" ECHO="$(ECHO)" SH="$(SH)" CP="$(CP)" CP_R="$(CP_R)" $(SH) install-gamepacks.sh "$(INSTALLDIR)"
|
DOWNLOAD_GAMEPACKS="$(DOWNLOAD_GAMEPACKS)" GIT="$(GIT)" SVN="$(SVN)" WGET="$(WGET)" RM_R="$(RM_R)" MV="$(MV)" UNZIPPER="$(UNZIPPER)" ECHO="$(ECHO)" SH="$(SH)" CP="$(CP)" CP_R="$(CP_R)" $(SH) install-gamepacks.sh "$(INSTALLDIR)"
|
||||||
$(ECHO) $(RADIANT_MINOR_VERSION) > $(INSTALLDIR)/RADIANT_MINOR
|
$(ECHO) $(RADIANT_MINOR_VERSION) > $(INSTALLDIR)/RADIANT_MINOR
|
||||||
$(ECHO) $(RADIANT_MAJOR_VERSION) > $(INSTALLDIR)/RADIANT_MAJOR
|
$(ECHO) $(RADIANT_MAJOR_VERSION) > $(INSTALLDIR)/RADIANT_MAJOR
|
||||||
|
|
@ -1099,14 +1096,9 @@ ifeq ($(OS),Win32)
|
||||||
install-dll: binaries
|
install-dll: binaries
|
||||||
MKDIR="$(MKDIR)" CP="$(CP)" CAT="$(CAT)" GTKDIR="$(GTKDIR)" WHICHDLL="$(WHICHDLL)" INSTALLDIR="$(INSTALLDIR)" $(SH) $(DLLINSTALL)
|
MKDIR="$(MKDIR)" CP="$(CP)" CAT="$(CAT)" GTKDIR="$(GTKDIR)" WHICHDLL="$(WHICHDLL)" INSTALLDIR="$(INSTALLDIR)" $(SH) $(DLLINSTALL)
|
||||||
else
|
else
|
||||||
ifeq ($(OS),Darwin)
|
|
||||||
install-dll: binaries
|
|
||||||
EXE="$(EXE)" MACLIBDIR="$(MACLIBDIR)" CP="$(CP)" OTOOL="$(OTOOL)" INSTALLDIR="$(INSTALLDIR)" $(SH) install-dylibs.sh
|
|
||||||
else
|
|
||||||
install-dll: binaries
|
install-dll: binaries
|
||||||
@$(ECHO) No DLL inclusion implemented for this target.
|
@$(ECHO) No DLL inclusion implemented for this target.
|
||||||
endif
|
endif
|
||||||
endif
|
|
||||||
|
|
||||||
# release building... NOT for general users
|
# release building... NOT for general users
|
||||||
# these may use tools not in the list that is checked by the build system
|
# these may use tools not in the list that is checked by the build system
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user