mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d4eb7d5782
--HG-- extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
52 lines
987 B
Makefile
52 lines
987 B
Makefile
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
DEPTH = ../..
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
USE_STATIC_LIBS = 1
|
|
|
|
MODULE = mkdepend
|
|
HOST_PROGRAM = mkdepend$(BIN_SUFFIX)
|
|
ifdef GNU_CC
|
|
MODULE_OPTIMIZE_FLAGS = -O3
|
|
else
|
|
ifeq ($(OS_ARCH),SunOS)
|
|
MODULE_OPTIMIZE_FLAGS = -fast
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
ifndef GNU_CC
|
|
MODULE_OPTIMIZE_FLAGS = -Ox
|
|
endif
|
|
endif
|
|
|
|
HOST_CSRCS = \
|
|
cppsetup.c \
|
|
ifparser.c \
|
|
include.c \
|
|
main.c \
|
|
parse.c \
|
|
pr.c \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
HOST_CFLAGS += -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
|
|
|
|
ifdef GNU_CC
|
|
_GCCDIR = $(shell $(CC) -print-file-name=include)
|
|
HOST_CFLAGS += -DPREINCDIR=\"$(_GCCDIR)\"
|
|
endif
|
|
|
|
export:: $(HOST_PROGRAM)
|
|
|
|
$(HOST_OBJS): def.h ifparser.h imakemdep.h
|