[Asterisk-cvs] asterisk/apps Makefile,1.116,1.117
kpfleming
kpfleming
Tue Nov 1 17:01:31 CST 2005
- Previous message: [Asterisk-cvs] asterisk/cygwin - New directory
- Next message: [Asterisk-cvs] asterisk ChangeLog, 1.8, 1.9 Makefile, 1.217,
1.218 acl.c, 1.58, 1.59 ast_expr2.c, 1.5, 1.6 ast_expr2.fl,
1.7, 1.8 ast_expr2.y, 1.8, 1.9 ast_expr2f.c, 1.5,
1.6 asterisk.c, 1.188, 1.189 config.c, 1.81, 1.82 db.c, 1.25,
1.26 utils.c, 1.82, 1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv16806/apps
Modified Files:
Makefile
Log Message:
issue #4678
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/Makefile,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- Makefile 28 Oct 2005 23:52:23 -0000 1.116
+++ Makefile 1 Nov 2005 21:53:29 -0000 1.117
@@ -22,7 +22,7 @@
app_enumlookup.so app_transfer.so app_setcidnum.so app_cdr.so \
app_hasnewvoicemail.so app_sayunixtime.so app_cut.so app_read.so \
app_setcdruserfield.so app_random.so app_ices.so app_eval.so \
- app_nbscat.so app_sendtext.so app_exec.so app_sms.so \
+ app_nbscat.so app_sendtext.so app_exec.so \
app_groupcount.so app_txtcidname.so app_controlplayback.so \
app_talkdetect.so app_alarmreceiver.so app_userevent.so app_verbose.so \
app_test.so app_forkcdr.so app_math.so app_realtime.so \
@@ -63,7 +63,13 @@
endif
endif
+ifeq (${OSARCH},CYGWIN)
+CYGSOLINK=-Wl,--out-implib=lib$@.a -Wl,--export-all-symbols
+CYGSOLIB=-L.. -L. -L../res -lasterisk.dll -lres_features.so -lres_adsi.so -lres_monitor.so
+else
CFLAGS+=-fPIC
+APPS+=app_sms.so
+endif
#
# If you have UnixODBC you can use ODBC voicemail
@@ -81,10 +87,10 @@
rm -f *.so *.o look .depend
%.so : %.o
- $(CC) $(SOLINK) -o $@ $<
-
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB}
+
app_rpt.so : app_rpt.o
- $(CC) $(SOLINK) -o $@ $< -ltonezone
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -ltonezone
install: all
for x in $(APPS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
@@ -92,16 +98,16 @@
rm -f $(DESTDIR)$(MODULES_DIR)/app_qcall.so
app_curl.so: app_curl.o
- $(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
app_sql_postgres.o: app_sql_postgres.c
$(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c
app_sql_postgres.so: app_sql_postgres.o
- $(CC) $(SOLINK) -o $@ $< -L/usr/local/pgsql/lib -lpq
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -L/usr/local/pgsql/lib -lpq
app_sql_odbc.so: app_sql_odbc.o
- $(CC) $(SOLINK) -o $@ $< -lodbc
+ $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} -lodbc
look: look.c
$(CC) -pipe -O6 -g look.c -o look -lncurses
- Previous message: [Asterisk-cvs] asterisk/cygwin - New directory
- Next message: [Asterisk-cvs] asterisk ChangeLog, 1.8, 1.9 Makefile, 1.217,
1.218 acl.c, 1.58, 1.59 ast_expr2.c, 1.5, 1.6 ast_expr2.fl,
1.7, 1.8 ast_expr2.y, 1.8, 1.9 ast_expr2f.c, 1.5,
1.6 asterisk.c, 1.188, 1.189 config.c, 1.81, 1.82 db.c, 1.25,
1.26 utils.c, 1.82, 1.83
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list