File: vc_common_make_rules

package info (click to toggle)
festival 1%3A2.4~release-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,432 kB
  • ctags: 6,364
  • sloc: cpp: 27,729; lisp: 15,695; ansic: 6,022; sh: 5,660; java: 1,536; makefile: 769; xml: 291; perl: 87
file content (71 lines) | stat: -rw-r--r-- 1,739 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

######################################################################
#                                                                    #
# Make rules for MicroCruft Visual C++                               #
#                                                                    #
######################################################################

!include $(TOP)\config\vc_config_make_rules
!include $(TOP)\config\project.mak

.SUFFIXES: .cc .obj
CPP=cl /nologo /DSYSTEM_IS_WIN32=1 /DINSTANTIATE_TEMPLATES=1 $(MODULEFLAGS)
CC=cl /nologo /DSYSTEM_IS_WIN32=1  $(MODULEFLAGS)

default_target: $(DIRS) all
	@echo done $(DIRNAME)

all: $(ALL)

$(DIRS) x1 : FORCE
	@echo building in $(DIRNAME)\$@
	@cd $@
	@nmake /nologo /fVCMakefile
	@cd ..

FORCE: 

.vcbuildlib: $(OBJS)
	@echo add to $(INLIB) $(OBJS)
	@if EXIST $(INLIB) lib/nologo $(INLIB) $(OBJS)
	@if NOT EXIST $(INLIB) lib/nologo /out:$(INLIB) $(OBJS)
	@echo built > .vcbuildlib

.vc_add_to_lib: $(TOADD)
	lib/nologo $(ADDLIB) $(TOADD)
	@echo built > .vc_add_to_lib

.libraries:
	@echo Libraries not touched for VC++

relink: 
	@echo Links not made for Visual C++

.vc_build_scripts:
	@echo Scripts not built for Visual C++

.vc_build_manpages:
	@echo manual pages not built for Visual C++

.config_error::
	@echo Config OK

.sub_directories: $(BUILD_DIRS)
	
.remove_links:
	@echo Links not made for Visual C++
.process_scripts:
	@echo Scripts not created for VC
.process_docs:
	@echo Documentation not created for VC
.link_main:
	@echo Links not made for Visual C++

.cc.obj:
	$(CPP) $(CFLAGS) /c /Tp$*.cc /Fo$*.obj
.c.obj:
	$(CC) $(CFLAGS) /c /Tc$*.c /Fo$*.obj

# this dummy rule stops the comment in make.depend getting
# interpreted as a command... YEUCH
hack_dummy_target: