creating an smsc directory

Harrie Hazewinkel <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <5304101.1028732044@localhost>
Hi,

I would like to ask if people would object if I would move the files
smsc.c          smsc_cgw.c      smsc_emi.c      smsc_http.c
smsc_smpp.c     smsc_at.c       smsc_cimd.c     smsc_emi2.c
smsc_ois.c      smsc_wrapper.c  smsc_at2.c      smsc_cimd2.c
smsc_fake.c     smsc_sema.c
smsc_at2.h      smsc_sema.h

smsc/smsc.c             smsc/smsc_cimd2.c       smsc/smsc_ois.c
smsc/smsc_at.c          smsc/smsc_emi.c         smsc/smsc_sema.c
smsc/smsc_at2.c         smsc/smsc_emi2.c        smsc/smsc_smpp.c
smsc/smsc_cgw.c         smsc/smsc_fake.c        smsc/smsc_wrapper.c
smsc/smsc_cimd.c        smsc/smsc_http.c
smsc/smsc_at2.h         smsc/smsc_sema.h

into a new directory gw/smsc/

This would clean up the 'gw' directory a bit and group the sms
center modules.


The extra patch needed is in the Makefil.in:
Index: Makefile.in
===================================================================
RCS file: /home/cvs/gateway/Makefile.in,v
retrieving revision 1.61
diff -u -r1.61 Makefile.in
--- Makefile.in 9 Jul 2002 00:50:49 -0000       1.61
+++ Makefile.in 7 Aug 2002 12:51:50 -0000
@@ -73,7 +73,7 @@
 LIBSRCS=$(LIBOBJS:.o=.c)

 LIBS=@LIBS@
-CFLAGS=-D_REENTRANT=1 -I. @CFLAGS@
+CFLAGS=-D_REENTRANT=1 -I. -Igw @CFLAGS@
 LDFLAGS=@LDFLAGS@

 MKDEPEND=$(CC) $(CFLAGS) -MM
@@ -115,7 +115,7 @@
 binprogs = $(binsrcs:.c=)
 sbinprogs = $(sbinsrcs:.c=)

-gwsrcs = $(wildcard gw/*.c)
+gwsrcs = $(wildcard gw/*.c) $(wildcard gw/smsc/*c)
 gwobjs = $(gwsrcs:.c=.o)

 libsrcs = $(wildcard gwlib/*.c) $(LIBSRCS)



Harrie

Internet Management Consulting
mailto:[email protected]                http ://www.mod-snmp.com/
-------------------------------------------------------------------
Author of MOD-SNMP, enabling SNMP management to the Apache server.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.