Changeset 389 for server/common/oursrc


Ignore:
Timestamp:
Sep 2, 2007, 6:09:03 AM (15 years ago)
Author:
andersk
Message:
Use apxs to build Apache modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/httpdmods/Makefile.in

    r56 r389  
    1 CC = @CC@
    2 CFLAGS = -fpic -DSHARED_MODULE @CFLAGS@
    3 LDFLAGS = -Bshareable
    4 prefix = @prefix@
     1APXS = apxs
    52
    6 all-local: mod_auth_sslcert mod_authz_afsgroup
     3MODS = mod_auth_sslcert mod_authz_afsgroup
    74
    8 mod_auth_sslcert mod_authz_afsgroup:
    9         $(CC) $(CFLAGS) -c $@.c
    10         ld $(LDFLAGS) $@.o -o $@.so
     5all-local: $(patsubst %,.libs/%.so,$(MODS))
     6
     7.libs/%.so: %.c
     8        $(APXS) -c $<
    119
    1210clean:
    13         rm -f mod_auth_sslcert.*o mod_authz_afsgroup.*o
     11        rm -f .libs $(MODS:=.o) $(MODS:=.la) $(MODS:=.lo) $(MODS:=.slo)
Note: See TracChangeset for help on using the changeset viewer.