X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=MakeRules.in;h=eb60b2add9c7b8b8bd25cfa03caeecad3f628e20;hb=978e0407c83d32b9e733a4ce8ea457f2486f0122;hp=ef43c1393e2aee73e6e1c54e87061e691d674588;hpb=5cb134d940ff48d4bb471efd20c62edd58ae0980;p=libfirm diff --git a/MakeRules.in b/MakeRules.in index ef43c1393..eb60b2add 100644 --- a/MakeRules.in +++ b/MakeRules.in @@ -7,6 +7,8 @@ VPATH = $(srcdir) +LIBFIRM_VERSION = 0.3.0 + CC = @CC@ CFLAGS := @CFLAGS@ CPPFLAGS := -I. -I$(topdir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@ @@ -21,14 +23,21 @@ LD := @LD@ LDFLAGS := @LDFLAGS@ LD_R := @libfirm_cv_prog_ld_r@ +LN_S := @LN_S@ + # profiling enabled? ifeq (@enable_profile_libfirm@,yes) -LDFLAGS += -g -pg +LDFLAGS += # -g -pg GL: geht bei mir nicht: unrecognised option endif AR := @AR@ ARFLAGS := rc +TAR := @TAR@ +TARDIRNAME := libfirm-$(LIBFIRM_VERSION) +TARFILENAME := $(topdir)/$(TARDIRNAME).tar +TARFLAGS = -uhf $(TARFILENAME) + RANLIB := @RANLIB@ AUTODOC := @ROBODOC@ @@ -37,7 +46,8 @@ INDEXFILE := $(AUTODOCDIR)/index.html GLOBALXREFFILE := $(AUTODOCDIR)/libfirm.html.xrefs LOCALXREFSFILE := .xrefs -DISTFILES = $(SOURCES) +DISTFILES += $(addprefix $(srcdir)/, $(SOURCES)) +ARCHIVEDISTFILES += $(addprefix $(TARDIRNAME)/$(subdir)/, $(SOURCES)) CFILES = $(filter %.c,$(SOURCES) $(GENFILES)) HFILES = $(filter %.h,$(SOURCES) $(GENFILES)) OFILES = $(CFILES:.c=.o) @@ -99,4 +109,4 @@ test -z "$$fail" endef endif -targets = all clean depend echodist echogen echosrc realclean tags install autodoc autodoc_xref autodoc_html +targets = all clean depend realclean tags install autodoc autodoc_xref autodoc_html dist distrib install_headers install_libs