2004-12-29 00:31:45 +00:00
|
|
|
# $Id: Makefile,v 1.13 2004/12/29 00:31:45 gvg Exp $
|
2000-10-04 21:04:31 +00:00
|
|
|
#
|
|
|
|
# ReactOS makefile for RegExpl
|
|
|
|
#
|
|
|
|
|
2004-10-11 01:20:13 +00:00
|
|
|
PATH_TO_TOP := ../../../reactos
|
2002-09-03 18:44:19 +00:00
|
|
|
|
|
|
|
include $(PATH_TO_TOP)/rules.mak
|
2000-10-08 10:48:10 +00:00
|
|
|
|
2000-10-04 21:04:31 +00:00
|
|
|
TARGET_NAME=regexpl
|
|
|
|
|
2002-09-09 22:36:40 +00:00
|
|
|
all: $(TARGET_NAME)$(EXE_POSTFIX)
|
2000-10-24 20:17:42 +00:00
|
|
|
|
2000-10-04 21:04:31 +00:00
|
|
|
ROS_DIR=../../../reactos
|
|
|
|
ROS_INC=$(ROS_DIR)/include
|
2001-10-16 21:02:02 +00:00
|
|
|
ROS_LIB=$(ROS_DIR)/dk/w32/lib
|
2004-12-29 00:31:45 +00:00
|
|
|
IMPORT_NTDLL=$(ROS_LIB)/libntdll.a
|
|
|
|
IMPORT_FMIFS=$(ROS_LIB)/libfmifs.a
|
|
|
|
IMPORT_KERNEL32=$(ROS_LIB)/libkernel32.a
|
|
|
|
IMPORT_ADVAPI32=$(ROS_LIB)/libadvapi32.a
|
|
|
|
IMPORT_USER32=$(ROS_LIB)/libuser32.a
|
2000-10-04 21:04:31 +00:00
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
ArgumentParser.o \
|
|
|
|
Console.o \
|
|
|
|
RegistryExplorer.o \
|
|
|
|
RegistryKey.o \
|
|
|
|
RegistryTree.o \
|
|
|
|
SecurityDescriptor.o \
|
|
|
|
ShellCommand.o \
|
|
|
|
ShellCommandChangeKey.o \
|
|
|
|
ShellCommandConnect.o \
|
|
|
|
ShellCommandDACL.o \
|
|
|
|
ShellCommandDeleteKey.o \
|
|
|
|
ShellCommandDeleteValue.o \
|
|
|
|
ShellCommandDir.o \
|
|
|
|
ShellCommandExit.o \
|
|
|
|
ShellCommandHelp.o \
|
|
|
|
ShellCommandNewKey.o \
|
|
|
|
ShellCommandOwner.o \
|
|
|
|
ShellCommandSACL.o \
|
|
|
|
ShellCommandSetValue.o \
|
|
|
|
ShellCommandValue.o \
|
|
|
|
ShellCommandVersion.o \
|
|
|
|
ShellCommandsLinkedList.o \
|
|
|
|
CrtSupplement.c \
|
|
|
|
TextHistory.o \
|
2001-01-10 01:25:29 +00:00
|
|
|
Completion.o \
|
|
|
|
Pattern.o \
|
2001-04-16 05:11:54 +00:00
|
|
|
Settings.o \
|
2004-10-11 01:20:13 +00:00
|
|
|
Prompt.o
|
2000-10-04 21:04:31 +00:00
|
|
|
|
|
|
|
CLEAN_FILES = \
|
|
|
|
*.o \
|
|
|
|
$(TARGET_NAME)$(EXE_POSTFIX) \
|
2004-10-11 01:20:13 +00:00
|
|
|
$(TARGET_NAME).sym
|
2000-10-04 21:04:31 +00:00
|
|
|
|
2004-10-11 01:20:13 +00:00
|
|
|
$(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS)
|
|
|
|
$(CXX) -Wl,--subsystem,console -o $(TARGET_NAME)$(EXE_POSTFIX) $(OBJECTS)$(IMPORT_KERNEL32) $(IMPORT_USER32)
|
2003-02-09 02:18:10 +00:00
|
|
|
$(NM) --numeric-sort $(TARGET_NAME)$(EXE_POSTFIX) > $(TARGET_NAME).sym
|
2003-01-15 19:55:29 +00:00
|
|
|
|
2000-10-04 21:04:31 +00:00
|
|
|
clean: $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
|
|
$(CLEAN_FILES:%=%_clean): %_clean:
|
|
|
|
- $(RM) $*
|
|
|
|
|
|
|
|
.phony: clean $(CLEAN_FILES:%=%_clean)
|
|
|
|
|
|
|
|
|
|
|
|
floppy: $(TARGET:%=$(FLOPPY_DIR)/apps/%)
|
|
|
|
|
|
|
|
$(TARGET:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: %
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
$(CP) $* $(FLOPPY_DIR)\apps\$*
|
|
|
|
else
|
|
|
|
$(CP) $* $(FLOPPY_DIR)/apps/$*
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
dist: $(TARGET:%=../$(DIST_DIR)/apps/%)
|
|
|
|
|
|
|
|
$(TARGET:%=../$(DIST_DIR)/apps/%): ../$(DIST_DIR)/apps/%: %
|
|
|
|
ifeq ($(DOSCLI),yes)
|
|
|
|
$(CP) $* ..\$(DIST_DIR)\apps\$*
|
|
|
|
else
|
|
|
|
$(CP) $* ../$(DIST_DIR)/apps\$*
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2003-01-15 19:55:29 +00:00
|
|
|
# EOF
|