makefile.in

来自「OTP是开放电信平台的简称」· IN 代码 · 共 123 行

IN
123
字号
# ``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.mkifeq ($(TYPE),debug)PURIFY     =TYPEMARKER = .debugTYPE_FLAGS = -DDEBUG @DEBUG_FLAGS@elseifeq ($(TYPE),purify)PURIFY     = purifyTYPEMARKER =ifeq ($(findstring ose,$(TARGET)),ose)  TYPE_FLAGS = -DPURIFYelse  TYPE_FLAGS = -O2 -DPURIFYendifelsePURIFY     =TYPEMARKER =ifeq ($(findstring ose,$(TARGET)),ose)  TYPE_FLAGS =else  TYPE_FLAGS = -O2endifendifendifinclude $(ERL_TOP)/make/$(TARGET)/otp.mkinclude ../../vsn.mkinclude ../epmd.mkBINDIR  = $(ERL_TOP)/bin/$(TARGET)OBJDIR  = $(ERL_TOP)/erts/obj$(TYPEMARKER)/$(TARGET)CC      = @CC@WFLAGS  = @WFLAGS@CFLAGS  = @CFLAGS@ @DEFS@ $(TYPE_FLAGS) $(WFLAGS)LD      = @LD@LIBS    = @LIBS@LDFLAGS = @LDFLAGS@# ----------------------------------------------------# Release directory specification# ----------------------------------------------------# The targetsifeq ($(findstring win32,$(TARGET)),win32)EPMD = epmd.exeelseEPMD = epmdendifINSTALL_PROGS = $(BINDIR)/$(EPMD)#---------------------------------# Options#--------------------------------- EPMD_FLAGS = -DEPMD_PORT_NO=$(EPMD_PORT_NO)#---------------------------------# source and object file information#---------------------------------EPMD_OBJS = $(OBJDIR)/epmd.o       \               $(OBJDIR)/epmd_cli.o   \               $(OBJDIR)/epmd_srv.o #---------------------------------# Build targets#---------------------------------all: $(BINDIR)/$(EPMD)docs:clean:	rm -f $(BINDIR)/$(EPMD) 	rm -f $(ERL_TOP)/erts/obj/$(TARGET)/epmd.o	rm -f $(ERL_TOP)/erts/obj/$(TARGET)/epmd_cli.o	rm -f $(ERL_TOP)/erts/obj/$(TARGET)/epmd_srv.o 	rm -f *.o	rm -f *~ core## Objects & executables#$(BINDIR)/$(EPMD): $(EPMD_OBJS)	$(PURIFY) $(LD) $(LDFLAGS) -o $@ $(EPMD_OBJS) $(LIBS)$(OBJDIR)/%.o: %.c	$(CC) $(CFLAGS) $(EPMD_FLAGS) -o $@ -c $<include $(ERL_TOP)/make/otp_release_targets.mkrelease_spec: all	$(INSTALL_DIR)     $(RELEASE_PATH)/erts-$(VSN)/bin	$(INSTALL_PROGRAM) $(INSTALL_PROGS) $(RELEASE_PATH)/erts-$(VSN)/binrelease_docs_spec:

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?