makefile.in
来自「OTP是开放电信平台的简称」· IN 代码 · 共 176 行
IN
176 行
# ``The contents of this file are subject to the Erlang Public License,# Version 1.1, (the "License"); you may not use this file except in# compliance with the License. You should have received a copy of the# Erlang Public License along with this software. If not, it can be# retrieved via the world wide web at http://www.erlang.org/.# # Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See# the License for the specific language governing rights and limitations# under the License.# # The Initial Developer of the Original Code is Ericsson Utvecklings AB.# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings# AB. All Rights Reserved.''# # $Id$## ``The contents of this file are subject to the Erlang Public License,# Version 1.1, (the "License"); you may not use this file except in# compliance with the License. You should have received a copy of the# Erlang Public License along with this software. If not, it can be# retrieved via the world wide web at http://www.erlang.org/.# # Software distributed under the License is distributed on an "AS IS"# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See# the License for the specific language governing rights and limitations# under the License.# # The Initial Developer of the Original Code is Ericsson Utvecklings AB.# Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings# AB. All Rights Reserved.''# # $Id$#include $(ERL_TOP)/make/target.mkinclude $(ERL_TOP)/make/$(TARGET)/otp.mkCC = @CC@LIBS = @LIBS@LIBDIR = ../priv/lib/$(TARGET)OBJDIR = ../priv/obj/$(TARGET)INCDIR = ../includeERL_INTERFACE_FLAGS = \ -I$(ERL_TOP)/lib/erl_interface/include \ -I$(ERL_TOP)/lib/erl_interface/src# ----------------------------------------------------# Application version# ----------------------------------------------------include ../vsn.mkVSN=$(IC_VSN)# ----------------------------------------------------# Release directory specification# ----------------------------------------------------RELSYSDIR = $(RELEASE_PATH)/lib/ic-$(VSN)# ----------------------------------------------------# File Specs# ----------------------------------------------------IDL_FILES = \ $(INCDIR)/erlang.idlifeq ($(findstring win32,$(TARGET)),win32)USING_MINGW=@MIXED_CYGWIN_MINGW@ifeq ($(USING_MINGW),yes)AR_OUT = rcvCC_FLAGS =LIBRARY = $(LIBDIR)/libic.aSKIP_BUILDING_BINARIES := falseelseLIBRARY = $(LIBDIR)/ic.libAR_OUT = -out:CC_FLAGS = -MTendififeq ($(HOST_OS),)HOST_OS := $(shell $(ERL_TOP)/erts/autoconf/config.guess)endififeq ($(findstring solaris,$(HOST_OS)),solaris)SKIP_BUILDING_BINARIES := trueendifelseAR_OUT = rcvCC_FLAGS =LIBRARY = $(LIBDIR)/libic.aSKIP_BUILDING_BINARIES := falseendifC_FILES = \ ic.c \ ic_tmo.c \ oe_ei_encode_version.c \ oe_ei_encode_long.c \ oe_ei_encode_ulong.c \ oe_ei_encode_double.c \ oe_ei_encode_char.c \ oe_ei_encode_string.c \ oe_ei_encode_atom.c \ oe_ei_encode_pid.c \ oe_ei_encode_port.c \ oe_ei_encode_ref.c \ oe_ei_encode_term.c \ oe_ei_encode_tuple_header.c \ oe_ei_encode_list_header.c \ oe_ei_encode_longlong.c \ oe_ei_encode_ulonglong.c \ oe_ei_encode_wchar.c \ oe_ei_encode_wstring.c \ oe_ei_decode_longlong.c \ oe_ei_decode_ulonglong.c \ oe_ei_decode_wchar.c \ oe_ei_decode_wstring.c \ oe_ei_code_erlang_binary.c H_FILES = $(INCDIR)/ic.hOBJ_FILES= $(C_FILES:%.c=$(OBJDIR)/%.o) ALL_CFLAGS = @CFLAGS@ @DEFS@ -I$(INCDIR) $(ERL_INTERFACE_FLAGS) $(CFLAGS) # ----------------------------------------------------# Targets# ----------------------------------------------------ifeq ($(SKIP_BUILDING_BINARIES), true)debug opt:elsedebug opt: $(LIBRARY)endifclean: rm -f $(LIBRARY) $(OBJ_FILES) rm -f core *~docs:# ----------------------------------------------------# Special Build Targets# ----------------------------------------------------$(OBJDIR): -mkdir -p $(OBJDIR)$(LIBDIR): -mkdir -p $(LIBDIR)$(LIBRARY): $(OBJDIR) $(LIBDIR) $(OBJ_FILES) -$(AR) $(AR_OUT) $@ $(OBJ_FILES) -$(RANLIB) $@$(OBJDIR)/%.o: %.c $(CC) $(CC_FLAGS) -c -o $@ $(ALL_CFLAGS) $<# ----------------------------------------------------# Release Target# ---------------------------------------------------- include $(ERL_TOP)/make/otp_release_targets.mkrelease_spec: opt $(INSTALL_DIR) $(RELSYSDIR)/c_src $(INSTALL_DIR) $(RELSYSDIR)/include $(INSTALL_DIR) $(RELSYSDIR)/priv/lib $(INSTALL_DATA) ic.c ic_tmo.c $(RELSYSDIR)/c_src $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) $(RELSYSDIR)/include $(INSTALL_DATA) $(LIBRARY) $(RELSYSDIR)/priv/librelease_docs_spec:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?