1# Copyright 2016 The Fuchsia Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5LOCAL_DIR := $(GET_LOCAL_DIR) 6 7MODULE := $(LOCAL_DIR) 8 9MODULE_TYPE := usertest 10 11MODULE_SRCS += \ 12 $(LOCAL_DIR)/dlfcn.c 13 14MODULE_NAME := dlfcn-test 15 16# This test uses liblaunchpad.so as the test library to dlopen. 17# We don't want it to already be there when we call dlopen, but 18# we use launchpad_vmo_from_file to load it! So link it statically. 19MODULE_STATIC_LIBS := \ 20 system/ulib/launchpad \ 21 system/ulib/loader-service \ 22 system/ulib/async \ 23 system/ulib/async-loop \ 24 system/ulib/ldmsg \ 25 system/ulib/elfload \ 26 27MODULE_LIBS := \ 28 system/ulib/unittest \ 29 system/ulib/async.default \ 30 system/ulib/fdio \ 31 system/ulib/zircon \ 32 system/ulib/c \ 33 34include make/module.mk 35