diff options
author | Peter Osterlund <petero2@telia.com> | 2003-07-13 22:38:37 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:01 +0200 |
commit | 3132dd9c4082f7869844eec0695d99d9a5279f38 (patch) | |
tree | 41ccb6c2e429c4a6475d49a51fda90e5ef0ace99 | |
parent | 610374e9ff5297956b9ab870096b07817fd41e69 (diff) |
Implemented "make install".
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -10,6 +10,7 @@ TOP_X_INCLUDES = -I$(TOP)/exports/include TOP_INCLUDES = -I$(TOP) $(TOP_X_INCLUDES) INSTALLED_X = /usr/X11R6 +BINDIR = /usr/local/bin XF86SRC = $(SERVERSRC)/hw/xfree86 XF86COMSRC = $(XF86SRC)/common @@ -46,6 +47,14 @@ DRIVER = synaptics all:: $(DRIVER)_drv.o synclient +install: $(BINDIR)/synclient $(INSTALLED_X)/lib/modules/input/$(DRIVER)_drv.o + +$(BINDIR)/synclient : synclient + cp $< $@ + +$(INSTALLED_X)/lib/modules/input/$(DRIVER)_drv.o : $(DRIVER)_drv.o + cp $< $@ + $(DRIVER)_drv.o: $(OBJS) $(EXTRALIBRARYDEPS) $(RM) $@ $(LD) $(LDCOMBINEFLAGS) $(OBJS) -o $@ |