6 include $(PATH_TO_TOP
)/rules.mak
8 SRV_OBJECTS
= msserver.o
9 CLT_OBJECTS
= msclient.o
11 PROGS
= msserver.exe msclient.exe
13 CFLAGS
= $(STD_CFLAGS
)
15 LIBS
= $(SDK_PATH_LIB
)/kernel32.a \
16 $(SDK_PATH_LIB
)/ntdll.a
25 - $(RM
) *.o
*.exe
*.sym
29 ifneq ($(BOOTCD_INSTALL
),)
31 install: $(PROGS
:%=$(INSTALL_DIR
)/%)
33 $(PROGS
:%=$(INSTALL_DIR
)/%): $(INSTALL_DIR
)/%: %
34 $(CP
) $* $(INSTALL_DIR
)/$*
38 install: $(PROGS
:%=$(INSTALL_DIR
)/bin
/%)
40 $(PROGS
:%=$(INSTALL_DIR
)/bin
/%): $(INSTALL_DIR
)/bin
/%: %
41 $(CP
) $* $(INSTALL_DIR
)/bin
/$*
43 endif # BOOTCD_INSTALL
45 msserver.exe
: $(SRV_OBJECTS
) $(LIBS
)
46 $(CC
) $(SRV_OBJECTS
) $(LIBS
) -o msserver.exe
47 $(NM
) --numeric-sort msserver.exe
> msserver.sym
49 msclient.exe
: $(CLT_OBJECTS
) $(LIBS
)
50 $(CC
) $(CLT_OBJECTS
) $(LIBS
) -o msclient.exe
51 $(NM
) --numeric-sort msclient.exe
> msclient.sym