X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=MakeRules.in;h=e33c3e056c79e801b573c6f4818e5283093b5383;hb=e3e22fa6f927847099c0bff62457003aa81f2518;hp=9772e55df6c3378860cca32c2578fdd417c8ec95;hpb=972ce44b525c5799ba51db5ad4af962990002361;p=libfirm diff --git a/MakeRules.in b/MakeRules.in index 9772e55df..e33c3e056 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,6 +23,8 @@ 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 @@ -30,7 +34,9 @@ AR := @AR@ ARFLAGS := rc TAR := @TAR@ -TARFLAGS = -C $(top_srcdir) -uf $(topdir)/libfirm.tar +TARDIRNAME := libfirm-$(LIBFIRM_VERSION) +TARFILENAME := $(topdir)/$(TARDIRNAME).tar +TARFLAGS = -uhf $(TARFILENAME) RANLIB := @RANLIB@ @@ -41,7 +47,7 @@ GLOBALXREFFILE := $(AUTODOCDIR)/libfirm.html.xrefs LOCALXREFSFILE := .xrefs DISTFILES += $(addprefix $(srcdir)/, $(SOURCES)) -ARCHIVEDISTFILES += $(addprefix $(subdir)/, $(SOURCES)) +ARCHIVEDISTFILES += $(addprefix $(TARDIRNAME)/$(subdir)/, $(SOURCES)) CFILES = $(filter %.c,$(SOURCES) $(GENFILES)) HFILES = $(filter %.h,$(SOURCES) $(GENFILES)) OFILES = $(CFILES:.c=.o) @@ -103,4 +109,4 @@ test -z "$$fail" endef endif -targets = all clean depend realclean tags install autodoc autodoc_xref autodoc_html dist +targets = all clean depend realclean tags install autodoc autodoc_xref autodoc_html dist distrib install_headers install_libs