aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ccapi/unit-test/NTMakefile
blob: eb2fd53e21b997a857d5f2975ce6a1b21d82e0ef (plain)
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
# Makefile for the CCAPI Generic Server

!INCLUDE <WIN32.MAK>

CFLAGS = -I../include

CCAPI_LIB = ../lib/ccapi.lib
WINLIBS = user32.lib advapi32.lib
CCSOBJS = context.obj ccache.obj lists.obj rpc_auth.obj serv_ops.obj

all: t_lists.exe t_msg.exe t_ccache.exe t_context.exe ccapi_server.exe

t_lists.exe: t_lists.obj $(CCSOBJS) $(CCAPI_LIB)
        link -out:$@ t_lists.obj $(CCSOBJS) $(CCAPI_LIB) $(WINLIBS)

t_msg.exe: t_msg.obj $(CCSOBJS) $(CCAPI_LIB)
        link -out:$@ t_msg.obj $(CCSOBJS) $(CCAPI_LIB) $(WINLIBS)

t_ccache.exe: t_ccache.obj $(CCSOBJS) $(CCAPI_LIB)
        link -out:$@ t_ccache.obj $(CCSOBJS) $(CCAPI_LIB) $(WINLIBS)

t_context.exe: t_context.obj $(CCSOBJS) $(CCAPI_LIB)
        link -out:$@ t_context.obj $(CCSOBJS) $(CCAPI_LIB) $(WINLIBS)

ccapi_server.exe: main.obj $(CCSOBJS) $(CCAPI_LIB)
        link -out:$@ main.obj $(CCSOBJS) $(CCAPI_LIB) $(WINLIBS)

clean: 
	del *.obj *.exe