File: makefile-sample.include

package info (click to toggle)
mono-addins 1.0+git20130406.adcd75b-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 4,048 kB
  • ctags: 7,075
  • sloc: cs: 42,027; sh: 616; makefile: 358; xml: 16; ansic: 7
file content (19 lines) | stat: -rw-r--r-- 872 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
build_sources = $(addprefix $(srcdir)/, $(FILES) $(GENERATED_FILES))
build_resources = $(addprefix $(srcdir)/, $(RESOURCES))
build_resources_embed = $(foreach res,$(build_resources), $(addprefix -resource:,$(res)),$(RESOURCES_PREFIX)$(notdir $(res)))

build_references_ref = $(REFERENCES)
build_references_ref += $(foreach ref, $(DLL_REFERENCES), -r:$(ref))
build_references_ref += $(foreach ref, $(PROJECT_REFERENCES), -r:$(ref))

pc_files = $(PC_FILES_IN:.pc.in=.pc)

build_datafiles = $(addprefix $(BUILD_DIR)/, $(DATA_FILES))
  
$(build_datafiles): $(BUILD_DIR)/% : $(addprefix $(srcdir)/, %)
	mkdir -p $(dir $@)		
	cp $< $@

EXTRA_DIST = $(FILES) $(GENERATED_FILES) $(RESOURCES) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES) $(PC_FILES_IN)
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DLL_REFERENCES)
DISTCLEANFILES = $(GENERATED_FILES) $(build_datafiles) $(pc_files)