File: makefile

package info (click to toggle)
wp2latex 4.19~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,736 kB
  • sloc: cpp: 67,541; ansic: 11,222; asm: 10,702; makefile: 661; sh: 29
file content (100 lines) | stat: -rw-r--r-- 2,618 bytes parent folder | download | duplicates (2)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
##########################################################################
#	     The root generic makefile for wp2latex package		 #
#									 #
# Available targets are: make 		make selected modules		 #	
#                        make all	Make all + all selected modules	 #
#			 make clean	Remove all temporary files 	 #
#			 make distclean Thourough cleanup          	 #
#			 make install	Perform automatic installation   #
#                        make package   Statical build for package       #
#                        make testconv	Execute conversion test.         #
#                        make testltx	Execute conv followed by LaTeX   #
#                        make wp2latex	Make only WordPerfect modules    #
#                        make x2latex	Make all conversion modules 	 #
##########################################################################

ifeq ($(MAKE),)
MAKE=make
endif


all: cplib
	export OSTYPE && make -C ./sources.cc/ 	
	make -C ./doc/ all

default: cplib
	export OSTYPE && make -C ./sources.cc/ 

wp2latex: cplib
	export OSTYPE && make -C ./sources.cc/ TG_WP

x2latex: cplib
	export OSTYPE && make -C ./sources.cc/ TG_ALL

cplib:
	export OSTYPE && make -C ./sources.cc/cp_lib/

package:
	export OSTYPE && make -C ./sources.cc/ static

static:
	export OSTYPE && $(MAKE) -C ./sources.cc/ static
	$(MAKE) -C ./doc/ all

distclean: 
	$(MAKE) -C ./sources.cc/ distclean
	$(MAKE) -C ./instaler/ distclean
#	$(MAKE) -C ./sources.pas/ clean
	$(MAKE) -C ./doc/ distclean
	$(MAKE) -k -C ./msvc/ clean
	$(MAKE) -C ./test/ clean
	rm -f *.exe *.OBJ *.obj *.o *.bak core *.gpr *.gdt *.dvi *.aux *.log *.ent *.toc *.idx
	rm -f config.status config.h
	rm makefile
	cp makefile.gen makefile

generic:
	$(MAKE) -C ./sources.cc/ generic
	$(MAKE) -C ./instaler/ generic
	rm makefile
	cp makefile.gen makefile

clean:
	$(MAKE) -C ./sources.cc/ clean
	$(MAKE) -C ./instaler/ clean
#	$(MAKE) -C ./sources.pas/ clean
	$(MAKE) -C ./doc/ clean
	$(MAKE) -C ./msvc/ clean
	$(MAKE) -C ./test/ clean
	rm -f *.exe *.OBJ *.obj *.o *.bak core *.gpr *.gdt *.dvi *.aux *.log *.ent *.toc *.idx
	rm -f config.status config.h

install:
	instaler/install

doc:
	$(MAKE) -C ./doc/ all

test:	default
	$(MAKE) -C ./test test
	$(MAKE) -C ./sources.cc/atoms test

testltx: default
	$(MAKE) -C ./test testltx

testconv: default
	$(MAKE) -C ./test testconv



menuconfig:	instaler/menucfg.exe
	instaler/menucfg.exe sources.cc/modules.mak


#internal stuff
instaler/menucfg.exe:	instaler/menucfg.cc
instaler/menucfg.exe:	instaler/menucfg.cc
	export OSTYPE && $(MAKE) -C ./instaler/ menucfg.exe

configure: configure.in
	autoconf