Subversion Repositories wimsdev

Rev

Rev 8196 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

# @configure_input@

wims_home=../..
cc=@CC@
cflags=@CFLAGS@ -Wall
defines=@DEFINES@
STRIP=@STRIP@
NETLIBS=@NETLIBS@
SETENV_OBJS=@ALLSETENV_OBJS@

all: wimsd

clean:
        rm -f wimsd *.o

distclean: clean
        rm -f $(wims_home)/bin/wimsd
        rm -f Makefile

%.o: %.c
        $(cc) -o $@ $(cflags) $(defines) -c $<
wimsd: wimsd.o $(SETENV_OBJS)
        $(cc) $(cflags) $(defines) $(NETLIBS) wimsd.o $(SETENV_OBJS) -o $@
        $(STRIP) wimsd
        rm -f $(wims_home)/bin/wimsd
        cp wimsd $(wims_home)/bin
        echo yes >$(wims_home)/log/unsecure