X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec08d395bd37d7446787f5539b40a8ed5283654c..a85585d595c8409fa5e51a28e60fa49428440d5e:/contrib/utils/convertrc/Makefile.in diff --git a/contrib/utils/convertrc/Makefile.in b/contrib/utils/convertrc/Makefile.in index b256d03e24..d5efdd43f5 100644 --- a/contrib/utils/convertrc/Makefile.in +++ b/contrib/utils/convertrc/Makefile.in @@ -37,15 +37,18 @@ top_srcdir = @top_srcdir@ ### Variables: ### -CONVERTRC_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ +CONVERTRC_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \ - -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CXXFLAGS) + -I$(srcdir)/../../../samples -I$(srcdir)/../../include $(CPPFLAGS) \ + $(CXXFLAGS) CONVERTRC_OBJECTS = \ + $(__convertrc_os2_lib_res) \ convertrc_convert.o \ convertrc_rc2wxr.o \ convertrc_rc2xml.o \ convertrc_wxr2xml.o \ $(__convertrc___win32rc) +DESTDIR = LIBDIRNAME = $(top_builddir)lib ### Conditionally set variables: ### @@ -105,6 +108,8 @@ COND_PLATFORM_OS2_1___convertrc___os2_emxbindcmd = $(NM) convertrc$(EXEEXT) | \ if grep -q pmwin.763 ; then emxbind -ep convertrc$(EXEEXT) ; fi @COND_PLATFORM_OS2_1@__convertrc___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___convertrc___os2_emxbindcmd) @COND_PLATFORM_WIN32_1@__convertrc___win32rc = convertrc_wxconvert_rc.o +@COND_PLATFORM_OS2_1@__convertrc_os2_lib_res = \ +@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res ### Targets: ### @@ -142,11 +147,11 @@ distclean: clean install: all install_convertrc install-strip: install - $(STRIP) $(bindir)/convertrc$(EXEEXT) + $(STRIP) $(DESTDIR)$(bindir)/convertrc$(EXEEXT) install_convertrc: - $(INSTALL_DIR) $(bindir) - $(INSTALL_PROGRAM) convertrc$(EXEEXT) $(bindir) + $(INSTALL_DIR) $(DESTDIR)$(bindir) + $(INSTALL_PROGRAM) convertrc$(EXEEXT) $(DESTDIR)$(bindir) uninstall: