2006-12-30 18:15:19 +00:00
|
|
|
diff -Nru asterisk-1.2.14.org/cdr/Makefile asterisk-1.2.14/cdr/Makefile
|
|
|
|
--- asterisk-1.2.14.org/cdr/Makefile 2006-11-16 21:29:28.000000000 +0100
|
|
|
|
+++ asterisk-1.2.14/cdr/Makefile 2006-12-27 09:10:57.000000000 +0100
|
|
|
|
@@ -111,6 +111,9 @@
|
2006-10-07 11:36:58 +00:00
|
|
|
MODS+=cdr_sqlite.so
|
|
|
|
endif
|
|
|
|
|
|
|
|
+CFLAGS += $(EXTRA_CFLAGS)
|
|
|
|
+MODS += $(EXTRA_CDR_MODULES)
|
|
|
|
+
|
|
|
|
all: depend $(MODS)
|
|
|
|
|
|
|
|
install: all
|
2006-12-30 18:15:19 +00:00
|
|
|
@@ -127,16 +130,19 @@
|
2006-10-07 11:36:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
cdr_odbc.so: cdr_odbc.o
|
|
|
|
- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc $(MLFLAGS)
|
|
|
|
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lodbc $(MLFLAGS)
|
|
|
|
|
|
|
|
cdr_tds.so: cdr_tds.o
|
|
|
|
- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -ltds $(MLFLAGS)
|
|
|
|
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -ltds $(MLFLAGS)
|
|
|
|
+
|
|
|
|
+cdr_mysql.so: cdr_mysql.o
|
|
|
|
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lmysqlclient -lz $(MLFLAGS)
|
|
|
|
|
|
|
|
cdr_pgsql.so: cdr_pgsql.o
|
|
|
|
- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lpq -lz $(MLFLAGS)
|
|
|
|
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lpq -lz $(MLFLAGS)
|
|
|
|
|
|
|
|
cdr_sqlite.so: cdr_sqlite.o
|
|
|
|
- $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lsqlite $(MLFLAGS)
|
|
|
|
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(EXTRA_LDFLAGS) -lsqlite $(MLFLAGS)
|
|
|
|
|
|
|
|
depend: .depend
|
|
|
|
|