Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / libio / config / netware.mt
1 IMPDIR= $(srcdir)/config/netware
2
3 PRELUDE=        prelude.o
4
5 iostream.def:   Makefile
6         -rm -f iostream.def
7         echo "description \"libiostream\"" >> iostream.def
8         echo "screenname \"NONE\"" >> iostream.def
9         echo "version `echo $(VERSION) | sed 's|\.|,|g'`" >> iostream.def
10         echo "export @$(IMPDIR)/iostream.imp" >> iostream.def
11
12 iostream.O:     $(PRELUDE) $(LIBIOSTREAM_OBJECTS)
13         $(CC) -Xlinker -Ur -o $@ $(PRELUDE) $(LIBIOSTREAM_OBJECTS)
14
15 iostream.nlm:   iostream.def iostream.O $(IMPDIR)/iostream.imp
16         $(NLMCONV) -l $(LD) -T iostream.def iostream.O iostream.nlm