From e7149fedca3454c09a4720fc23811e4d5f0e452f Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 26 Jun 1999 20:23:33 +0000 Subject: . --- include/makeinclude/build_lib.bor | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 include/makeinclude/build_lib.bor (limited to 'include/makeinclude/build_lib.bor') diff --git a/include/makeinclude/build_lib.bor b/include/makeinclude/build_lib.bor new file mode 100644 index 00000000000..23b232eb21c --- /dev/null +++ b/include/makeinclude/build_lib.bor @@ -0,0 +1,39 @@ +# +# Rules for building a static library +# +# Inputs: +# ~~~~~~~ +# NAME - undecorated name of target +# CFLAGS - extra compiler flags for building target +# CPPDIR - list of directories containing source files +# OBJFILES - list of (non-system) object files +# LIBFILES - list of (non-system) libraries +# PASCAL - if defined means link dll against pascal run-time library +# DEBUG - if defined means building with debug information +# + +!include <$(ACE_ROOT)\include\makeinclude\decorator.bor> +!include <$(ACE_ROOT)\include\makeinclude\outputdir.bor> +!include <$(ACE_ROOT)\include\makeinclude\compiler.bor> + +TARGET = $(BINDIR)\$(NAME)$(LIB_DECORATOR).lib + +$(TARGET): $(OBJFILES) + @$(MAKE_BINDIR) + $(AR) $(LIB_LFLAGS) $(TARGET) @&&! + +-$(**: = &^ + +-) +! + +!ifdef CPPDIR +.path.cpp = $(CPPDIR) +!endif + +.path.obj = $(OBJDIR) + +.cpp.obj: + @$(MAKE_OBJDIR) + $(CC) $(COMMON_CFLAGS) $(LIB_CFLAGS) $(CFLAGS) -c -n$(@D) $< + +.autodepend + -- cgit v1.2.1