pike.git
/
src
/
Makefile.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/Makefile.in:1:
#
-
# $Id: Makefile.in,v 1.
418
2006/04/
16
13
:
48
:
14
grubba Exp $
+
# $Id: Makefile.in,v 1.
419
2006/04/
22
10
:
56
:
16
grubba Exp $
# # This line is needed on some machines. @SET_MAKE@ # Pike embed target, either libpike.so or libpike.a. PIKE_LIB=@PIKE_LIB@ # Don't change this line. Define EXTRALIBS before this line if you # wish to add any libraries.
pike.git/src/Makefile.in:177:
iterators.o \ facetgroup.o \ svalue.o \ las.o \ builtin_functions.o \ peep.o \ @DLOPEN_O@ @EXTRA_OBJS@ OBJ=$(CORE_OBJ) module.o MODULE_REQUIREMENTS= \
+
headerfiles \
machine.h \ global.h \ precompile.sh-stamp \ modules/static_module_makefile \ modules/dynamic_module_makefile \ $(SRCDIR)/language.h \ $(SRCDIR)/interpret_protos.h \ lib @EXTRA_MODULE_REQUIREMENTS@ SRC_TARGETS= \
pike.git/src/Makefile.in:219:
find . -name '*.fail' -print | sed -e 's/\.fail$$//' -e 's/^/ /'; \ echo; \ fi doc: documentation documentation: onepage.xml traditional.xml modref.xml cd $(DOCDIR) && $(MAKE) $(MAKE_FLAGS) PIKE="$(RUNPIKE)" \ BUILDDIR="$(TMP_BUILDDIR)" $(DOCTARGET)
+
# Creation of bundles/include/pike/.
+
+
headerfiles: bundles/include/pike machine.h global.h $(SRC_TARGETS) force
+
@$(MAKE) $(MAKE_FLAGS) headerfiles_low HEADERS="machine.h" HEADERSOURCE="`pwd`"
+
@$(MAKE) $(MAKE_FLAGS) headerfiles_low HEADERS="`cd $(SRCDIR) && echo *.h`" HEADERSOURCE="$(SRCDIR)"
+
+
headerfiles_low: force
+
@for f in $(HEADERS); do \
+
if [ -h "bundles/include/pike/$$f" ]; then continue; fi; \
+
if cmp "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" >/dev/null 2>&1 ; then continue; fi; \
+
rm -f bundles/include/pike/$$f 2>/dev/null; \
+
echo "Creating bundles/include/pike/$$f"; \
+
if ln -s "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" && \
+
ls -L "bundles/include/pike/$$f" >/dev/null 2>&1; then :; else \
+
echo "Symlink failed."; \
+
cp "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" || exit 1; \
+
fi; \
+
done
+
+
bundles/include/pike: bundles/include
+
test -d bundles/include/pike/. || mkdir bundles/include/pike
+
+
bundles/include: bundles
+
test -d bundles/include/. || mkdir bundles/include
+
+
bundles:
+
test -d bundles/. || mkdir bundles
+
# Backward compat. post_modules: post_module_objects post_module_objects: $(MODULE_REQUIREMENTS) tpike @( cd post_modules ; rm remake >/dev/null 2>&1 || : ; \ $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \ ( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$? post_modules/modlist_headers.h: @test -f post_modules/modlist_headers.h || touch post_modules/modlist_headers.h