File Makefile of Package gmsa-kinit
CXX ?= g++ GLIB_FLAGS = -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lglib-2.0 OPENSSL_FLAGS = -lssl -lcrypto all: gmsa-kinit utf16toutf8 gmsa-kinit: gmsa-kinit.cpp $(CXX) -o gmsa-kinit gmsa-kinit.cpp -std=c++17 $(CXXFLAGS) $(LDFLAGS) $(GLIB_FLAGS) $(OPENSSL_FLAGS) utf16toutf8: decode.cs csc decode.cs mv decode.exe utf16toutf8 clean: rm gmsa-kinit install: mkdir -p $(PREFIX)$(DESTDIR)/usr/sbin strip gmsa-kinit install -m755 gmsa-kinit $(PREFIX)$(DESTDIR)/usr/sbin install -m755 utf16toutf8 $(PREFIX)$(DESTDIR)/usr/sbin .PHONY: install clean all