mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
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/.
|
|
|
|
SHARED_LIBRARY_LIBS = ../xpwidgets/libxpwidgets_s.a
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
NIB_FILES = \
|
|
classes.nib \
|
|
info.nib \
|
|
keyedobjects.nib \
|
|
$(NULL)
|
|
NIB_DEST = $(DIST)/bin/res/MainMenu.nib
|
|
|
|
libs:: $(addprefix $(NIB_DEST)/,$(NIB_FILES))
|
|
|
|
$(NIB_DEST):
|
|
$(NSINSTALL) -D $@
|
|
|
|
$(NIB_DEST)/%: $(srcdir)/resources/MainMenu.nib/% $(NIB_DEST)
|
|
$(INSTALL) $< $(NIB_DEST)
|
|
|
|
# for objdir builds, symlink the cursors dir
|
|
ABS_topsrcdir := $(abspath $(topsrcdir))
|
|
ifneq ($(ABS_topsrcdir),$(MOZ_BUILD_ROOT))
|
|
export::
|
|
ln -fs $(srcdir)/cursors
|
|
endif
|
|
|
|
export::
|
|
$(INSTALL) $(srcdir)/cursors $(DIST)/bin/res
|
|
|
|
LOCAL_INCLUDES = \
|
|
$(TK_CFLAGS) \
|
|
-I$(srcdir)/../xpwidgets \
|
|
-I$(srcdir)/../shared \
|
|
-I$(topsrcdir)/layout/forms \
|
|
-I$(topsrcdir)/layout/generic \
|
|
-I$(topsrcdir)/layout/xul/base/src \
|
|
$(NULL)
|
|
|
|
LDFLAGS += \
|
|
-framework QuickTime \
|
|
-framework IOKit \
|
|
-F/System/Library/PrivateFrameworks -framework CoreUI \
|
|
$(NULL)
|