Go from explicit $(shell ) calls to glib-config and libIDL-config to using $LIBIDL_CFLAGS, $LIBIDL_LIBS, as set in libIDL.m4.

This commit is contained in:
mccabe%netscape.com 1999-04-23 06:18:03 +00:00
Родитель 83013ad28d
Коммит 7049d9fa76
2 изменённых файлов: 8 добавлений и 12 удалений

Просмотреть файл

@ -35,15 +35,13 @@ CSRCS = \
include $(topsrcdir)/config/config.mk
# XXX replace with proper configure test for glib
CFLAGS += $(shell @GLIB_CONFIG@ --cflags) $(shell @LIBIDL_CONFIG@ --cflags)
# LIBIDL_CFLAGS, LIBIDL_LIBS set in libIDL.m4
CFLAGS += $(LIBIDL_CFLAGS)
# seperate out to get dependancies right
# separate out to get dependancies right
LIBXPT=$(DIST)/lib/libxpt.a
# XXX need configure test
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell @GLIB_CONFIG@ --libs) \
$(shell @LIBIDL_CONFIG@ --libs)
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(LIBIDL_LIBS)
PROGS = $(OBJDIR)/xpidl

Просмотреть файл

@ -35,15 +35,13 @@ CSRCS = \
include $(topsrcdir)/config/config.mk
# XXX replace with proper configure test for glib
CFLAGS += $(shell @GLIB_CONFIG@ --cflags) $(shell @LIBIDL_CONFIG@ --cflags)
# LIBIDL_CFLAGS, LIBIDL_LIBS set in libIDL.m4
CFLAGS += $(LIBIDL_CFLAGS)
# seperate out to get dependancies right
# separate out to get dependancies right
LIBXPT=$(DIST)/lib/libxpt.a
# XXX need configure test
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(shell @GLIB_CONFIG@ --libs) \
$(shell @LIBIDL_CONFIG@ --libs)
EX_LIBS = -lIDL -L$(DIST)/bin $(LIBXPT) $(LIBIDL_LIBS)
PROGS = $(OBJDIR)/xpidl