Lines 168-175
else
Link Here
|
168 |
LINK_CMD = $(LIBTOOL) --mode=link $(CC) \ |
168 |
LINK_CMD = $(LIBTOOL) --mode=link $(CC) \ |
169 |
$(subst /,$(COMPILER_SEP),$(LDFLAGS)) |
169 |
$(subst /,$(COMPILER_SEP),$(LDFLAGS)) |
170 |
LINK_LIBS = $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) $(LIB_CLOCK_GETTIME) |
170 |
LINK_LIBS = $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) $(LIB_CLOCK_GETTIME) |
|
|
171 |
INSTALL = $(LIBTOOL) --mode=install install -D -m 0755 |
171 |
else |
172 |
else |
172 |
LINK_CMD = $(CC) $(subst /,$(COMPILER_SEP),$(LDFLAGS)) |
173 |
LINK_CMD = $(CC) $(subst /,$(COMPILER_SEP),$(LDFLAGS)) |
|
|
174 |
INSTALL = install -D -m 0755 |
173 |
ifeq ($(PLATFORM),unixdev) |
175 |
ifeq ($(PLATFORM),unixdev) |
174 |
LINK_LIBS := $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) -lm -lrt -lz -lbz2 -lpthread |
176 |
LINK_LIBS := $(subst /,$(COMPILER_SEP),$(FTLIB) $(EFENCE)) -lm -lrt -lz -lbz2 -lpthread |
175 |
LINK_LIBS += $(shell pkg-config --libs libpng) |
177 |
LINK_LIBS += $(shell pkg-config --libs libpng) |
Lines 194-200
else
Link Here
|
194 |
$(LINK_LIBS) $(subst /,$(COMPILER_SEP),$(GRAPH_LIB)) \ |
196 |
$(LINK_LIBS) $(subst /,$(COMPILER_SEP),$(GRAPH_LIB)) \ |
195 |
$(GRAPH_LINK) $(MATH) |
197 |
$(GRAPH_LINK) $(MATH) |
196 |
|
198 |
|
197 |
.PHONY: exes clean distclean |
199 |
.PHONY: exes clean distclean install |
198 |
|
200 |
|
199 |
|
201 |
|
200 |
################################################################### |
202 |
################################################################### |
Lines 567-572
else
Link Here
|
567 |
$(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ) |
569 |
$(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ) |
568 |
$(LINK_NEW) |
570 |
$(LINK_NEW) |
569 |
|
571 |
|
|
|
572 |
ifneq ($(FT2DEMOS_INSTALL),) |
573 |
install: exes |
574 |
$(foreach var,$(EXES), $(INSTALL) $(BIN_DIR_2)/$(var) \ |
575 |
$(DESTDIR)$(bindir)/$(var);) |
576 |
else |
577 |
install: |
578 |
$(info The freetype demos will not be installed.) |
579 |
endif |
570 |
endif |
580 |
endif |
571 |
|
581 |
|
572 |
|
582 |
|
573 |
- |
|
|