aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/c_src/Makefile.in
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
committerErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
commit84adefa331c4159d432d22840663c38f155cd4c1 (patch)
treebff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/orber/c_src/Makefile.in
downloadotp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz
otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2
otp-84adefa331c4159d432d22840663c38f155cd4c1.zip
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/orber/c_src/Makefile.in')
-rw-r--r--lib/orber/c_src/Makefile.in113
1 files changed, 113 insertions, 0 deletions
diff --git a/lib/orber/c_src/Makefile.in b/lib/orber/c_src/Makefile.in
new file mode 100644
index 0000000000..56f0d57545
--- /dev/null
+++ b/lib/orber/c_src/Makefile.in
@@ -0,0 +1,113 @@
+#
+# %CopyrightBegin%
+#
+# Copyright Ericsson AB 1997-2009. All Rights Reserved.
+#
+# 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 online 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.
+#
+# %CopyrightEnd%
+#
+#
+include $(ERL_TOP)/make/target.mk
+include $(ERL_TOP)/make/$(TARGET)/otp.mk
+
+CXX = @CXX@
+CC = @CC@
+LIBS = @LIBS@
+
+OBJDIR = ../priv/obj/$(TARGET)
+
+# ----------------------------------------------------
+# Application version
+# ----------------------------------------------------
+include ../vsn.mk
+VSN=$(ORBER_VSN)
+
+# ----------------------------------------------------
+# Release directory specification
+# ----------------------------------------------------
+RELSYSDIR = $(RELEASE_PATH)/lib/orber-$(VSN)
+
+# ----------------------------------------------------
+# Target Specs
+# ----------------------------------------------------
+CC_FILES = \
+ InitialReference.cc
+
+HH_FILES = \
+ InitialReference.hh
+
+ALL_CFLAGS = @CFLAGS@ @DEFS@ $(CFLAGS)
+
+# ----------------------------------------------------
+# Targets
+# ----------------------------------------------------
+
+debug opt: $(OBJDIR) orber
+
+ifeq ($(findstring win32,$(TARGET)),win32)
+orber:
+ echo "Nothing to build on NT"
+else
+ifeq ($(findstring vxworks,$(TARGET)),vxworks)
+orber:
+ echo "Nothing to build for VxWorks"
+
+else
+orber:
+ echo "Nothing to build"
+endif
+endif
+
+clean:
+
+docs:
+
+# ----------------------------------------------------
+# Special Build Targets
+# ----------------------------------------------------
+
+$(OBJDIR):
+ -mkdir -p $(OBJDIR)
+
+$(OBJDIR)/%.o: %.c
+ $(CC) -c -o $@ $(ALL_CFLAGS) $<
+
+# ----------------------------------------------------
+# Release Target
+# ----------------------------------------------------
+include $(ERL_TOP)/make/otp_release_targets.mk
+
+ifeq ($(findstring win32,$(TARGET)),win32)
+release_spec: opt
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/src
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/include
+ $(INSTALL_PROGRAM) $(CC_FILES) $(RELSYSDIR)/priv/src
+ $(INSTALL_PROGRAM) $(HH_FILES) $(RELSYSDIR)/priv/include
+else
+ifeq ($(findstring vxworks,$(TARGET)),vxworks)
+release_spec:
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/src
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/include
+ $(INSTALL_PROGRAM) $(CC_FILES) $(RELSYSDIR)/priv/src
+ $(INSTALL_PROGRAM) $(HH_FILES) $(RELSYSDIR)/priv/include
+else
+release_spec: opt
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/src
+ $(INSTALL_DIR) $(RELSYSDIR)/priv/include
+ $(INSTALL_DATA) $(CC_FILES) $(RELSYSDIR)/priv/src
+ $(INSTALL_DATA) $(HH_FILES) $(RELSYSDIR)/priv/include
+endif
+endif
+
+
+release_docs_spec: