pkgsrc/lang/pgcc/files/netbsdelf.ml
wiz 36b7c5af00 Pull over gcc package files from before the 2.95.3 update.
Compiles and installs/deinstalls cleanly on 1.5ZA/i386, otherwise untested,
but that's better than a BROKEN package.
Some cleanup.
2002-03-14 14:54:48 +00:00

10 lines
417 B
OCaml

# ELF with shared libm, so we can link it into the shared libstdc++.
ARLIB = libstdc++.a.`echo $(VERSION) | sed 's/\([0-9]*[.][0-9]*\).*/\1/'`
SHLIB = libstdc++.so.`echo $(VERSION) | sed 's/\([0-9]*[.][0-9]*\).*/\1/'`
MSHLINK = libstdc++.so.`echo $(VERSION) | sed 's/\([0-9]*\).*/\1/'`
LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) mshlink
SHFLAGS = -Wl,-soname,$(MSHLINK)
SHDEPS = -lm
DEPLIBS = ../$(SHLIB)