Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/contrib/credential/libsecret/Makefile # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / contrib / credential / libsecret / Makefile` 32 lines ยท 791 bytes Raw Blame History 1 # The default target of this Makefile is... 2 all:: git-credential-libsecret 3 4 -include ../../../config.mak.autogen 5 -include ../../../config.mak 6 7 prefix ?= /usr/local 8 gitexecdir ?= $(prefix)/libexec/git-core 9 10 CC ?= gcc 11 CFLAGS ?= -g -O2 -Wall 12 PKG_CONFIG ?= pkg-config 13 INSTALL ?= install 14 RM ?= rm -f 15 16 INCS:=$(shell $(PKG_CONFIG) --cflags libsecret-1 glib-2.0) 17 LIBS:=$(shell $(PKG_CONFIG) --libs libsecret-1 glib-2.0) 18 19 %.o: %.c 20 $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $< 21 22 git-credential-libsecret: git-credential-libsecret.o 23 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS) 24 25 install: git-credential-libsecret 26 $(INSTALL) -d -m 755 $(DESTDIR)$(gitexecdir) 27 $(INSTALL) -m 755 $< $(DESTDIR)$(gitexecdir) 28 29 clean: 30 $(RM) git-credential-libsecret git-credential-libsecret.o 31 32 .PHONY: all install clean