Changeset 180 for trunk/sm/Makefile.am

Show
Ignore:
Timestamp:
28/04/07 23:56:58 (19 months ago)
Author:
smoku
Message:

Dynamically loading auth/reg/storage modules. Closes #52

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sm/Makefile.am

    r175 r180  
    1 INCLUDES = -DCONFIG_DIR=\"$(sysconfdir)\" \ 
    2            -DLIBRARY_DIR=\"$(pkglibdir)\" \ 
    3                    $(MYSQL_CFLAGS) 
    4                    $(PGSQL_CFLAGS) 
     1bin_PROGRAMS = sm 
    52 
    6 bin_PROGRAMS = sm 
    73pkglib_LTLIBRARIES = mod_active.la \ 
    84                  mod_announce.la \ 
     
    2925 
    3026noinst_HEADERS = sm.h 
     27 
    3128sm_SOURCES = aci.c \ 
    3229             dispatch.c \ 
     
    4037             sm.c \ 
    4138             user.c \ 
    42              storage.c \ 
    43              storage_db.c \ 
    44              storage_fs.c \ 
    45              storage_oracle.c 
     39             storage.c  
    4640 
     41sm_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\" -DLIBRARY_DIR=\"$(pkglibdir)\" 
    4742sm_LDFLAGS = -Wl,-export-dynamic 
    4843sm_LDADD = $(top_builddir)/sx/libsx.la \ 
    4944           $(top_builddir)/mio/libmio.la \ 
    5045           $(top_builddir)/util/libutil.la \ 
    51            $(top_builddir)/subst/libsubst.la \ 
    52            $(MYSQL_LIBS)    \ 
    53            $(PGSQL_LIBS)    \ 
    54            $(SQLITE_LIBS) 
    55  
    56 if STORAGE_MYSQL 
    57 sm_SOURCES += storage_mysql.c 
    58 endif 
    59  
    60 if STORAGE_PGSQL 
    61 sm_SOURCES += storage_pgsql.c 
    62 endif 
    63  
    64 if STORAGE_SQLITE 
    65 sm_SOURCES += storage_sqlite.c 
    66 endif 
     46           $(top_builddir)/subst/libsubst.la  
    6747 
    6848mod_active_la_SOURCES = mod_active.c