File:  [mozdev] / annozilla / www / api / annotations / Makefile
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Apr 20 14:10:20 2005 UTC (14 years, 10 months ago) by matthew
Branches: MAIN
CVS tags: HEAD, ANNOZILLA-ES-CHANGES, ANNOZILLA-ES, ANNOZILLA-CGH-CHANGES, ANNOZILLA-0-7-0, ANNOZILLA-0-6-7-BRANCH, ANNOZILLA-0-6-7
Process .js files to have a .js extension

JS_TARGETS  = service/components/nsTracker.js \
              service/components/nsAnnotation.js \
              service/components/nsRemoteAnnotationsServer.js \
              service/components/nsAnnotationMetadata.js \
              service/components/nsAnnotationsService.js \
              service/components/nsLocalAnnotationsServer.js

IDL_TARGETS = idl/nsIAnnotations.idl \
	      idl/nsIAnnotationsInternal.idl

TARGETS = $(JS_TARGETS) $(IDL_TARGETS)

all: $(TARGETS) doxygen

# We hack these to remove the definition of the prototype, since js2doxy.pl
# doesn't like it
$(JS_TARGETS): %.js: ../../../%.js
	perl -n -e "print unless /prototype/../^}/" $< | perl js2doxy.pl > $@

$(IDL_TARGETS): %.idl : ../../../service/%.idl
	cp $< $@

doxygen: annotations.doxy $(TARGETS)
	doxygen annotations.doxy

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>