makepackages - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/makepackages
blob: 4400895f97f44d82628f9d9e8814c4ca92d79617 (plain)
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
68
69
70
71
72
##############################################################################
# Makefile definitions for external libraries
#
# Suitable for POSIX platforms (Linux, *BSD, OSX etc.).
# Note: the configurable options are in makeconfig.
#
# Copyright (C) 2009-2010 Francesco Abbate. See Copyright Notice in gsl-shell.c
##############################################################################
ifeq ($(HOST_SYS),Windows)
 USER_LIBS_HOME = C:/fra/sviluppo
 USER_INCLUDE = $(USER_LIBS_HOME)/include
 INCLUDES += -I$(USER_INCLUDE)
 LIBS += -L$(USER_LIBS_HOME)/lib
 AGG_INCLUDES = -I$(USER_INCLUDE)/agg2
 AGG_LIBS = -lagg -lgdi32
 FOX_INCLUDES = -I$(USER_INCLUDE)/fox-1.6
 FOX_LIBS = -lfox -lgdi32
 GSL_INCLUDES =
 GSL_LIBS = -lgsl -lblas
 FREETYPE_INCLUDES =
 FREETYPE_LIBS = -lfreetype
 PTHREADS_LIBS = -lpthread
else
 ifeq ($(HOST_SYS),Darwin)
# GWH: determined all of the following flags (except for pthread)
# using the pkg-config utility, except I had to add -lX11 to AGG_LIBS.
 AGG_INCLUDES = $(shell pkg-config libagg --cflags)
 AGG_LIBS = $(shell pkg-config libagg --libs) -lX11
# GWH: pkg-config will include "-Wl,-rpath,/opt/local/lib" in AGG_LIBS.
# If you don't include that, the code won't run unless you first do:
# export DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib
 GSL_INCLUDES = $(shell pkg-config gsl --cflags)
 GSL_LIBS = $(shell pkg-config gsl --libs)
 FOX_INCLUDES := $(shell pkg-config fox --cflags)
 FOX_LIBS = $(shell pkg-config fox --libs)
 FREETYPE_INCLUDES = $(shell pkg-config freetype2 --cflags)
 FREETYPE_LIBS = $(shell pkg-config freetype2 --libs)
 PTHREADS_LIBS = -lpthread
else
 AGG_INCLUDES = -I/usr/include/agg2
 AGG_LIBS = -lagg -lX11
 GSL_INCLUDES =
 GSL_LIBS = -lgsl -lblas
 FOX_INCLUDES := $(shell pkg-config fox --cflags)
 FOX_LIBS = $(shell pkg-config fox --libs)
 FREETYPE_INCLUDES = -I/usr/include/freetype2
 FREETYPE_LIBS = -lfreetype
 RL_INCLUDES = -I/usr/include/readline
 RL_LIBS = -ldl -lreadline -lhistory -lncurses
 PTHREADS_LIBS = -lpthread
 endif
endif
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月10日 09:32:01 +0000

AltStyle によって変換されたページ (->オリジナル) /