VirtualBox

Ignore:
Timestamp:
Jan 12, 2010 6:10:19 PM (15 years ago)
Author:
vboxsync
Message:

xpcom/Makefile.kmk: trying to clean up XPCOMBLDPROG... done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r25787 r25788  
    223223        $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
    224224        $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd
    225 if 1 # if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.amd64)
    226  TEMPLATE_XPCOMBLDPROG_CFLAGS             = $(filter-out -pedantic -Wshadow, $(TEMPLATE_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast)
    227  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.darwin    = $(TEMPLATE_BLDPROG_CXXFLAGS.darwin)     -fpascal-strings -fshort-wchar -fno-common -fno-rtti
    228  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.solaris   = $(TEMPLATE_BLDPROG_CXXFLAGS.solaris)    -fno-omit-frame-pointer # for now anyway.
    229  TEMPLATE_XPCOMBLDPROG_LDFLAGS.darwin     = $(TEMPLATE_BLDPROG_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
    230 
    231 else
    232  ## @todo This stuff is *really* ugly.
    233  TEMPLATE_XPCOMBLDPROG_CXXFLAGS          = -ansi -Wall -Wno-non-virtual-dtor
    234  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CXXFLAGS.$(KBUILD_TARGET_ARCH))
    235  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.release  = -O
    236  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.profile  = -O
    237  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.freebsd  = -pthread
    238  TEMPLATE_XPCOMBLDPROG_CXXFLAGS.linux    = -pthread
    239  TEMPLATE_XPCOMBLDPROG_CFLAGS            = -pipe -ansi -Wall -Wno-unused
    240  TEMPLATE_XPCOMBLDPROG_CFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_CFLAGS.$(KBUILD_TARGET_ARCH))
    241  TEMPLATE_XPCOMBLDPROG_CFLAGS.release    = -O
    242  TEMPLATE_XPCOMBLDPROG_CFLAGS.profile    = -O
    243  TEMPLATE_XPCOMBLDPROG_CFLAGS.freebsd    = -pthread
    244  TEMPLATE_XPCOMBLDPROG_CFLAGS.linux      = -pthread
    245  TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET)         = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET))
    246  TEMPLATE_XPCOMBLDPROG_INCS.$(KBUILD_TARGET_ARCH)    = $(TEMPLATE_XPCOMEXE_INCS.$(KBUILD_TARGET_ARCH))
    247  TEMPLATE_XPCOMBLDPROG_LIBPATH.$(KBUILD_TARGET)      = $(TEMPLATE_XPCOMEXE_LIBPATH.$(KBUILD_TARGET))
    248  TEMPLATE_XPCOMBLDPROG_LIBPATH.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LIBPATH.$(KBUILD_TARGET_ARCH))
    249  ifeq ($(KBUILD_TARGET),darwin)
    250   TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET)     = $(filter-out $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET)),$(TEMPLATE_VBOXR3NP_LDFLAGS.$(KBUILD_TARGET))) $(TEMPLATE_VBOXBLDPROG_LDFLAGS.darwin)
    251  else
    252   TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET)     = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET))
    253  endif
    254  TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET_ARCH))
    255 endif # End of ugly stuff.
    256 TEMPLATE_XPCOMBLDPROG_ORDERDEPS         = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst)))
     225TEMPLATE_XPCOMBLDPROG_CFLAGS             = $(filter-out -pedantic -Wshadow, $(TEMPLATE_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast)
     226TEMPLATE_XPCOMBLDPROG_CXXFLAGS.darwin    = $(TEMPLATE_BLDPROG_CXXFLAGS.darwin)     -fpascal-strings -fshort-wchar -fno-common -fno-rtti
     227TEMPLATE_XPCOMBLDPROG_CXXFLAGS.solaris   = $(TEMPLATE_BLDPROG_CXXFLAGS.solaris)    -fno-omit-frame-pointer # for now anyway.
     228TEMPLATE_XPCOMBLDPROG_LDFLAGS.darwin     = $(TEMPLATE_BLDPROG_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
     229TEMPLATE_XPCOMBLDPROG_ORDERDEPS          = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst)))
    257230
    258231
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette