From f999ca15eaffa0504e7d1cc4d0e7dc5a045b07c5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 14 May 2011 01:08:07 +0300 Subject: [PATCH] Cross-compilation support --- xml2cmp/source/finder/makefile.mk | 8 +------- xml2cmp/source/support/makefile.mk | 10 +--------- xml2cmp/source/xcd/makefile.mk | 13 +------------ xml2cmp/util/makefile.mk | 4 +--- 4 files changed, 4 insertions(+), 31 deletions(-) diff --git a/xml2cmp/source/finder/makefile.mk b/xml2cmp/source/finder/makefile.mk index c850ec764fd0..928e2a89953e 100644 --- a/xml2cmp/source/finder/makefile.mk +++ b/xml2cmp/source/finder/makefile.mk @@ -30,6 +30,7 @@ PRJ=..$/.. PRJNAME=xml2cmp TARGET=srvdepy TARGETTYPE=CUI +TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- @@ -37,15 +38,12 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk - - # --- Files -------------------------------------------------------- OBJFILES= \ $(OBJ)$/dependy.obj \ $(OBJ)$/dep_main.obj - # --- Targets ------------------------------------------------------ APP1TARGET= $(TARGET) @@ -57,11 +55,7 @@ LIBSALCPPRT=$(0) UWINAPILIB=$(0) .ENDIF - APP1LIBS= $(LB)$/$(TARGET).lib $(LB)$/x2c_xcdl.lib $(LB)$/x2c_support.lib APP1DEPN= $(LB)$/$(TARGET).lib $(LB)$/x2c_xcdl.lib $(LB)$/x2c_support.lib - .INCLUDE : target.mk - - diff --git a/xml2cmp/source/support/makefile.mk b/xml2cmp/source/support/makefile.mk index 8f0abcd5a19c..425935384075 100644 --- a/xml2cmp/source/support/makefile.mk +++ b/xml2cmp/source/support/makefile.mk @@ -30,8 +30,7 @@ PRJ=..$/.. PRJNAME=xml2cmp TARGET=x2c_support TARGETTYPE=CUI - - +TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- @@ -39,8 +38,6 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk - - # --- Files -------------------------------------------------------- OBJFILES= \ @@ -50,12 +47,7 @@ OBJFILES= \ $(OBJ)$/syshelp.obj \ $(OBJ)$/badcast.obj - - - # --- Targets ------------------------------------------------------ .INCLUDE : target.mk - - diff --git a/xml2cmp/source/xcd/makefile.mk b/xml2cmp/source/xcd/makefile.mk index cc9d2bca6aaa..ca3f7b437a8e 100644 --- a/xml2cmp/source/xcd/makefile.mk +++ b/xml2cmp/source/xcd/makefile.mk @@ -30,22 +30,18 @@ PRJ=..$/.. PRJNAME=xml2cmp TARGET=x2c_xcd TARGETTYPE=CUI +TARGETPLATFORM=BUILD LIBTARGET=NO - - # --- Settings ----------------------------------------------------- ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk - - # --- Files -------------------------------------------------------- - LIBONLYFILES=\ $(OBJ)$/cr_html.obj \ $(OBJ)$/cr_index.obj \ @@ -55,25 +51,18 @@ LIBONLYFILES=\ $(OBJ)$/xmlelem.obj \ $(OBJ)$/xmltree.obj - OBJFILES=\ $(OBJ)$/main.obj \ $(LIBONLYFILES) - LIB1TARGET=$(LB)$/$(TARGET).lib LIB1OBJFILES=\ $(OBJFILES) - LIB2TARGET=$(LB)$/$(TARGET)l.lib LIB2OBJFILES=\ $(LIBONLYFILES) - - - # --- Targets ------------------------------------------------------ - .INCLUDE : target.mk diff --git a/xml2cmp/util/makefile.mk b/xml2cmp/util/makefile.mk index 12111ef1c498..082cf1395761 100644 --- a/xml2cmp/util/makefile.mk +++ b/xml2cmp/util/makefile.mk @@ -30,6 +30,7 @@ PRJ=.. PRJNAME=xml2cmp TARGET=xml2cmp TARGETTYPE=CUI +TARGETPLATFORM=BUILD # --- Settings ----------------------------------------------------- ENABLE_EXCEPTIONS=TRUE @@ -38,7 +39,6 @@ ENABLE_EXCEPTIONS=TRUE # --- Files -------------------------------------------------------- - # --- Targets ------------------------------------------------------ APP1TARGET= $(TARGET) @@ -52,5 +52,3 @@ APP1DEPN= $(LB)$/x2c_xcd.lib $(LB)$/x2c_support.lib APP1RPATH= NONE .INCLUDE : target.mk - -