#
# /emx/src/lib/termios/makefile
#
.INCLUDE: /emx/src/lib/libc.mak

local: ;

cfgetisp.o: cfgetisp.c $(I)termios.h $(S)termio.h
cfgetosp.o: cfgetosp.c $(I)termios.h $(S)termio.h
cfsetisp.o: cfgetisp.c $(I)termios.h
cfsetosp.o: cfsetosp.c $(I)termios.h
cfsetspe.o: cfsetspe.c $(I)termios.h $(S)termio.h $(ERRNO)
tcdrain.o:  tcdrain.c $(I)termios.h
tcflow.o:   tcflow.c $(I)termios.h
tcflush.o:  tcflush.c $(I)termios.h
tcgetatt.o: tcgetatt.c $(I)termios.h
tcgetpgr.o: tcgetpgr.c $(I)unistd.h $(S)types.h $(ERRNO)
tcsendbr.o: tcsendbr.c $(I)termios.h
tcsetatt.o: tcsetatt.c $(I)termios.h $(ERRNO)
tcsetpgr.o: tcsetpgr.c $(I)unistd.h $(S)types.h $(ERRNO)

$(DSTLIB):  cfgetisp.o cfgetosp.o cfsetisp.o cfsetosp.o cfsetspe.o \
    tcdrain.o tcflow.o tcflush.o \
    tcgetatt.o tcgetpgr.o tcsendbr.o tcsetatt.o tcsetpgr.o
	$(AR) r $(DSTLIB) *.o
