diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-03-12 15:25:29 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-03-19 00:53:18 +0100 |
commit | 70d0d0889b0c72bcdeb0658335094f61105f8b02 (patch) | |
tree | 52d274badef53895286fbcf9da57101667262a6f /make/mingw.mk | |
parent | 87db567e1f094cbc9118f7c8d215df157b1601b5 (diff) | |
download | qpdf-70d0d0889b0c72bcdeb0658335094f61105f8b02.tar.zst |
Remove old build files
Diffstat (limited to 'make/mingw.mk')
-rw-r--r-- | make/mingw.mk | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/make/mingw.mk b/make/mingw.mk deleted file mode 100644 index 20d648b0..00000000 --- a/make/mingw.mk +++ /dev/null @@ -1,82 +0,0 @@ -# --- Required interface definitions --- - -OBJ=o -LOBJ=o - -# Usage: $(call libname,base) -define libname -lib$(1).dll.a -endef - -# Usage: $(call binname,base) -define binname -$(1).exe -endef - -# --- Required rule definitions --- - -# 1 2 3 -# Usage: $(call compile,src,includes,xflags) -define compile - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(3) \ - $(call depflags,$(basename $(call src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ - -c $(1) -o $(call src_to_obj,$(1)) -endef - -# 1 2 3 -# Usage: $(call c_compile,src,includes,xflags) -define c_compile - $(CC) $(CPPFLAGS) $(CFLAGS) $(3) \ - $(call depflags,$(basename $(call src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ - -c $(1) -o $(call c_src_to_obj,$(1)) -endef - -# 1 2 -# Usage: $(call libcompile,src,includes) -define libcompile - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DDLL_EXPORT \ - $(call depflags,$(basename $(call src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ - -c $(1) -o $(call src_to_obj,$(1)) -endef - -# 1 2 -# Usage: $(call c_libcompile,src,includes) -define c_libcompile - $(CC) $(CPPFLAGS) $(CFLAGS) -DDLL_EXPORT \ - $(call depflags,$(basename $(call src_to_obj,$(1)))) \ - $(foreach I,$(2),-I$(I)) \ - -c $(1) -o $(call c_src_to_obj,$(1)) -endef - -# 1 2 -# Usage: $(call makeslib,objs,library) -define makeslib - $(RM) $2 - $(AR) cru $(2) $(1) - $(RANLIB) $(2) -endef - -# 1 2 3 4 5 6 7 -# Usage: $(call makelib,objs,library,ldflags,libs,current,revision,age) -define makelib - $(DLLTOOL) -l $(2) -D $$(basename `echo $(2) | sed -e 's,/lib\(.*\).dll.a,/\1,'`$(shell expr $(5) - $(7)).dll) $(1); \ - $(CXX) -shared -o `echo $(2) | sed -e 's,/lib\(.*\).dll.a,/\1,'`$(shell expr $(5) - $(7)).dll \ - $(1) $(3) $(4) -endef - -# 1 2 3 4 5 -# Usage: $(call makebin,objs,binary,ldflags,libs,xlinkflags) -define makebin - $(CXX) $(CXXFLAGS) $(5) $(1) -o $(2) $(3) $(4) -endef - -# Install target - -INSTALL_DIR = install-mingw$(WINDOWS_WORDSIZE) -include make/installwin.mk -install: installwin - $(STRIP) $(DEST)/bin/*.exe - $(STRIP) $(DEST)/bin/*.dll |