DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦035d5d066⟧ TextFile

    Length: 6499 (0x1963)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦cc8755de2⟧ »./libg++-1.36.1.tar.Z« 
        └─⟦23757c458⟧ 
            └─⟦this⟧ »libg++/src/Makefile« 

TextFile

# Makefile for libg++.a

# Copyright (C) 1988 Free Software Foundation
#   written by Doug Lea (dl@rocky.oswego.edu)

# This file is part of GNU CC.

# GNU CC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY.  No author or distributor
# accepts responsibility to anyone for the consequences of using it
# or for whether it serves any particular purpose or works at all,
# unless he says so in writing.  Refer to the GNU CC General Public
# License for full details.

# Everyone is granted permission to copy, modify and redistribute
# GNU CC, but only under the conditions described in the
# GNU CC General Public License.   A copy of this license is
# supposed to have been given to you along with GNU CC so you
# can know your rights and responsibilities.  It should be in a
# file named COPYING.  Among other things, the copyright notice
# and this notice must be preserved on all copies.

# make parameters -- these should normally be inherited from parent make

# ------ source locations

# source directory for libg++.a
SRCDIR = ../src

# source include directory 
SRCIDIR= ../g++-include

# ------ installation destinations
# ------ You will require write-permission on the destination directories
# ------ in order to `make install'


prefix =/usr/gnu

# libg++.a destination
LIBDIR = $(prefix)/lib

# executables directory: location to install the genclass class generator
BINDIR = $(prefix)/bin

# location to install include file directory
IDIR = $(prefix)/lib/g++-include


# ------- System-dependent defines
# ------- use the second form of each for SystemV (USG)

# g++ flags
OSFLAG=
#OSFLAG = -DUSG
# use this only if you have a strange stdio implementation
#OSFLAG = -DDEFAULT_filebuf

# ld or ld++ flags
OSLDFLAG =
#OSLDFLAG= -lPW

# how to install
INSTALL=install -c
#INSTALL=cp

# ranlib if necessary
RANLIB=ranlib
#RANLIB=echo

# which make?
MAKE=make

# not used, but convenient for those who preprocess things while compiling
SHELL=/bin/sh


# ------ compiler names

# GNU C++ compiler name
GXX = g++
#GXX=gcc

# GNU CC compiler name (needed for some .c files in libg++.a)
CC = gcc

# GNU loader
LDXX = $(LIBDIR)/gcc-ld++

# crt0+.o location (for dynamic loading tests)
GXXCRT1=$(LIBDIR)/crt1+.o

# ------ Other compilation flags
# ------ modify as you like -- the ones here are sheer overkill

GXX_OPTIMIZATION_FLAGS= -O -fstrength-reduce  -felide-constructors -fschedule-insns -fdelayed-branch  -fsave-memoized 

GCC_OPTIMIZATION_FLAGS= -O -fstrength-reduce -fdelayed-branch 

DEBUG_FLAGS= -g

#use this only if you like to look at lots of useless messages
VERBOSITY_FLAGS= -Wall -v

GXX_INCLUDE_DIRS= -I$(SRCIDIR)

GCC_INCLUDE_DIRS= -I$(prefix)/lib/gcc-include -I/usr/include -I$(SRCIDIR)

PIPE_AS= -pipe

# Flags for all C++ compiles
GXXFLAGS = $(OSFLAG) $(GXX_INCLUDE_DIRS) $(DEBUG_FLAGS) $(GXX_OPTIMIZATION_FLAGS) $(VERBOSITY_FLAGS) $(PIPE_AS)

# Flags for all C compiles
CFLAGS= $(OSFLAG) $(GCC_INCLUDE_DIRS) $(DEBUG_FLAGS) $(GCC_OPTIMIZATION_FLAGS) $(VERBOSITY_FLAGS) $(PIPE_AS)

# g++ load time flags 
GXXLDFLAGS = -L$(SRCDIR) -lg++ -lm $(OSLDFLAG)

# these flags tell test0 where ld++ and crt1+.o are
TFLAGS = -DLDXX=\"$(LDXX)\" -DCRT1X=\"$(GXXCRT1)\"

# g++ files should have extension .cc
.SUFFIXES: .cc
.cc.o:
	$(GXX) $(GXXFLAGS) -c  $<

###########################################################################
# 
# declarations from here on should not normally need to be changed 
# in order to compile libg++.a
#

# library sources 
SRCS = AllocQueue.cc builtin.cc  File.cc \
 stream.cc streambuf.cc PlotFile.cc SFile.cc \
 Obstack.cc regex.cc String.cc Integer.cc Rational.cc Complex.cc \
 BitSet.cc BitString.cc Random.cc RNG.cc ACG.cc MLCG.cc Sample.cc \
 Fix.cc Fix16.cc Fix24.cc Curses.cc GetOpt.cc gnulib3.c EH.cc

OBJS = AllocQueue.o builtin.o File.o  stream.o streambuf.o \
 PlotFile.o  SFile.o \
 Obstack.o  regex.o String.o  Integer.o Rational.o Complex.o \
 BitSet.o BitString.o Random.o  RNG.o ACG.o MLCG.o Sample.o \
 Fix.o Fix16.o Fix24.o Curses.o GetOpt.o gnulib3.o EH.o

###########################################################################
#
# compilation actions
#

all: libg++.a

libg++.a: $(OBJS)
	ar r libg++.a $(OBJS)
	$(RANLIB) libg++.a

clean:
	rm -f *.o core libg++.a C++.hack*


###########################################################################
#
#  dependencies
#

regex.o: $(SRCIDIR)/regex.h
File.o:    $(SRCIDIR)/File.h $(SRCIDIR)/std.h $(SRCIDIR)/stddef.h $(SRCIDIR)/stdio.h $(SRCIDIR)/builtin.h
stream.o: $(SRCIDIR)/stream.h $(SRCIDIR)/File.h $(SRCIDIR)/stdio.h $(SRCIDIR)/builtin.h $(SRCIDIR)/streambuf.h
streambuf.o:  $(SRCIDIR)/File.h $(SRCIDIR)/stdio.h $(SRCIDIR)/builtin.h $(SRCIDIR)/streambuf.h
PlotFile.o: $(SRCIDIR)/PlotFile.h $(SRCIDIR)/File.h $(SRCIDIR)/stdio.h $(SRCIDIR)/builtin.h
SFile.o: $(SRCIDIR)/SFile.h $(SRCIDIR)/File.h $(SRCIDIR)/std.h $(SRCIDIR)/stddef.h $(SRCIDIR)/stdio.h $(SRCIDIR)/builtin.h
Obstack.o: $(SRCIDIR)/Obstack.h $(SRCIDIR)/builtin.h
String.o: $(SRCIDIR)/String.h $(SRCIDIR)/stream.h $(SRCIDIR)/regex.h $(SRCIDIR)/std.h $(SRCIDIR)/builtin.h $(SRCIDIR)/File.h
Integer.o: $(SRCIDIR)/Integer.h $(SRCIDIR)/stream.h $(SRCIDIR)/File.h $(SRCIDIR)/builtin.h
Rational.o: $(SRCIDIR)/Rational.h $(SRCIDIR)/Integer.h $(SRCIDIR)/stream.h $(SRCIDIR)/File.h $(SRCIDIR)/builtin.h
Complex.o: $(SRCIDIR)/Complex.h $(SRCIDIR)/stream.h $(SRCIDIR)/File.h $(SRCIDIR)/builtin.h
BitSet.o: $(SRCIDIR)/BitSet.h $(SRCIDIR)/stream.h $(SRCIDIR)/builtin.h $(SRCIDIR)/File.h
BitString.o: $(SRCIDIR)/BitString.h $(SRCIDIR)/stream.h $(SRCIDIR)/builtin.h $(SRCIDIR)/File.h
AllocQueue.o: $(SRCIDIR)/AllocQueue.h
builtin.o: $(SRCIDIR)/builtin.h $(SRCIDIR)/math.h $(SRCIDIR)/AllocQueue.h
RNG.o: $(SRCIDIR)/assert.h $(SRCIDIR)/RNG.h
MLCG.o: $(SRCIDIR)/RNG.h $(SRCIDIR)/MLCG.h
ACG.o: $(SRCIDIR)/assert.h $(SRCIDIR)/RNG.h $(SRCIDIR)/ACG.h
Random.o: $(SRCIDIR)/Random.h $(SRCIDIR)/RNG.h \
 $(SRCIDIR)/Binomial.h  $(SRCIDIR)/Erlang.h $(SRCIDIR)/Geometric.h \
 $(SRCIDIR)/HyperGeometric.h $(SRCIDIR)/NegativeExpntl.h  $(SRCIDIR)/Normal.h \
 $(SRCIDIR)/LogNormal.h $(SRCIDIR)/Poisson.h $(SRCIDIR)/DiscreteUniform.h \
 $(SRCIDIR)/Uniform.h  $(SRCIDIR)/Weibull.h 
Sample.o: $(SRCIDIR)/SampleStatistic.h  $(SRCIDIR)/SampleHistogram.h $(SRCIDIR)/File.h
Fix.cc: $(SRCIDIR)/Fix.h $(SRCIDIR)/File.h 
Fix16.cc: $(SRCIDIR)/Fix16.h $(SRCIDIR)/File.h 
Fix24.cc: $(SRCIDIR)/Fix24.h $(SRCIDIR)/File.h 
Curses.o: $(SRCIDIR)/curses.h $(SRCIDIR)/CursesWindow.h
GetOpt.o: $(SRCIDIR)/std.h $(SRCIDIR)/GetOpt.h