Changed void * into char * for offset calculations to make things portable
[libfirm] / Makefile.in
index 7efdfbc..6726d5c 100644 (file)
@@ -16,11 +16,6 @@ topdir := .
 # subdirectory under topdir
 subdir := .
 
-prefix := @prefix@
-exec_prefix := @exec_prefix@
-bindir = $(exec_prefix)/bin
-datadir = $(prefix)/lib
-
 subdirs := ir ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/tr ir/ana ir/st
 
 SOURCES := Makefile.in MakeRules.in MakeTargets\
@@ -51,17 +46,13 @@ testprograms:       libfirm.a
        $(MAKE) -C testprograms
 
 
-# generate program documentation
+# gernerate program documentation
 .PHONY: autodoc
-autodoc: autodoc_xref $(AUTODOCDIR) $(GLOBALXREFFILE) autodoc_html $(INDEXFILE)
-
-$(GLOBALXREFFILE): $(addsuffix /$(LOCALXREFSFILE), $(subdirs)) .xrefs
-#      cat $^ > $@
-       $(RM) $@
-       find $(PWD) -name "*.xref" -print > $@
+autodoc: $(AUTODOCDIR) $(AUTODOCINDEXFILE)
 
-$(INDEXFILE): $(GLOBALXREFFILE)
-       $(AUTODOC) $(GLOBALXREFFILE) $@ INDEX HTML
+.PHONY: $(AUTDOCINDEXFILE)
+$(AUTODOCINDEXFILE): $(CFILES) $(HFILES)
+       $(AUTODOC) $(srcdir)/$(AUTODOCFILE)
 
 
 #${srcdir}/configure: configure.in aclocal.m4