Files
w3m/w3mimg/Makefile.in
Fumitoshi UKAI e99561b348 * scripts/Makefile.in (w3mhelp-funcname.pl): depends ../funcname.tab
* Makefile.in (IMGOBJS): deleted
	(indep.o): depends on fm.h funcname1.h
	(IMGDISPLAY): depends on w3mimg/w3mimg.a
	(w3mimg/w3mimg.a): renamed from w3mimg
* acinclude.m4 (AC_W3M_IMAGE): modify IMBOBJS
* w3mimg/Makefile.in (AR): added
		(RANLIB): added
		(IMGOBJS): added
		(w3mimg.a): added
From: Fumitoshi UKAI  <ukai@debian.or.jp>

* [w3m-dev 03990] Re: post-m17n merge problem?
* Makefile.in (MAN1): need $(top_srcdir)
		(MAN1_JA): ditto
		(LOBJS): depends on fm.h funcname1.h
		(INFLATE): depends on $(ALIB)
		(libwc/libwc.a): renamed from libwc
		(IMGDISPLAY): depends on $(IMGOBJS) instead of w3mimg
			  depends on $(ALIB)
		(w3mimgdisplay.o): depends on w3mimg/w3mimg.h
* acinclude.m4 (AC_W3M_M17N): WCTARGET is libwc/libwc.a
* configure.in (HELP_DIR): expand ${prefix}
From: qhwt@myrealbox.com
2003-10-10 16:33:13 +00:00

45 lines
676 B
Makefile

#
# w3mimg/Makefile
#
@SET_MAKE@
SHELL=@SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = $(srcdir):.
AR=ar
RANLIB=@RANLIB@
RM=rm
IMGCFLAGS=@IMGX11CFLAGS@ @IMGFBCFLAGS@
IMGOBJS=@IMGOBJS@
.PHONY: fb x11
all: @IMGTARGETS@ w3mimg.a
w3mimg.a: $(IMGOBJS)
$(AR) rv $@ $^
$(RANLIB) $@
w3mimg.o: w3mimg.c
$(CC) $(CFLAGS) $(IMGCFLAGS) -I.. -I$(top_srcdir) -I$(srcdir) -c $<
fb x11:
cd $@ && $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
clean:
@-$(RM) -f *.o
@for dir in fb x11; do \
(cd $$dir && $(MAKE) clean RM=$(RM)); \
done
distclean: clean
for subdir in fb x11; \
do \
(cd $$subdir && $(MAKE) distclean); \
done
-$(RM) -f Makefile
-$(RM) -f Makefile
#