summaryrefslogtreecommitdiff
path: root/iup/srcview/config.mak
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-04 11:56:41 -0800
committerPixel <pixel@nobis-crew.org>2009-11-04 11:59:33 -0800
commitd577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch)
tree590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/srcview/config.mak
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/srcview/config.mak')
-rwxr-xr-xiup/srcview/config.mak59
1 files changed, 59 insertions, 0 deletions
diff --git a/iup/srcview/config.mak b/iup/srcview/config.mak
new file mode 100755
index 0000000..4967582
--- /dev/null
+++ b/iup/srcview/config.mak
@@ -0,0 +1,59 @@
+PROJNAME = iup
+APPNAME = iupview
+OPT = YES
+
+SRC = iup_view.c
+
+IUP := ..
+
+LINKER = $(CPPC)
+
+USE_CD = Yes
+USE_IUPCONTROLS = Yes
+USE_IUP3 = Yes
+
+# ifdef USE_GTK
+# ifndef GTK_DEFAULT
+# # Build GTK version in IRIX,SunOS,AIX,Win32
+# APPNAME = iupviewgtk
+# endif
+# else
+# ifdef GTK_DEFAULT
+# # Build Motif version in Linux,Darwin,FreeBSD
+# USE_MOTIF = Yes
+# APPNAME = iupviewmot
+# endif
+# endif
+
+ifeq "$(TEC_UNAME)" "SunOS510x86"
+ DEFINES = USE_NO_OPENGL
+else
+ USE_OPENGL = Yes
+endif
+
+USE_IM = Yes
+ifdef USE_IM
+ DEFINES += USE_IM
+ ifneq ($(findstring Win, $(TEC_SYSNAME)), )
+ LIBS = iupim iupimglib
+ else
+ IUPLIB = $(IUP)/lib/$(TEC_UNAME)
+ SLIB = $(IUPLIB)/libiupim.a $(IUPLIB)/libiupimglib.a
+ endif
+endif
+
+USE_STATIC = Yes
+
+ifneq ($(findstring Win, $(TEC_SYSNAME)), )
+ SRC += ../etc/iup.rc
+endif
+
+INCLUDES = ../src
+
+ifeq ($(TEC_UNAME), vc8)
+ ifdef DBG
+ #debug info not working for vc8 linker
+ define DBG
+ endef
+ endif
+endif