aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/freetype2/builds/os2
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/extras/freetype2/builds/os2
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/extras/freetype2/builds/os2')
-rw-r--r--nx-X11/extras/freetype2/builds/os2/detect.mk72
-rw-r--r--nx-X11/extras/freetype2/builds/os2/os2-def.mk54
-rw-r--r--nx-X11/extras/freetype2/builds/os2/os2-dev.mk31
-rw-r--r--nx-X11/extras/freetype2/builds/os2/os2-gcc.mk26
4 files changed, 183 insertions, 0 deletions
diff --git a/nx-X11/extras/freetype2/builds/os2/detect.mk b/nx-X11/extras/freetype2/builds/os2/detect.mk
new file mode 100644
index 000000000..97e4bc972
--- /dev/null
+++ b/nx-X11/extras/freetype2/builds/os2/detect.mk
@@ -0,0 +1,72 @@
+#
+# FreeType 2 configuration file to detect an OS/2 host platform.
+#
+
+
+# Copyright 1996-2000, 2003 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
+.PHONY: setup
+
+
+ifeq ($(PLATFORM),ansi)
+
+ ifdef OS2_SHELL
+
+ PLATFORM := os2
+
+ endif # test OS2_SHELL
+endif
+
+ifeq ($(PLATFORM),os2)
+
+ COPY := copy
+ DELETE := del
+ SEP := $(BACKSLASH)
+
+ # gcc-emx by default
+ CONFIG_FILE := os2-gcc.mk
+
+ # additionally, we provide hooks for various other compilers
+ #
+ ifneq ($(findstring visualage,$(MAKECMDGOALS)),) # Visual Age C++
+ CONFIG_FILE := os2-icc.mk
+ CC := icc
+ visualage: setup
+ .PHONY: visualage
+ endif
+
+ ifneq ($(findstring watcom,$(MAKECMDGOALS)),) # Watcom C/C++
+ CONFIG_FILE := os2-wat.mk
+ CC := wcc386
+ watcom: setup
+ .PHONY: watcom
+ endif
+
+ ifneq ($(findstring borlandc,$(MAKECMDGOALS)),) # Borland C++ 32-bit
+ CONFIG_FILE := os2-bcc.mk
+ CC := bcc32
+ borlandc: setup
+ .PHONY: borlandc
+ endif
+
+ ifneq ($(findstring devel,$(MAKECMDGOALS)),) # development target
+ CONFIG_FILE := os2-dev.mk
+ CC := gcc
+ devel: setup
+ .PHONY: devel
+ endif
+
+ setup: dos_setup
+
+endif # test PLATFORM os2
+
+
+# EOF
diff --git a/nx-X11/extras/freetype2/builds/os2/os2-def.mk b/nx-X11/extras/freetype2/builds/os2/os2-def.mk
new file mode 100644
index 000000000..26bf6a913
--- /dev/null
+++ b/nx-X11/extras/freetype2/builds/os2/os2-def.mk
@@ -0,0 +1,54 @@
+#
+# FreeType 2 OS/2 specific definitions
+#
+
+
+# Copyright 1996-2000, 2003 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
+DELETE := del
+SEP := $(strip \ )
+BUILD_DIR := $(TOP_DIR)/builds/os2
+PLATFORM := os2
+
+
+# The directory where all object files are placed.
+#
+# This lets you build the library in your own directory with something like
+#
+# set TOP_DIR=.../path/to/freetype2/top/dir...
+# set OBJ_DIR=.../path/to/obj/dir
+# make -f %TOP_DIR%/Makefile setup [options]
+# make -f %TOP_DIR%/Makefile
+#
+ifndef OBJ_DIR
+ OBJ_DIR := $(TOP_DIR)/objs
+endif
+
+
+# The directory where all library files are placed.
+#
+# By default, this is the same as $(OBJ_DIR); however, this can be changed
+# to suit particular needs.
+#
+LIB_DIR := $(OBJ_DIR)
+
+# The name of the final library file. Note that the DOS-specific Makefile
+# uses a shorter (8.3) name.
+#
+LIBRARY := $(PROJECT)
+
+
+# The NO_OUTPUT macro is used to ignore the output of commands.
+#
+NO_OUTPUT = 2> nul
+
+
+# EOF
diff --git a/nx-X11/extras/freetype2/builds/os2/os2-dev.mk b/nx-X11/extras/freetype2/builds/os2/os2-dev.mk
new file mode 100644
index 000000000..96890fa0b
--- /dev/null
+++ b/nx-X11/extras/freetype2/builds/os2/os2-dev.mk
@@ -0,0 +1,31 @@
+#
+# FreeType 2 configuration rules for OS/2 + GCC
+#
+# Development version without optimizations.
+#
+
+
+# Copyright 1996-2000, 2003 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
+ifndef TOP_DIR
+ TOP_DIR := .
+endif
+
+include $(TOP_DIR)/builds/os2/os2-def.mk
+BUILD_DIR := $(TOP_DIR)/devel
+
+include $(TOP_DIR)/builds/compiler/gcc-dev.mk
+
+# include linking instructions
+include $(TOP_DIR)/builds/link_dos.mk
+
+
+# EOF
diff --git a/nx-X11/extras/freetype2/builds/os2/os2-gcc.mk b/nx-X11/extras/freetype2/builds/os2/os2-gcc.mk
new file mode 100644
index 000000000..446073e4f
--- /dev/null
+++ b/nx-X11/extras/freetype2/builds/os2/os2-gcc.mk
@@ -0,0 +1,26 @@
+#
+# FreeType 2 configuration rules for the OS/2 + gcc
+#
+
+
+# Copyright 1996-2000 by
+# David Turner, Robert Wilhelm, and Werner Lemberg.
+#
+# This file is part of the FreeType project, and may only be used, modified,
+# and distributed under the terms of the FreeType project license,
+# LICENSE.TXT. By continuing to use, modify, or distribute this file you
+# indicate that you have read the license and understand and accept it
+# fully.
+
+
+# include OS/2-specific definitions
+include $(TOP_DIR)/builds/os2/os2-def.mk
+
+# include gcc-specific definitions
+include $(TOP_DIR)/builds/compiler/gcc.mk
+
+# include linking instructions
+include $(TOP_DIR)/builds/link_dos.mk
+
+
+# EOF