-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.common
83 lines (65 loc) · 2.47 KB
/
Makefile.common
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
73
74
75
76
77
78
79
80
81
82
83
-include ../silent.am
pkgdatadir = $(datadir)/hypview
hyp_srcdir = $(top_srcdir)
hyp_builddir = $(top_builddir)
LIBHYP_DEP = $(hyp_builddir)/hyp/libhyp.a
LIBHYP = -L$(hyp_builddir)/hyp -lhyp
$(LIBHYP_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/hyp libhyp.a; fi
LIBHYPDOC_DEP = $(hyp_builddir)/hyp/libhypdoc.a
LIBHYPDOC = -L$(hyp_builddir)/hyp -lhypdoc
$(LIBHYPDOC_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/hyp libhypdoc.a; fi
LIBPIC_DEP = $(hyp_builddir)/pic/libpic.a
LIBPIC = -L$(hyp_builddir)/pic -lpic
$(LIBPIC_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/pic libpic.a; fi
if NEED_ZLIB
if USE_SYSTEM_ZLIB
LIBZ_DEP =
LIBZ = -lz
else
LIBZ_DEP = $(hyp_builddir)/zlib/libz.a
LIBZ = -L$(hyp_builddir)/zlib -lz
Z_CFLAGS = -I$(top_srcdir)/zlib -DZLIB_STATIC
$(LIBZ_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/zlib libz.a; fi
endif
endif
if HAVE_PNG
if USE_SYSTEM_PNGLIB
LIBPNG_DEP =
LIBPNG = -lpng
else
LIBPNG_DEP = $(hyp_builddir)/libpng/libpng.a
LIBPNG = -L$(hyp_builddir)/libpng -lpng
PNG_CFLAGS = -I$(top_srcdir)/libpng
$(LIBPNG_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/libpng libpng.a; fi
endif
endif
LIBHPDF_DEP = $(hyp_builddir)/hpdf/src/libhpdf.a
LIBHPDF = -L$(hyp_builddir)/hpdf/src -lhpdf
$(LIBHPDF_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(hyp_builddir)/hpdf/src libhpdf.a; fi
LIBRCINTL_DEP = $(top_builddir)/rcintl/librcintl.a
LIBRCINTL = -L$(top_builddir)/rcintl -lrcintl
$(LIBRCINTL_DEP)::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(top_builddir)/rcintl librcintl.a; fi
if OS_TOS
GEMLIB_DEPS =
GEMLIBS = -lgem
else
if NEED_GEMLIB
GEMLIB_DEPS = $(top_builddir)/rsc/libgem.a $(top_builddir)/rsc/src/librsc.a
GEMLIBS = $(top_builddir)/rsc/src/librsc.a $(top_builddir)/rsc/libgem.a
endif
endif
$(top_builddir)/rsc/libgem.a::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(top_builddir)/rsc libgem.a; fi
$(top_builddir)/rsc/src/librsc.a::
@if test "0$(MAKELEVEL)" -gt 1; then :; else $(MAKE) --no-print-directory -C $(top_builddir)/rsc/src librsc.a; fi
if OS_WIN32
EVAL_RC_TARGET = if test $(host_cpu) = "x86_64"; then echo pe-x86-64; else echo pe-i386; fi
RC_TARGET := $(shell $(EVAL_RC_TARGET))
endif