2 # $Id: Makefile.in,v 1.24 1997/03/23 13:03:55 assar Exp $
8 top_srcdir = @top_srcdir@
17 CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir) -I$(topdir) -I$(top_srcdir) -I$(topdir)/include -I$(top_srcdir)/include -I$(srcdir)/../common @INCLUDE_readline@
19 LIB_tgetent = @LIB_tgetent@
20 LIBS = @LIBS@ @LIB_readline@
21 MKINSTALLDIRS = $(top_srcdir)/mkinstalldirs
24 INSTALL_PROGRAM = @INSTALL_PROGRAM@
27 exec_prefix = @exec_prefix@
30 transform=@program_transform_name@
31 EXECSUFFIX=@EXECSUFFIX@
33 INCTOP = $(topdir)/include
35 LIBTOP = $(topdir)/lib
37 PROGS = ftp$(EXECSUFFIX)
39 ftp_OBJS = cmds.o cmdtab.o ftp.o krb4.o main.o ruserpass.o domacro.o \
42 ftp_SOURCES = cmds.c cmdtab.c ftp.c krb4.c main.c ruserpass.c \
43 domacro.c globals.c kauth.c
46 SOURCES = $(ftp_SOURCES)
51 $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) $<
54 $(MKINSTALLDIRS) $(bindir)
55 for x in $(PROGS); do \
56 $(INSTALL_PROGRAM) $$x $(bindir)/`echo $$x | sed '$(transform)'`; \
60 for x in $(PROGS); do \
61 rm -f $(bindir)/`echo $$x | sed '$(transform)'`; \
64 ftp$(EXECSUFFIX): $(ftp_OBJS) # ../common/libcommon.a
65 $(CC) $(LD_FLAGS) $(LDFLAGS) -o $@ $(ftp_OBJS) -L../common -lcommon -L$(LIBTOP)/krb -lkrb -L$(LIBTOP)/des -ldes -L$(LIBTOP)/roken -lroken $(LIBS) -L$(LIBTOP)/roken -lroken
71 rm -f *~ *.o core ftp \#*
76 $(OBJECTS): ../../../include/config.h