diff options
| author | 2015-07-14 21:52:52 +0200 | |
|---|---|---|
| committer | 2015-07-14 21:52:52 +0200 | |
| commit | 910f0215e82c19cbd0c007f77ec007528e3eb3d0 (patch) | |
| tree | 9a058f274776856f79cdbbf0410f2f8cad9f42b5 /makefile | |
| parent | 24bfd3e8e85e5415ea9569ccc34ce81f89888fca (diff) | |
Add NetBSD support.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -296,6 +296,10 @@ ifeq ($(TARGETOS),freebsd) OSD := sdl endif +ifeq ($(TARGETOS),netbsd) +OSD := sdl +endif + ifeq ($(TARGETOS),solaris) OSD := sdl endif @@ -1005,6 +1009,26 @@ freebsd_x86: generate $(PROJECTDIR)/gmake-freebsd/Makefile #------------------------------------------------- +# gmake-netbsd +#------------------------------------------------- + + +$(PROJECTDIR)/gmake-netbsd/Makefile: makefile $(SCRIPTS) $(GENIE) + $(SILENT) $(GENIE) $(PARAMS) --gcc=netbsd --gcc_version=$(GCC_VERSION) gmake + +.PHONY: netbsd_x64 +netbsd_x64: generate $(PROJECTDIR)/gmake-netbsd/Makefile + $(SILENT) $(MAKE) -C $(PROJECTDIR)/gmake-netbsd config=$(CONFIG)64 + +.PHONY: netbsd +netbsd: netbsd_x86 + +.PHONY: netbsd_x86 +netbsd_x86: generate $(PROJECTDIR)/gmake-netbsd/Makefile + $(SILENT) $(MAKE) -C $(PROJECTDIR)/gmake-netbsd config=$(CONFIG)32 + + +#------------------------------------------------- # Clean/bootstrap #------------------------------------------------- |
