summaryrefslogtreecommitdiff
path: root/src/pacman/Makefile
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-17 18:52:43 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-17 18:52:43 +0000
commita1526a3e7dda31e236985ab465a5befa298eef26 (patch)
tree4087d7f60d49651ab9c4a2fa876be11935ac1bbd /src/pacman/Makefile
parent8f191f3b332823906608453aac788b6ebc870e91 (diff)
added first part of the autoconf stuff - patch from Christian Hamar <krics@linuxforum.hu>
Diffstat (limited to 'src/pacman/Makefile')
-rw-r--r--src/pacman/Makefile41
1 files changed, 0 insertions, 41 deletions
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
-