mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
45 lines
952 B
Makefile
45 lines
952 B
Makefile
# -*- Mode: makefile; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- #
|
|
# 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 = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
include $(srcdir)/../objs.mk
|
|
|
|
EXTRA_DEPS += $(srcdir)/../objs.mk
|
|
|
|
LIBRARY_NAME = mtransport_s
|
|
FORCE_STATIC_LIB= 1
|
|
ifeq (WINNT,$(OS_TARGET))
|
|
VISIBILITY_FLAGS =
|
|
endif
|
|
|
|
SRCS_IN_OBJDIR = 1
|
|
|
|
CPPSRCS = \
|
|
$(MTRANSPORT_LCPPSRCS) \
|
|
$(NULL)
|
|
|
|
|
|
# Make a copy into the local directory for dual compilation
|
|
export:: $(MTRANSPORT_CPPSRCS)
|
|
$(INSTALL) $^ .
|
|
|
|
# for stun.h
|
|
ifeq (WINNT,$(OS_TARGET))
|
|
DEFINES += \
|
|
-DWIN32 \
|
|
-DNOMINMAX \
|
|
$(NULL)
|
|
else ifeq (Linux,$(OS_TARGET))
|
|
DEFINES += -DLINUX
|
|
endif
|
|
|
|
include $(srcdir)/../objs.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|