]> andersk Git - moira.git/blobdiff - dbck/Makefile.in
DESTDIR support.
[moira.git] / dbck / Makefile.in
index 4509ca8f6a92b7f651725cd01c55070c64c225a7..9e6c8ba7f68d8ff5cc1359f1cbabfd463bdf7ff5 100644 (file)
@@ -25,11 +25,13 @@ SRCTOP=@top_srcdir@
 BUILDTOP=..
 mrbindir=@mrbindir@
 
-OBJS=dbck.o fix.o phase1.o phase2.o phase3.o phase4.o
+DBCK_OBJS=dbck.o fix.o phase1.o phase2.o phase3.o phase4.o
+MEMBERS_OBJS=members.o
+OBJS= $(DBCK_OBJS) $(MEMBERS_OBJS)
 
-CFILES=dbck.c fix.c phase1.c phase2.c phase3.c phase4.c
+CFILES=dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c
 
-TARGET=dbck
+TARGET=dbck members
 
 .SUFFIXES: .pc
 
@@ -49,8 +51,17 @@ cleandir distclean: clean
 
 depend: $(CFILES)
 
-install: all
-       $(INSTALL_PROGRAM) dbck $(mrbindir)
+install:
+       $(INSTALL_PROGRAM) dbck $(DESTDIR)$(mrbindir)
+       $(INSTALL_PROGRAM) members $(DESTDIR)$(mrbindir)
+
+dbck: $(DBCK_OBJS) $(MR_LIBDEP)
+       $(CC) -o $@ $(LDFLAGS) $(DBCK_OBJS) $(LIBS)
+
+members: members.o $(MR_LIBDEP)
+       $(CC) -o $@ $(LDFLAGS) members.o $(LIBS)
+
+
+
+
 
-$(TARGET): $(OBJS) $(MR_LIBDEP)
-       $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS)
This page took 0.032362 seconds and 4 git commands to generate.