mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-27 06:40:48 +00:00
69 lines
2.2 KiB
Text
69 lines
2.2 KiB
Text
|
# GNUmakefile
|
||
|
#
|
||
|
# Copyright (C) 1996 Free Software Foundation, Inc.
|
||
|
#
|
||
|
# Author: Ovidiu Predescu <ovidiu@net-community.com>
|
||
|
# Date: November 1997
|
||
|
#
|
||
|
# This file is part of the GNUstep GUI Library.
|
||
|
#
|
||
|
# This library is free software; you can redistribute it and/or
|
||
|
# modify it under the terms of the GNU Library General Public
|
||
|
# License as published by the Free Software Foundation; either
|
||
|
# version 2 of the License, or (at your option) any later version.
|
||
|
#
|
||
|
# This library is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
# Library General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU Library General Public
|
||
|
# License along with this library; if not, write to the Free
|
||
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||
|
#
|
||
|
|
||
|
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
|
||
|
|
||
|
LIBRARY_NAME = libgmodel
|
||
|
|
||
|
ifeq ($(GUI_LIB), nx)
|
||
|
TOOL_NAME = nib2gmodel
|
||
|
endif
|
||
|
|
||
|
APP_NAME = test
|
||
|
|
||
|
libgmodel_OBJC_FILES = IMCustomObject.m IMConnectors.m IMLoading.m GMAppKit.m
|
||
|
|
||
|
test_OBJC_FILES = test.m Controller.m
|
||
|
|
||
|
nib2gmodel_OBJC_FILES = IBClasses.m Translator.m nib2gmodel.m
|
||
|
|
||
|
# Additional library directories the linker should search
|
||
|
ifeq ($(FOUNDATION_LIB), nx)
|
||
|
ADDITIONAL_LIB_DIRS += -framework AppKit
|
||
|
endif
|
||
|
|
||
|
# Additional flags to pass to the Objective-C compiler
|
||
|
ADDITIONAL_OBJCFLAGS = -Wall
|
||
|
ADDITIONAL_CPPFLAGS += $(RUNTIME_DEFINE) $(GUI_DEFINE) $(BACKEND_DEFINE)
|
||
|
|
||
|
ADDITIONAL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
|
||
|
|
||
|
ADDITIONAL_TOOL_LIBS += -lgmodel -lFoundationExt
|
||
|
ADDITIONAL_OBJC_FLAGS += $(BACKEND_DEFINE)
|
||
|
|
||
|
# What are the libraries this library depends upon. This is needed for some
|
||
|
# systems where building a shared library requires to pass to the linker
|
||
|
# all the libraries the target library depends upon.
|
||
|
|
||
|
LIBRARIES_DEPEND_UPON = -lFoundationExt $(FND_LIBS) $(GUI_LIBS) \
|
||
|
$(BACKEND_LIBS) $(SYSTEM_LIBS)
|
||
|
|
||
|
-include GNUmakefile.local
|
||
|
|
||
|
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/library.make
|
||
|
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/tool.make
|
||
|
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/application.make
|
||
|
|
||
|
-include GNUmakefile.postamble
|