File: config.nocygwin

package info (click to toggle)
gle-graphics 4.2.4c-6
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,156 kB
  • ctags: 11,510
  • sloc: cpp: 76,204; sh: 3,151; makefile: 590; perl: 486; lisp: 142; ansic: 8; xml: 7
file content (67 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# config file for gcc and make
#

EXTRA_DEFS	  =-D __WIN32__ -D __NOCYGWIN__ -Wreturn-type
OBJ_SUFF	  =o
CC		  =gcc
CXX		  =gcc
EXE_SUFF	  =.exe
AR		  =ar
RM		  =rm -rf
RMDIR		  =rm -rf
MKDIR		  =mkdir

INSTALL_DIR       =C:\Program Files\gle4
INSTALL_DIR2      =C:\\\\Program Files\\\\gle4
PATH_SEP	=/

ROOT_INSTALL_DIR  =$(GLE_RPM_ROOT)$(INSTALL_DIR)

#
# other global defines
#
PROJECT_BINDIR 	= ../../build
PROJECT_LIBDIR 	= ../../lib
PROJECT_INCDIR 	= ../../include

#
# GLE_TOP does not need to be defined anymore during compile
#
GLE_TOP         = ../../build

EXTRA_INCLUDE_PATHS	=
EXTRA_LIB_PATHS		=
LIBS			=-lstdc++

ifdef GNUWIN32DIR
	EXTRA_INCLUDE_PATHS := $(EXTRA_INCLUDE_PATHS) -I"$(GNUWIN32DIR)/include"
	EXTRA_LIB_PATHS	:= $(EXTRA_LIB_PATHS) -L"$(GNUWIN32DIR)/lib"
endif

ifdef HAVE_LIBTIFF
	EXTRA_DEFS		:= $(EXTRA_DEFS) -D HAVE_LIBTIFF
	ifdef LIBTIFFDIR
		EXTRA_INCLUDE_PATHS	:= $(EXTRA_INCLUDE_PATHS) -I$(LIBTIFFDIR)
		EXTRA_LIB_PATHS	:= $(EXTRA_LIB_PATHS) -L$(LIBTIFFDIR)
	endif
	LIBS			:= $(LIBS) -ltiff
endif

ifdef HAVE_LIBPNG
	EXTRA_DEFS		:= $(EXTRA_DEFS) -D HAVE_LIBPNG
	ifdef LIBPNGDIR
		EXTRA_INCLUDE_PATHS	:= $(EXTRA_INCLUDE_PATHS) -I$(LIBPNGDIR) -I$(ZLIBDIR)
		EXTRA_LIB_PATHS	:= $(EXTRA_LIB_PATHS) -L$(LIBPNGDIR)
	endif
	ifdef ZLIBDIR
		EXTRA_LIB_PATHS	:= $(EXTRA_LIB_PATHS) -L$(ZLIBDIR)
	endif
	LIBS			:= $(LIBS) -lpng -lz -ljpeg
endif

-include extraconfig.nocygwin

LINK_OPTS       =-mno-cygwin
CXXFLAGS	=-O2 -I/home/jan/libs/install/include $(VERSION_INFO) $(EXTRA_INCLUDE_PATHS) $(EXTRA_DEFS) -mno-cygwin
LINKFLAGS	=-L/home/jan/libs/install/lib $(EXTRA_LIB_PATHS) -static $(LIBS)