/usr/share/GNUstep/Makefiles/Instance/clibrary.make is in gnustep-make 2.6.6-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | # -*-makefile-*-
# Instance/clibrary.make
#
# Instance Makefile rules to build C libraries.
#
# Copyright (C) 2002 Free Software Foundation, Inc.
#
# Author: Nicola Pero <nicola.pero@meta-innovation.com>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.
# If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Warning/TODO - this makefile is not really finished, because it
# still uses the LIB_LINK_CMD used for normal ObjC libraries. The
# main difference from library.make, currently, is that it installs
# outside the library_combo dir. (because this is the status of this
# makefile, we currently simply inherit from library.make. Once we
# actually implement C libraries, we might want to make this makefile
# partially independent from library.make)
#
# It all works as for library.make but we install outside library-combo
#
# Other differences are:
#
# The name of the library is in the CLIBRARY_NAME variable, rather
# than in the LIBRARY_NAME variable as it happens for libraries.
#
# Similarly, the install dir is controlled by CLIBRARY_INSTALL_DIR
# rather than LIBRARY_INSTALL_DIR.
#
.PHONY: internal-clibrary-all_ \
internal-clibrary-install_ \
internal-clibrary-uninstall_
# This is the directory where the lib get installed.
ifneq ($($(GNUSTEP_INSTANCE)_INSTALL_DIR),)
CLIBRARY_INSTALL_DIR = $($(GNUSTEP_INSTANCE)_INSTALL_DIR)
endif
ifeq ($(CLIBRARY_INSTALL_DIR),)
CLIBRARY_INSTALL_DIR = $(GNUSTEP_LIBRARIES)
endif
# And this is used internally - it is the final directory where we put
# the library - it includes target arch, os dir but not the
# library_combo - this variable is PRIVATE to gnustep-make
FINAL_LIBRARY_INSTALL_DIR = $(CLIBRARY_INSTALL_DIR)/$(GNUSTEP_TARGET_DIR)
# Drag in library.make rules
include $(GNUSTEP_MAKEFILES)/Instance/library.make
# Now call them from our own rules
internal-clibrary-all_:: internal-library-all_
internal-clibrary-install_:: internal-library-install_
internal-clibrary-uninstall_:: internal-library-uninstall_
internal-clibrary-check:: internal-library-check
|