From a1526a3e7dda31e236985ab465a5befa298eef26 Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Mon, 17 Oct 2005 18:52:43 +0000 Subject: added first part of the autoconf stuff - patch from Christian Hamar --- src/pacman/Makefile | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/pacman/Makefile (limited to 'src/pacman/Makefile') diff --git a/src/pacman/Makefile b/src/pacman/Makefile deleted file mode 100644 index a6b6cad2..00000000 --- a/src/pacman/Makefile +++ /dev/null @@ -1,41 +0,0 @@ - -CC=gcc -CFLAGS=-g -Wall -D_GNU_SOURCE -I. -I../.. -I../../lib/libalpm -I../../lib/libftp -LDFLAGS=-L../../lib/libalpm -lalpm -L../../lib/libftp -lftp -ltar -lz -AR=ar rc -RAN=ranlib - -OBJECTS=util.o \ - log.o \ - list.o \ - package.o \ - db.o \ - download.o \ - trans.o \ - add.o \ - remove.o \ - upgrade.o \ - query.o \ - sync.o \ - conf.o \ - pacman.o - -all: pacman - -%.o: %.c %.h - $(CC) -c $(CFLAGS) -o $@ $< - -pacman: $(OBJECTS) ../../lib/libalpm/libalpm.a ../../lib/libftp/libftp.a - $(CC) $(OBJECTS) -o $@ $(CFLAGS) $(LDFLAGS) -# $(CC) $(OBJECTS) -o $@.static $(CFLAGS) $(LDFLAGS) - -clean: - rm -f *.o *~ core - rm -f pacman pacman.static convertdb vercmp - -install: pacman vercmp convertdb - $(INSTALL) -D -m0755 pacman $(DESTDIR)$(BINDIR)/pacman - $(INSTALL) -D -m0755 pacman.static $(DESTDIR)$(BINDIR)/pacman.static - $(INSTALL) -D -m0755 vercmp $(DESTDIR)$(BINDIR)/vercmp - $(INSTALL) -D -m0755 convertdb $(DESTDIR)$(BINDIR)/convertdb - -- cgit v1.2.3-70-g09d2