]>
git.ipfire.org Git - thirdparty/git.git/blob - contrib/scalar/Makefile
1 # The default target of this Makefile is...
4 # Import tree-wide shared Makefile behavior and libraries
5 include ..
/..
/shared.mak
7 include ..
/..
/config.mak.uname
8 -include ..
/..
/config.mak.autogen
9 -include ..
/..
/config.mak
11 TARGETS
= scalar
$(X
) scalar.o
12 GITLIBS
= ..
/..
/common-main.o ..
/..
/libgit.a ..
/..
/xdiff
/lib.a
14 all:: scalar
$(X
) ..
/..
/bin-wrappers
/scalar
17 $(QUIET_SUBDIR0
)..
/..
$(QUIET_SUBDIR1
) $(subst ..
/..
/,,$@
)
19 $(TARGETS
): $(GITLIBS
) scalar.c
20 $(QUIET_SUBDIR0
)..
/..
$(QUIET_SUBDIR1
) $(patsubst %,contrib
/scalar
/%,$@
)
23 $(RM
) $(TARGETS
) ..
/..
/bin-wrappers
/scalar
25 ..
/..
/bin-wrappers
/scalar
: ..
/..
/wrap-for-bin.sh Makefile
26 @mkdir
-p ..
/..
/bin-wrappers
27 $(QUIET_GEN
)sed
-e
'1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
28 -e
's|@@BUILD_DIR@@|$(shell cd ../.. && pwd)|' \
29 -e
's|@@PROG@@|contrib/scalar/scalar$(X)|' < $< > $@
&& \
35 .PHONY
: $(GITLIBS
) all clean test FORCE