This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / tools / rgenstat / Makefile
1 PATH_TO_TOP = ../..
2
3 TARGET=rgenstat$(EXE_POSTFIX)
4
5 all: $(TARGET)
6
7 OBJECTS = rgenstat.o llmosrt.o
8
9 CLEAN_FILES = *.o rgenstat$(EXE_POSTFIX)
10
11 HOST_CFLAGS = -I.
12
13 rgenstat.o: rgenstat.c
14         $(HOST_CC) $(HOST_CFLAGS) -c rgenstat.c -o rgenstat.o
15
16 llmosrt.o: llmosrt.c
17         $(HOST_CC) $(HOST_CFLAGS) -c llmosrt.c -o llmosrt.o
18
19 rgenstat$(EXE_POSTFIX): $(OBJECTS)
20         $(HOST_CC) $(OBJECTS) -o rgenstat$(EXE_POSTFIX)
21
22 ifeq ($(HOST),mingw32-linux)
23 clean:
24         rm -f *.o
25         rm -f rgenstat$(EXE_POSTFIX)
26 endif
27 ifeq ($(HOST),mingw32-windows)
28 clean:
29         del *.o
30         del rgenstat$(EXE_POSTFIX)
31 endif
32
33 web/apistatus.html: web/apistatus.xml web/rapistatus.xsl
34         $(XSLTPROC) -o web/apistatus.html web/rapistatus.xsl web/apistatus.xml
35
36 web: web/apistatus.html
37         -
38
39 .phony: clean web
40
41 include $(PATH_TO_TOP)/rules.mak
42
43 # EOF