f24373b0db6d46f11beba4b411e11f4e192f82fa
[reactos.git] / reactos / dk / psx / Makefile
1 # $Id: Makefile,v 1.1 2001/12/15 11:04:26 ea Exp $
2 #
3 # PROJECT : ReactOS Operating System
4 # FILE : reactos/dk/w32/Makefile
5 # DESCRIPTION: Build the development kit for user mode application
6 # DESCRIPTION: to be run in the subsystems 6 (POSIX_GUI)
7 # DESCRIPTION: and 7 (POSIX_CUI).
8 # LICENSE : GNU GPL V2.0
9 #
10 PATH_TO_TOP=../..
11
12 include $(PATH_TO_TOP)/rules.mak
13
14
15 TARGET_FOLDER_LIB=lib
16 TARGET_FOLDER_INC=include
17
18 DTFLAGS = -k -l $@
19
20 MODULES_CORE=\
21 $(TARGET_FOLDER_LIB)/psxdll.a\
22 $(TARGET_FOLDER_LIB)/psxx.a
23
24
25 MODULES =\
26 $(MODULES_CORE)
27
28 # --- Rules ---
29
30 all: $(MODULES)
31
32 # --- CORE ---
33
34 $(TARGET_FOLDER_LIB)/psxdll.a: $(PATH_TO_TOP)/subsys/psx/lib/psxdll/misc/psxdll.def
35 $(DLLTOOL) \
36 $(DTFLAGS)\
37 -D psxdll.dll\
38 -d $(PATH_TO_TOP)/subsys/psx/lib/psxdll/misc/psxdll.def
39
40 $(TARGET_FOLDER_LIB)/psxx.a: $(PATH_TO_TOP)/subsys/psx/lib/psxx/misc/psxx.def
41 $(DLLTOOL) \
42 $(DTFLAGS)\
43 -D psxx.dll\
44 -d $(PATH_TO_TOP)/subsys/psx/lib/psxx/misc/psxx.def
45
46 # --- Service rules ---
47
48 clean:
49 - $(RM) $(TARGET_FOLDER_LIB)/*.a
50 - $(RM) $(TARGET_FOLDER_INC)/*.h
51
52 install:
53
54 dist:
55
56 #EOF
57