$NetBSD: patch-aa,v 1.1.1.1 2002/04/21 10:47:31 rh Exp $ --- Makefile.orig Thu Aug 21 03:29:58 1997 +++ Makefile @@ -1,14 +1,13 @@ # Where to install the xmftp binary -INSTALL_BIN_DIR=/usr/local/bin +INSTALL_BIN_DIR=$(PREFIX)/bin # If your libraries (see LIBS below) are located somewhere else, change this -LFLAGS=-L/usr/X11R6/lib +LFLAGS=$(LDFLAGS) # Shouldn't have to edit anything below this line ########################################################################## -CC=gcc -CFLAGS=-Wall +CFLAGS+=-Wall OBJ= ui/xmftp.o ui/build_menu.o ui/menu_creation.o ui/operations.o \ ui/layout.o ui/setup_cbs.o program/misc.o \ program/unix/implementation.o program/ftp.o \ @@ -33,7 +32,7 @@ echo "All done! You may do 'make install' now if you like."; \ echo "" -xmftp: doobj +xmftp: $(OBJ) $(CC) $(CFLAGS) $(LFLAGS) -o xmftp $(OBJ) $(LIBS) @echo ""; \ echo "All done! You may do 'make install' now if you like."; \