2003-11-23 21:11:21 +01:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
CC = @CC@
|
2004-09-26 22:46:43 +02:00
|
|
|
CFLAGS = @CFLAGS@ @ERLANG_CFLAGS@
|
2003-11-23 21:11:21 +01:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
2004-09-26 22:46:43 +02:00
|
|
|
LIBS = @LIBS@ @ERLANG_LIBS@
|
2003-11-23 21:11:21 +01:00
|
|
|
|
|
|
|
SUBDIRS =
|
|
|
|
|
|
|
|
OUTDIR = ..
|
|
|
|
EFLAGS = -I .. -pz ..
|
|
|
|
OBJS = \
|
|
|
|
$(OUTDIR)/eldap.beam \
|
|
|
|
$(OUTDIR)/ELDAPv3.beam
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
|
|
|
|
ELDAPv3.erl: ELDAPv3.asn
|
2004-11-05 22:14:31 +01:00
|
|
|
@ERLC@ -bber_bin -W $(EFLAGS) $<
|
2003-11-23 21:11:21 +01:00
|
|
|
|
|
|
|
$(OUTDIR)/%.beam: %.erl ELDAPv3.erl
|
2004-11-05 22:14:31 +01:00
|
|
|
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
2003-11-23 21:11:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2004-05-17 22:36:41 +02:00
|
|
|
rm -f ELDAPv3.asn1db
|
|
|
|
rm -f ELDAPv3.erl
|
|
|
|
rm -f ELDAPv3.hrl
|
|
|
|
rm -f ELDAPv3.beam
|
2003-11-23 21:11:21 +01:00
|
|
|
rm -f $(OBJS)
|
|
|
|
|
2004-05-17 22:36:41 +02:00
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
|
2003-11-23 21:11:21 +01:00
|
|
|
TAGS:
|
|
|
|
etags *.erl
|
|
|
|
|