summaryrefslogtreecommitdiff
path: root/MSVC_NMake/install.mak
blob: 81d4e17f01be1e8645334a106a2b19d60af4f18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# NMake Makefile snippet for copying the built libraries, utilities and headers to
# a path under $(PREFIX).

install: all
	@if not exist $(PREFIX)\bin\ mkdir $(PREFIX)\bin
	@if not exist $(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include\ mkdir $(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include
	@if not exist $(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm\ @mkdir $(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm
	@copy /b vs$(VSVER)\$(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).dll $(PREFIX)\bin
	@copy /b vs$(VSVER)\$(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).pdb $(PREFIX)\bin
	@copy /b vs$(VSVER)\$(CFG)\$(PLAT)\$(CAIROMM_LIBNAME).lib $(PREFIX)\lib
	@for %h in ($(cairomm_public_h)) do @copy "..\cairomm\%h" "$(PREFIX)\include\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\cairomm\%h"
	@copy ".\cairomm\cairommconfig.h" "$(PREFIX)\lib\cairomm-$(CAIROMM_MAJOR_VERSION).$(CAIROMM_MINOR_VERSION)\include\"