cpp
This commit is contained in:
parent
cd45c04514
commit
756a79995b
@ -23,6 +23,7 @@ CC=@CC@
|
|||||||
YAP_EXTRAS=@YAP_EXTRAS@
|
YAP_EXTRAS=@YAP_EXTRAS@
|
||||||
CFLAGS= $(YAP_EXTRAS) @SHLIB_CFLAGS@ $(YAP_EXTRAS) $(DEFS) -I$(srcdir) -I../.. -I$(srcdir)/../../include -I$(srcdir)/../../H -I$(srcdir)/../../OPTYap -I$(srcdir)/../../os @MYDDAS_CPPFLAGS@
|
CFLAGS= $(YAP_EXTRAS) @SHLIB_CFLAGS@ $(YAP_EXTRAS) $(DEFS) -I$(srcdir) -I../.. -I$(srcdir)/../../include -I$(srcdir)/../../H -I$(srcdir)/../../OPTYap -I$(srcdir)/../../os @MYDDAS_CPPFLAGS@
|
||||||
LDFLAGS=@LDFLAGS@
|
LDFLAGS=@LDFLAGS@
|
||||||
|
ECPP=@ECPP@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# You shouldn't need to change what follows.
|
# You shouldn't need to change what follows.
|
||||||
@ -39,7 +40,7 @@ CWD=$(PWD)
|
|||||||
#
|
#
|
||||||
|
|
||||||
MYDDAS_HEADERS= \
|
MYDDAS_HEADERS= \
|
||||||
$(srcdir)/myddas.h $(srcdir)/myddas_structs.h \
|
$(srcdir)/myddas.h $(srcdir)/myddas_structs.h \
|
||||||
$(srcdir)/myddas_statistics.h \
|
$(srcdir)/myddas_statistics.h \
|
||||||
$(srcdir)/myddas_statistics_structs.h \
|
$(srcdir)/myddas_statistics_structs.h \
|
||||||
$(srcdir)/myddas_wkb.h $(srcdir)/myddas_wkb2prolog.h
|
$(srcdir)/myddas_wkb.h $(srcdir)/myddas_wkb2prolog.h
|
||||||
@ -58,7 +59,7 @@ MYDDAS_SOURCES= \
|
|||||||
|
|
||||||
MYDDAS_PROLOG= \
|
MYDDAS_PROLOG= \
|
||||||
myddas.ypp \
|
myddas.ypp \
|
||||||
myddas_assert_predicates.ypp \
|
myddas_assert_predicates.ypp \
|
||||||
myddas_mysql.ypp \
|
myddas_mysql.ypp \
|
||||||
myddas_sqlite3.ypp \
|
myddas_sqlite3.ypp \
|
||||||
myddas_top_level.ypp \
|
myddas_top_level.ypp \
|
||||||
@ -84,7 +85,7 @@ all: $(SOBJS) $(MYDDAS_YAP)
|
|||||||
$(CC) -c $(CFLAGS) $< -o $@
|
$(CC) -c $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
%.yap: $(srcdir)/pl/%.ypp
|
%.yap: $(srcdir)/pl/%.ypp
|
||||||
$(CPP) $(YAP_EXTRAS) -P -w $< -o $@
|
$(ECPP) $(YAP_EXTRAS) -P -w $< -o $@
|
||||||
|
|
||||||
@DO_SECOND_LD@%.@SO@: $(OBJS)
|
@DO_SECOND_LD@%.@SO@: $(OBJS)
|
||||||
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o $@ $(OBJS) @EXTRA_LIBS_FOR_DLLS@ @MYDDAS_LIBS@
|
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o $@ $(OBJS) @EXTRA_LIBS_FOR_DLLS@ @MYDDAS_LIBS@
|
||||||
|
Reference in New Issue
Block a user