> ifeq ($(WITH_DLL),yes)
> TTMP_LIBS := $(ALL_GUI_LIBS)
> TTMP_LIBS := $(filter -l%, $(TTMP_LIBS))
> # filter all non-static libs (static libs are those ending in _ds, _s, 
> _ps..)
> TTMP_LIBS := $(filter-out -l%_ds, $(TTMP_LIBS))
> TTMP_LIBS := $(filter-out -l%_s,  $(TTMP_LIBS))
> TTMP_LIBS := $(filter-out -l%_dps,$(TTMP_LIBS))
> TTMP_LIBS := $(filter-out -l%_ps, $(TTMP_LIBS))
> # strip away -l, _p and _d ..
> TTMP_LIBS := $(TTMP_LIBS:-l%=%)
> TTMP_LIBS := $(TTMP_LIBS:%_d=%)
> TTMP_LIBS := $(TTMP_LIBS:%_p=%)
> TTMP_LIBS := $(TTMP_LIBS:%_dp=%)
> TTMP_LIBS := $(shell echo $(TTMP_LIBS)|tr '-' '_')
> TTMP_LIBS := $(TTMP_LIBS:%=-Dlib%_ISDLL=1)
> ALL_CPPFLAGS += $(TTMP_LIBS)
> endif # WITH_DLL

Thanks - I don't have the time to factor out the code from the different
makefiles and do the windows stuff now - so I just added this code as it
is :-)


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to