$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2004/07/01 21:53:16 robert Exp $ --- src/Makefile.in.orig Mon Jun 23 14:13:34 2003 +++ src/Makefile.in Mon Jun 28 15:42:33 2004 @@ -73,13 +73,13 @@ MAINTAINERCLEANFILES = Makefile.in -LDFLAGS = -L/usr/X11R6/lib -INCLUDES = -g -O3 -Wall -I/usr/X11R6/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ +LDFLAGS = -L${X11BASE}/lib +INCLUDES = -Wall -I${X11BASE}/include $(X_CFLAGS) -I$(prefix)/include -I$(includedir) -I. -DPREFIX=\""$(prefix)"\" @GIBLIB_CFLAGS@ LIBOBJS = @LIBOBJS@ bin_PROGRAMS = scrot -scrot_SOURCES = main.c getopt.c getopt1.c getopt.h scrot.h options.c options.h debug.h imlib.c structs.h +scrot_SOURCES = main.c scrot.h options.c options.h debug.h imlib.c structs.h scrot_LDADD = -lX11 @GIBLIB_LIBS@ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs @@ -91,7 +91,7 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I. CPPFLAGS = @CPPFLAGS@ LIBS = @LIBS@ -scrot_OBJECTS = main.o getopt.o getopt1.o options.o imlib.o +scrot_OBJECTS = main.o options.o imlib.o scrot_DEPENDENCIES = scrot_LDFLAGS = CFLAGS = @CFLAGS@ @@ -239,11 +239,9 @@ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -getopt.o: getopt.c config.h -getopt1.o: getopt1.c config.h getopt.h -imlib.o: imlib.c scrot.h getopt.h config.h structs.h debug.h options.h -main.o: main.c scrot.h getopt.h config.h structs.h debug.h options.h -options.o: options.c scrot.h getopt.h config.h structs.h debug.h \ +imlib.o: imlib.c scrot.h config.h structs.h debug.h options.h +main.o: main.c scrot.h config.h structs.h debug.h options.h +options.o: options.c scrot.h config.h structs.h debug.h \ options.h info-am: