Annotation of libwww/Robot/src/Makefile.am, revision 1.24
1.1 frystyk 1: ## Process this file with Automake to create Makefile.in.
2:
3: bin_PROGRAMS = webbot
4:
1.23 frystyk 5: webbot_LDADD = \
6: -lm \
7: ../../Library/src/libwww.la \
8: ../../modules/md5/libmd5.la \
9: ../../modules/expat/xmlparse/libxmlparse.la \
10: ../../modules/expat/xmltok/libxmltok.la
1.3 frystyk 11:
1.5 manoli 12: SUBDIRS = windows
13:
1.23 frystyk 14: INCLUDES = \
15: -I$(srcdir)/../../Library/src \
16: -I$(top_srcdir)/modules/expat/xmlparse
1.1 frystyk 17:
18: # .h files are distributed but originally are made from the
19: # self-documenting hypertext files.
20: SUFFIXES = .h .html
21: .html.h:
1.19 frystyk 22: ifdef WWW
23: $(WWW) -w90 -na -p -to text/x-c $(srcdir)/$(*F).html -o $(srcdir)/$(*F).h
24: else
25: @echo "**************************************************"
26: @echo "Need to regenerate one or more .h files but can't find the libwww"
1.20 frystyk 27: @echo "Line Mode Browser (www). Attempting to generate them using the"
28: @echo "winConfigure.pl script - it may generate a few warnings."
1.19 frystyk 29: @echo "**************************************************"
1.20 frystyk 30: perl $(top_srcdir)/config/winConfigure.pl $(srcdir)
1.19 frystyk 31: endif
1.1 frystyk 32:
1.7 frystyk 33: webbot_SOURCES = \
1.21 frystyk 34: HTRobot.c RobotMain.c RobotTxt.c HTQueue.c
1.7 frystyk 35:
36: BUILT_SOURCES = \
1.21 frystyk 37: HTRobot.h HTRobMan.h RobotTxt.h HTQueue.h
1.7 frystyk 38:
1.24 ! frystyk 39: DOCS := $(wildcard *.html)
! 40:
1.8 frystyk 41: EXTRA_DIST = \
1.24 ! frystyk 42: $(BUILT_SOURCES) \
! 43: $(DOCS) \
1.15 frystyk 44: robot.sh
1.8 frystyk 45:
1.6 frystyk 46: inc: $(BUILT_SOURCES)
47: @echo Generated built sources
48:
1.12 frystyk 49: PURIFY_CACHE = @PURIFY_CACHE@
50:
1.6 frystyk 51: purify: $(webbot_OBJECTS) $(webbot_DEPENDENCIES)
1.17 frystyk 52: -rm purify; \
1.6 frystyk 53: purify -cache-dir=$(PURIFY_CACHE) \
1.18 frystyk 54: $(CC) $(LDFLAGS) -o purify $(webbot_OBJECTS) \
55: ../../Library/src/.libs/libwww.a -lm $(LIBS)
1.21 frystyk 56:
57:
58:
59:
Webmaster