diff options
Diffstat (limited to 'chat')
-rw-r--r-- | chat/Makefile.linux | 34 | ||||
-rw-r--r-- | chat/Makefile.sol2 | 19 |
2 files changed, 0 insertions, 53 deletions
diff --git a/chat/Makefile.linux b/chat/Makefile.linux deleted file mode 100644 index 2cd1f3f..0000000 --- a/chat/Makefile.linux +++ /dev/null @@ -1,34 +0,0 @@ -CROSS_COMPILE=@CROSS_COMPILE@ -CC=$(CROSS_COMPILE)@CC@ -COPTS=@CFLAGS@ - -PREFIX = @DESTDIR@ -DESTDIR = $(INSTROOT)$(PREFIX) -BINDIR = $(DESTDIR)/sbin -MANDIR = $(DESTDIR)/share/man/man8 - -CDEF1= -DTERMIOS # Use the termios structure -CDEF2= -DSIGTYPE=void # Standard definition -CDEF3= -UNO_SLEEP # Use the usleep function -CDEF4= -DFNDELAY=O_NDELAY # Old name value -CDEFS= $(CDEF1) $(CDEF2) $(CDEF3) $(CDEF4) - -CFLAGS= $(COPTS) $(CDEFS) - -INSTALL= install - -all: chat - -chat: chat.o - $(CC) $(LDFLAGS) -o chat chat.o - -chat.o: chat.c - $(CC) -c $(CFLAGS) -o chat.o chat.c - -install: chat - mkdir -p $(BINDIR) $(MANDIR) - $(INSTALL) -c chat $(BINDIR) - $(INSTALL) -c -m 644 chat.8 $(MANDIR) - -clean: - rm -f chat.o chat *~ diff --git a/chat/Makefile.sol2 b/chat/Makefile.sol2 deleted file mode 100644 index 10d3314..0000000 --- a/chat/Makefile.sol2 +++ /dev/null @@ -1,19 +0,0 @@ -# -# Makefile for chat on Solaris 2 -# - -include ../Makedefs.com - -CFLAGS = $(COPTS) -DNO_USLEEP -DSOL2 - -all: chat - -chat: chat.o - $(CC) -o chat chat.o - -install: chat - $(INSTALL) -f $(BINDIR) chat - $(INSTALL) -m 444 -f $(MANDIR)/man8 chat.8 - -clean: - rm -f *~ *.o chat |