mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Move winreg into a sub directory. I'll eventually do this with all of our components and move them all to MinGW.
This commit is contained in:
parent
8e63fb5452
commit
69ee033a1a
2 changed files with 28 additions and 0 deletions
28
core/org.eclipse.cdt.core.win32/library/winreg/Makefile
Normal file
28
core/org.eclipse.cdt.core.win32/library/winreg/Makefile
Normal file
|
@ -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)
|
Loading…
Add table
Reference in a new issue