2012-09-11 06:05:56 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
|
|
|
# This file is part of the LibreOffice project.
|
|
|
|
#
|
|
|
|
# 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/.
|
|
|
|
#
|
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_Library,getuid))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
ifeq ($(OS),LINUX)
|
|
|
|
$(eval $(call gb_Library_add_defs,getuid,\
|
|
|
|
-D_GNU_SOURCE \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
$(eval $(call gb_Library_add_cobjects,getuid,\
|
|
|
|
setup_native/scripts/source/getuid \
|
|
|
|
))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
2013-02-07 18:17:22 -06:00
|
|
|
$(eval $(call gb_Library_add_libs,getuid,\
|
|
|
|
-ldl \
|
|
|
|
))
|
2012-09-11 06:05:56 -05:00
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|