aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile.in12
-rw-r--r--libwc/Makefile.in2
-rw-r--r--w3mimg/Makefile.in2
-rw-r--r--w3mimg/fb/Makefile.in6
-rw-r--r--w3mimg/x11/Makefile.in2
5 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 1d8644f..737000f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -108,10 +108,10 @@ HELP_TARGET=w3mhelp.html
HELP_ALLFILES=w3mhelp-w3m_en.html w3mhelp-w3m_ja.html \
w3mhelp-lynx_en.html w3mhelp-lynx_ja.html
-SCRIPTSUBDIRS= scripts scripts/multipart scripts/w3mman
-SUBDIRS = $(SCRIPTSUBDIRS)
+SCRIPTSUBDIRS= scripts
+SUBDIRS = $(SCRIPTSUBDIRS) w3mimg libwc
-.PHONY: w3mimg libwc
+.PHONY: $(SUBDIRS)
all: $(TARGETS) all-scripts
@@ -212,14 +212,14 @@ install-helpfile:
all-scripts:
for dir in $(SCRIPTSUBDIRS); \
do \
- (cd $(top_srcdir)/$$dir && $(MAKE) $(MAKE_ARGS)); \
+ (cd $$dir && $(MAKE) $(MAKE_ARGS)); \
done
install-scripts: all-scripts
topdir=`pwd`; \
for dir in $(SCRIPTSUBDIRS); \
do \
- (cd $(top_srcdir)/$$dir && $(MAKE) $(MAKE_ARGS) install); \
+ (cd $$dir && $(MAKE) $(MAKE_ARGS) install); \
done
uninstall:
@@ -241,7 +241,7 @@ uninstall:
-$(RM) -f $(mandir)/ja/man1/$(MAN1_TARGET)
-for dir in $(SCRIPTSUBDIRS); \
do \
- (cd $(top_srcdir)/$$dir && $(MAKE) $(MAKE_ARGS) uninstall); \
+ (cd $$dir && $(MAKE) $(MAKE_ARGS) uninstall); \
done
clean: sweep
diff --git a/libwc/Makefile.in b/libwc/Makefile.in
index f7fdbb8..57a0725 100644
--- a/libwc/Makefile.in
+++ b/libwc/Makefile.in
@@ -6,7 +6,7 @@ top_srcdir=@top_srcdir@
VPATH=$(srcdir):.
LIBRARY = libwc.a
CC=@CC@
-CFLAGS = $(TOP_CFLAGS) @WCCFLAGS@
+CFLAGS = $(TOP_CFLAGS) @WCCFLAGS@
AR=ar
RANLIB=@RANLIB@
RM=rm
diff --git a/w3mimg/Makefile.in b/w3mimg/Makefile.in
index ad327c2..d07f218 100644
--- a/w3mimg/Makefile.in
+++ b/w3mimg/Makefile.in
@@ -14,7 +14,7 @@ IMGCFLAGS=@IMGX11CFLAGS@ @IMGFBCFLAGS@
all: w3mimg.o fb x11
w3mimg.o: w3mimg.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -I.. -I$(top_srcdir) -I$(srcdir) -c $<
fb x11:
cd $@ && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
diff --git a/w3mimg/fb/Makefile.in b/w3mimg/fb/Makefile.in
index 2fbc9db..82d7915 100644
--- a/w3mimg/fb/Makefile.in
+++ b/w3mimg/fb/Makefile.in
@@ -15,13 +15,13 @@ OBJS=fb.o fb_img.o
all: fb_w3mimg.o fb.o fb_img.o
fb_w3mimg.o: fb_w3mimg.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -I../.. -I$(top_srcdir) -I$(srcdir) -c $<
fb.o: fb.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -I../.. -I$(top_srcdir) -I$(srcdir) -c $<
fb_img.o: fb_img.c fb_gdkpixbuf.c fb_imlib2.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -I../.. -I$(top_srcdir) -I$(srcdir) -c $<
clean:
@-$(RM) -f *.o
diff --git a/w3mimg/x11/Makefile.in b/w3mimg/x11/Makefile.in
index ae8da91..894c7d8 100644
--- a/w3mimg/x11/Makefile.in
+++ b/w3mimg/x11/Makefile.in
@@ -15,7 +15,7 @@ OBJS=x11_w3mimg.o
all: x11_w3mimg.o
x11_w3mimg.o: x11_w3mimg.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -I$(top_srcdir) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -I../.. -I$(top_srcdir) -I$(srcdir) -c $<
clean:
@-$(RM) -f *.o