forked from public/pyceo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
490 B
21 lines
490 B
16 years ago
|
CFLAGS ?= -ggdb -Wall -O2
|
||
|
CFLAGS += -I../include
|
||
|
LDAP := -lldap
|
||
|
KADM := $(shell krb5-config --libs krb5 kadm-client)
|
||
|
|
||
|
LIBCEO := util.o common.o config.o parser.o ldap.o krb5.o kadm.o addhomedir.o
|
||
|
|
||
|
all: addmember addclub
|
||
|
|
||
|
clean:
|
||
|
rm -f addmember addclub config-test *.o
|
||
|
|
||
|
addmember: $(LIBCEO) addmember.o
|
||
|
$(CC) $(LDFLAGS) $(LDAP) $(KADM) $^ -o $@
|
||
|
|
||
|
addclub: $(LIBCEO) addclub.o
|
||
|
$(CC) $(LDFLAGS) $(LDAP) $(KADM) $^ -o $@
|
||
|
|
||
|
config-test: config-test.o parser.o util.o
|
||
|
$(CC) $(LDFLAGS) $^ -o $@
|