Commit f152ea59 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

distinguish library creation and installation

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:
SVN Revision: 3694
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 1978ad78
......@@ -39,11 +39,18 @@
# ============================================================================
all: install
.PHONY: all
all: install doc
.PHONY: install
install: libs
.PHONY: doc
doc: docs
libs: libginmod.a libgindat.a libgininv.a libginpar.a libginpg.a libgin.a \
LIBRARIES=libginmod.a libgindat.a libgininv.a libginpar.a libginpg.a libgin.a \
libs: $(LIBRARIES)
/bin/mv -fv $^ $(LOCLIBDIR)
# check mandatory environment variable settings
# ---------------------------------------------
......@@ -97,7 +104,7 @@ ALLOBS=$(PGOBS) $(PAROBS) $(MODOBS) $(DATOBS) $(INVOBS) $(RESOBS)
-/bin/rm *.o *.bak *.o77 *.d
-/bin/rm *.o *.bak *.o77 *.d *.a
......@@ -135,39 +142,16 @@; /bin/cp -v $< $@
-include $(patsubst %.f,%.d,$(wildcard *.f))
libginres.a: $(RESOBS)
ar rcv libginres.a $(RESOBS)
ranlib libginres.a
/bin/mv -fv $@ $(LOCLIBDIR)
libginmod.a: $(MODOBS)
ar rcv libginmod.a $(MODOBS)
ranlib libginmod.a
/bin/mv -fv $@ $(LOCLIBDIR)
libgindat.a: $(DATOBS)
ar rcv libgindat.a $(DATOBS)
ranlib libgindat.a
/bin/mv -fv $@ $(LOCLIBDIR)
libgininv.a: $(INVOBS)
ar rcv libgininv.a $(INVOBS)
ranlib libgininv.a
/bin/mv -fv $@ $(LOCLIBDIR)
libginpar.a: $(PAROBS)
ar rcv libginpar.a $(PAROBS)
ranlib libginpar.a
/bin/mv -fv $@ $(LOCLIBDIR)
ar rcv libgin.a $(PGOBS) $(PAROBS) $(MODOBS) $(DATOBS) $(INVOBS) $(RESOBS)
ranlib libgin.a
/bin/mv -fv $@ $(LOCLIBDIR)
libginpg.a: $(PGOBS)
ar rcv libginpg.a $(PGOBS)
ranlib libginpg.a
/bin/mv -fv $@ $(LOCLIBDIR)
$(LIBRARIES): %.a:
ar rcv $@ $^
ranlib $@
make libgin.a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment