diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-26 20:23:33 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-26 20:23:33 +0000 |
commit | e7149fedca3454c09a4720fc23811e4d5f0e452f (patch) | |
tree | d269170a79ef00965dd19605afe35939a2d8a730 /include/makeinclude/build_lib.bor | |
parent | 1b4fd30d6aa717eecf6604c2d6b3a29e625e89d0 (diff) | |
download | ATCD-e7149fedca3454c09a4720fc23811e4d5f0e452f.tar.gz |
.
Diffstat (limited to 'include/makeinclude/build_lib.bor')
-rw-r--r-- | include/makeinclude/build_lib.bor | 39 |
1 files changed, 39 insertions, 0 deletions
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 + |