# $Source: /hms-mapped/hms/libc/core/rel80/gen/makefile,v $
# $Revision: 72.2 $

# makefile for rel80/gen -- Release 8.0 compatibility code; gen subdirectory

INCLUDE_80 = ../h
CFLAGS_80 = -I$(INCLUDE_80) $(CFLAGS) 

COMOBJS_SL =			\
	_errlocale80_sl.o

NLS_OBJS_SL =			\
	_collxfrm80_sl.o	\
	getlocale80_sl.o	\
	nl_langinf80_sl.o	\
	nl_strcmp80_sl.o	\
	nl_string80_sl.o	\
	setlocale80_sl.o	\
	strcoll80_sl.o		\
	strxfrm80_sl.o

COMPAT_OBJS_SL =		\
	regex80_sl.o		\
	rew80_sl.o

default:	shared

shared:	$(COMOBJS_SL) $(NLS_OBJS_SL) $(COMPAT_OBJS_SL)

clean:
	@echo "\tCleaning rel80/gen..."
	@rm -f *.o

clobber:
	@echo "Clobbering is done by the top-level libc makefile"

#
# Rule to make PIC object using release 8.x environment:
.c_sl.o:
	$(CC) $(CFLAGS_80) -c $< -o $@

.SUFFIXES:
.SUFFIXES: .o .s .c _p.o _sl.o
