## ## Process this file with automake to produce Makefile.in ## AUTOMAKE_OPTIONS = no-dependencies foreign CC = @CC@ SED = @SED@ CP = cp ONIONS = ../Onions WWW = ${prefix}/lib/libwww-ada95 CFLAGS = -Wall @CFLAGS@ GNATFLAGS = -gnatg @GNATFLAGS@ INCFLAGS = -I. -I${srcdir} -I${ONIONS} UTILOBJECTS = \ util.o \ util-llists.o \ util-hashed_mapping.o UTILSOURCES = \ ${srcdir}/util.ads \ ${srcdir}/util-llists.ads ${srcdir}/util-llists.adb \ ${srcdir}/util-hashed_mapping.ads ${srcdir}/util-hashed_mapping.adb WWWOBJECTS = \ www.o \ www-value_lists.o \ www-field_names.o \ www-status_codes.o \ www-message.o \ www-request.o \ www-response.o WWWSOURCES = \ ${srcdir}/www.ads \ ${srcdir}/www-value_lists.ads \ ${srcdir}/www-field_names.ads ${srcdir}/www-field_names.adb \ ${srcdir}/www-status_codes.ads ${srcdir}/www-status_codes.adb \ ${srcdir}/www-message.ads ${srcdir}/www-message.adb \ ${srcdir}/www-request.ads ${srcdir}/www-request.adb \ ${srcdir}/www-response.ads ${srcdir}/www-response.adb URIOBJECTS = \ uri.o URISOURCES = \ ${srcdir}/uri.ads ${srcdir}/uri.adb HTMLOBJECTS = \ html.o \ onions-instreams-html_dir.o HTMLSOURCES = \ ${srcdir}/html.ads \ ${srcdir}/onions-instreams-html_dir.ads ${srcdir}/onions-instreams-html_dir.adb OBJECTS = ${UTILOBJECTS} ${URIOBJECTS} ${WWWOBJECTS} ${HTMLOBJECTS} SOURCES = ${UTILSOURCES} ${URISOURCES} ${WWWSOURCES} ${HTMLSOURCES} CLEANFILES = *.o *.ali SUFFIXES = .adb .ads .ali .o .c .xrb %.o: %.c ${CC} -c ${CFLAGS} ${INCFLAGS} $< %.o: %.adb ${CC} -c ${CFLAGS} ${INCFLAGS} ${GNATFLAGS} $< %.o: %.ads ${CC} -c ${CFLAGS} ${INCFLAGS} ${GNATFLAGS} $< %.ali: %.adb ${CC} -c ${CFLAGS} ${INCFLAGS} ${GNATFLAGS} $< %.ali: %.ads ${CC} -c ${CFLAGS} ${INCFLAGS} ${GNATFLAGS} $< all-local: ${SOURCES} ${OBJECTS} install-dirs-local: -rm -rf ${WWW} ${top_srcdir}/mkinstalldirs ${WWW} install-extra-libs: install-data-local: all-local install-dirs-local install-extra-libs ${CP} -p ${SOURCES} ${OBJECTS} \ `echo ${OBJECTS} | sed -e 's/\.o/.ali/g'` ${WWW} chmod a-w ${WWW}/* # Cross references X.ref: ${SOURCES} gnatf -x6 ${SOURCES} %.xrb: %.adb gnatf -x5 $< %.xrb: %.ads gnatf -x5 $< ### dependencies created by hand util.o: util.ads util-llists.o: util.o util-llists.ads util-llists.adb util-hashed_mapping.o: util.o util-llists.o \ util-hashed_mapping.ads util-hashed_mapping.adb uri.o: ${ONIONS}/onions.o uri.ads uri.adb www.o: www.ads www-value_lists.o: www.o util-llists.o www-value_lists.ads www-status_codes.o: www.o www-status_codes.ads www-status_codes.adb www-field_names.o: www.o www-field_names.ads www-field_names.adb www-message.o: util-hashed_mapping.o www.o www-value_lists.o www-field_names.o \ ${ONIONS}/onions.o www-message.ads www-message.adb www-request.o: www.o www-message.o www-request.ads www-request.adb www-response.o: www.o www-message.o www-response.ads www-response.adb html.o: html.ads onions-instreams-html_dir.o: html.o ${ONIONS}/onions-buckets.o \ ${ONIONS}/onions-instreams.o ${ONIONS}/onions-os.o \ onions-instreams-html_dir.ads onions-instreams-html_dir.adb