87 lines
1.7 KiB
Makefile
87 lines
1.7 KiB
Makefile
PRJ=..
|
|
PRJNAME=external
|
|
TARGET=gcc3_specific
|
|
|
|
# ------------------------------------------------------------------
|
|
.INCLUDE: settings.mk
|
|
# ------------------------------------------------------------------
|
|
|
|
|
|
.IF "$(BUILD_SPECIAL)"==""
|
|
|
|
.IF "$(GUI)" == "WNT"
|
|
|
|
.IF "$(CROSS_COMPILING)" != "YES"
|
|
# Don't do any of this weird and presumably obsolete crack when
|
|
# cross-compiling
|
|
|
|
.IF "$(COM)" == "GCC"
|
|
|
|
.IF "$(MINGW_SHARED_GCCLIB)" == "YES"
|
|
MINGWGCCDLL=$(BIN)$/$(MINGW_GCCDLL)
|
|
.ENDIF
|
|
|
|
.IF "$(MINGW_SHARED_GXXLIB)" == "YES"
|
|
MINGWGXXDLL=$(BIN)$/$(MINGW_GXXDLL)
|
|
.ENDIF
|
|
|
|
all : $(BIN)$/mingwm10.dll $(MINGWGCCDLL) $(MINGWGXXDLL)
|
|
|
|
$(BIN)$/mingwm10.dll :
|
|
$(COPY) -p $(COMPATH)$/bin$/mingwm10.dll $(BIN)$/
|
|
|
|
.IF "$(MINGW_SHARED_GCCLIB)" == "YES"
|
|
$(MINGWGCCDLL) :
|
|
$(COPY) -p $(COMPATH)$/bin$/$(MINGW_GCCDLL) $(BIN)$/
|
|
.ENDIF
|
|
|
|
.IF "$(MINGW_SHARED_GXXLIB)" == "YES"
|
|
$(MINGWGXXDLL) :
|
|
$(COPY) -p $(COMPATH)$/bin$/$(MINGW_GXXDLL) $(BIN)$/
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
.ELSE
|
|
|
|
.IF "$(SYSTEM_STDLIBS)" != "YES" && "$(COMID)"=="gcc3"
|
|
|
|
.IF "$(OS)"!="MACOSX" && "$(OS)"!="IOS" && "$(OS)"!="ANDROID" && "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && "$(OS)"!="DRAGONFLY"
|
|
|
|
.EXPORT : CC
|
|
|
|
.IF "$(OS)"=="AIX"
|
|
|
|
all .SEQUENTIAL : $(LB)$/libstdc++.a $(LB)$/libgcc_s.a
|
|
|
|
$(LB)$/libstdc++.a :
|
|
$(GCCINSTLIB) libstdc++.a $(LB)
|
|
|
|
$(LB)$/libgcc_s.a :
|
|
$(GCCINSTLIB) libgcc_s.a $(LB)
|
|
|
|
.ELSE
|
|
|
|
all .SEQUENTIAL : $(LB)$/libstdc++.so.$(SHORTSTDCPP3) $(LB)$/libgcc_s.so.$(SHORTSTDC3)
|
|
|
|
|
|
$(LB)$/libstdc++.so.$(SHORTSTDCPP3) :
|
|
$(GCCINSTLIB) libstdc++.so.$(SHORTSTDCPP3) $(LB)
|
|
|
|
$(LB)$/libgcc_s.so.$(SHORTSTDC3) :
|
|
$(GCCINSTLIB) libgcc_s.so.$(SHORTSTDC3) $(LB)
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
.ENDIF # "$(BUILD_SPECIAL)"==""
|
|
|
|
|
|
.INCLUDE: target.mk
|
|
|