diff options
author | Doug Schaefer | 2007-05-04 14:57:10 +0000 |
---|---|---|
committer | Doug Schaefer | 2007-05-04 14:57:10 +0000 |
commit | 69ee033a1a50e4ff7479103059514389b69f828f (patch) | |
tree | cdec946d1318b9a46b96f31817599cf36105e4f0 /core/org.eclipse.cdt.core.win32 | |
parent | 8e63fb5452de6f2ca31f46546d912c7c1eb96c1d (diff) | |
download | org.eclipse.cdt-69ee033a1a50e4ff7479103059514389b69f828f.tar.gz org.eclipse.cdt-69ee033a1a50e4ff7479103059514389b69f828f.tar.xz org.eclipse.cdt-69ee033a1a50e4ff7479103059514389b69f828f.zip |
Move winreg into a sub directory. I'll eventually do this with all of our components and move them all to MinGW.
Diffstat (limited to 'core/org.eclipse.cdt.core.win32')
-rw-r--r-- | core/org.eclipse.cdt.core.win32/library/winreg/Makefile | 28 | ||||
-rw-r--r-- | core/org.eclipse.cdt.core.win32/library/winreg/winreg.cpp (renamed from core/org.eclipse.cdt.core.win32/library/winreg.cpp) | 0 |
2 files changed, 28 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.win32/library/winreg/Makefile b/core/org.eclipse.cdt.core.win32/library/winreg/Makefile new file mode 100644 index 00000000000..be8a06fa3e9 --- /dev/null +++ b/core/org.eclipse.cdt.core.win32/library/winreg/Makefile @@ -0,0 +1,28 @@ +ifeq ($(JAVA_HOME),) +$(warning JAVA_HOME not set in environment) +endif + +# Defaults which can be overridden. +OS = win32 +ARCH = x86 + +JDK_INCLUDES = "$(JAVA_HOME)/include" +JDK_OS_INCLUDES = "$(JAVA_HOME)/include/$(OS)" + +CXX = g++ +CXXFLAGS = -DUNICODE -I$(JDK_INCLUDES) -I$(JDK_OS_INCLUDES) + +INSTALL_DIR = ../../os/$(OS)/$(ARCH) + +TARGET = $(INSTALL_DIR)/winreg.dll +OBJS = winreg.o + +all: $(TARGET) + +rebuild: clean all + +clean : + $(RM) $(OBJS) + +$(TARGET) : $(OBJS) + $(CXX) -Wl,--kill-at -shared -o $(TARGET) $(OBJS) diff --git a/core/org.eclipse.cdt.core.win32/library/winreg.cpp b/core/org.eclipse.cdt.core.win32/library/winreg/winreg.cpp index 81367b9e47c..81367b9e47c 100644 --- a/core/org.eclipse.cdt.core.win32/library/winreg.cpp +++ b/core/org.eclipse.cdt.core.win32/library/winreg/winreg.cpp |