home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume38
/
libftp
/
part01
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-07-13
|
6KB
|
185 lines
DEST = .
EXTHDRS = /usr/include/arpa/ftp.h \
/usr/include/netdb.h \
/usr/include/netinet/in.h \
/usr/include/stdio.h \
/usr/include/sys/socket.h \
/usr/include/sys/types.h
HDRS = FtpLibrary.h
LDFLAGS =
LIBS =
LINKER = gcc
CC = gcc
SED = sed
ECHO = echo
CFLAGS = -I. -O -g
MAKEFILE = Makefile
OBJS = FtpBye.o \
FtpClose.o \
FtpCommand.o \
FtpConnect.o \
FtpData.o \
FtpDebug.o \
FtpFull.o \
FtpGetMessage.o \
FtpGetString.o \
FtpGood.o \
FtpInitMessage.o \
FtpLogin.o \
FtpMessage.o \
FtpMove.o \
FtpNumber.o \
FtpOpenDir.o \
FtpPort.o \
FtpPut.o \
FtpPwd.o \
FtpRead.o \
FtpRetr.o \
FtpSendMessage.o \
FtpWrite.o \
test.o
PRINT = pr
PROGRAM = a.out
SRCS = FtpBye.c \
FtpClose.c \
FtpCommand.c \
FtpConnect.c \
FtpData.c \
FtpDebug.c \
FtpFull.c \
FtpGetMessage.c \
FtpGetString.c \
FtpGood.c \
FtpInitMessage.c \
FtpLogin.c \
FtpMessage.c \
FtpMove.c \
FtpNumber.c \
FtpOpenDir.c \
FtpPort.c \
FtpPut.c \
FtpPwd.c \
FtpRead.c \
FtpRetr.c \
FtpSendMessage.c \
FtpWrite.c \
test.c
all: $(PROGRAM)
libftp.a: all
ar cq libftp.a `$(ECHO) $(OBJS)|$(SED) s/test.o//g`
ranlib libftp.a
$(PROGRAM): $(OBJS) $(LIBS)
@echo -n "Loading $(PROGRAM) ... "
@$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
@echo "done"
clean:; @rm -f $(OBJS)
depend:; @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
index:; @ctags -wx $(HDRS) $(SRCS)
install: $(PROGRAM)
@echo Installing $(PROGRAM) in $(DEST)
@install -s $(PROGRAM) $(DEST)
print:; @$(PRINT) $(HDRS) $(SRCS)
program: $(PROGRAM)
tags: $(HDRS) $(SRCS); ctags $(HDRS) $(SRCS)
update: $(DEST)/$(PROGRAM)
###
FtpBye.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpClose.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpCommand.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpConnect.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpData.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpDebug.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpFull.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpGetMessage.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpGetString.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpGood.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpInitMessage.o: FtpLibrary.h /usr/include/stdio.h \
/usr/include/sys/types.h /usr/include/sys/socket.h \
/usr/include/arpa/ftp.h /usr/include/netinet/in.h \
/usr/include/netdb.h
FtpLogin.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpMessage.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpMove.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpNumber.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpOpenDir.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpPort.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpPut.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpPwd.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpRead.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpRetr.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h
FtpSendMessage.o: FtpLibrary.h /usr/include/stdio.h \
/usr/include/sys/types.h /usr/include/sys/socket.h \
/usr/include/arpa/ftp.h /usr/include/netinet/in.h \
/usr/include/netdb.h
FtpWrite.o: FtpLibrary.h /usr/include/stdio.h /usr/include/sys/types.h \
/usr/include/sys/socket.h /usr/include/arpa/ftp.h \
/usr/include/netinet/in.h /usr/include/netdb.h