2004-10-21 04:59:01 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
PATH_TO_TOP = ../../../reactos
|
|
|
|
|
|
|
|
include $(PATH_TO_TOP)/config
|
|
|
|
include $(PATH_TO_TOP)/rules.mak
|
|
|
|
|
|
|
|
SRV_OBJECTS = msserver.o
|
|
|
|
CLT_OBJECTS = msclient.o
|
|
|
|
|
|
|
|
PROGS = msserver.exe msclient.exe
|
|
|
|
|
|
|
|
CFLAGS = $(STD_CFLAGS)
|
|
|
|
|
2004-12-29 00:31:45 +00:00
|
|
|
LIBS = $(SDK_PATH_LIB)/libkernel32.a \
|
|
|
|
$(SDK_PATH_LIB)/libntdll.a
|
2004-10-21 04:59:01 +00:00
|
|
|
|
|
|
|
all: $(PROGS)
|
|
|
|
|
|
|
|
.phony: all
|
|
|
|
|
|
|
|
implib:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
- $(RM) *.o *.exe *.sym
|
|
|
|
|
|
|
|
.phony: implib clean
|
|
|
|
|
|
|
|
ifneq ($(BOOTCD_INSTALL),)
|
|
|
|
|
|
|
|
install: $(PROGS:%=$(INSTALL_DIR)/%)
|
|
|
|
|
|
|
|
$(PROGS:%=$(INSTALL_DIR)/%): $(INSTALL_DIR)/%: %
|
|
|
|
$(CP) $* $(INSTALL_DIR)/$*
|
|
|
|
|
|
|
|
else # BOOTCD_INSTALL
|
|
|
|
|
|
|
|
install: $(PROGS:%=$(INSTALL_DIR)/bin/%)
|
|
|
|
|
|
|
|
$(PROGS:%=$(INSTALL_DIR)/bin/%): $(INSTALL_DIR)/bin/%: %
|
|
|
|
$(CP) $* $(INSTALL_DIR)/bin/$*
|
|
|
|
|
|
|
|
endif # BOOTCD_INSTALL
|
|
|
|
|
|
|
|
msserver.exe: $(SRV_OBJECTS) $(LIBS)
|
|
|
|
$(CC) $(SRV_OBJECTS) $(LIBS) -o msserver.exe
|
|
|
|
$(NM) --numeric-sort msserver.exe > msserver.sym
|
|
|
|
|
|
|
|
msclient.exe: $(CLT_OBJECTS) $(LIBS)
|
|
|
|
$(CC) $(CLT_OBJECTS) $(LIBS) -o msclient.exe
|
|
|
|
$(NM) --numeric-sort msclient.exe > msclient.sym
|